# README
https://theweeklychallenge.org/blog/perl-weekly-challenge-171/ (BUTTON) Top
[1]logo (BUTTON) * [2]Home * [3]About * [4]Chart * [5]Champions * [6]Team * [7]Challenges * [8]Perl/Review * [9]Raku/Review * [10]Recaps * [11]Blogs * [12]FAQ * [13]Contact
The Weekly Challenge - 171
Monday, Jun 27, 2022| Tags: Perl, Raku
TABLE OF CONTENTS __________________________________________________________________
-
[14]HEADLINES
-
[15]SPONSOR
-
[16]RECAP
-
[17]PERL REVIEW
-
[18]RAKU REVIEW
-
[19]CHART
-
[20]NEW MEMBERS
-
[21]GUESTS
-
[22]TASK #1: Abundant Number
-
[23]TASK #2: First-class Function
HEADLINES __________________________________________________________________
Welcome to Week #171 of the weekly challenge.
Let us all welcome another experienced Perl hacker from France, [24]Philippe Bricout. You should definitely checkout his [25]Perl solution.
Welcome back, Mark Senn and thanks for your contribution in [26]Raku.
Welcome back Cristina Heredia and thank you for your contributions in [27]Perl and [28]Python.
E. Choroba shared [29]link about his discussion he initiated on PerlMonks. It is worth taking a look, plenty of new ideas shared.
Thank you, Stephen G Lynn for sharing his first [30]blog post.
At last, I found the time to take part in the weekly challenge and shared solutions in [31]Perl, [32]Raku and [33]Python.
With regard to the 1000 days celebration update, I have reached out to the recently declared champions i.e. Alexander Pankoff, Robert DiCicco, Eric Cheung, Matthew Neleigh and Robert Ransbottom. It is likely I am going to add one more champion to the list, to be declared next week. I will give them couple of weeks to respond to my email. And then the final list would be prepared.
Good luck for the next challenge.
Blogs with Creative Title __________________________________________________________________
-
[34]The Primorial Soup by Arne Sommer.
-
[35]A Deep, Primorial Fear by Colin Crain.
-
[36]Kronecker? I hardly knew her! by Colin Crain.
-
[37]primordial matrix! by Luca Ferrari.
-
[38]Kronecker’s Primorial by Roger Bell_West.
[39]GitHub Repository Stats __________________________________________________________________
-
Commits: 26,196 (+176)
-
Pull Requests: 6,339 (+48)
-
Contributors: 199 (+2)
-
Fork: 252 (+1)
-
Stars: 140 (+2)
SPONSOR __________________________________________________________________
Our solo sponsor Pete Sergeant has been a great support to keep us motivated. We are lucky that he agreed to continue the journey with us in the year 2022. I would like to personally thank Pete and his entire team for their generosity. It would be great if we could add few more to sponsor the prize money so that we could go back and declare weekly champions as we have done in the past. I hope and wish this will become possible in 2022. The amount doesn’t have to be huge. However, it would be nice to show off bunch of supporters. If an organisation comes forward and supports us then that would be the ultimate achievement.
RECAP __________________________________________________________________
Quick recap of [40]The Weekly Challenge - 170 by Mohammad S Anwar.
PERL REVIEW __________________________________________________________________
Please check out Perl solutions review of [41]The Weekly Challenge - 165 by Colin Crain.
If you missed any past reviews then please check out the [42]collection.
RAKU REVIEW __________________________________________________________________
If you missed any past reviews then please check out the [43]collection.
CHART __________________________________________________________________
Please take a look at the [44]charts showing interesting data.
I would like to THANK every member of the team for their valuable suggestions. Please do share your experience with us.
NEW MEMBERS __________________________________________________________________
[45]Philippe Bricout, an experienced Perl hacker from France.
Please find out [46]How to contribute?, if you have any doubts.
Please try the excellent tool [47]EZPWC created by respected member Saif Ahmed of Team PWC.
GUESTS __________________________________________________________________
Please checkout the guest contributions for the [48]Week #170.
Please find [49]past solutions by respected guests. Please share your creative solutions in other languages.
Task 1: Abundant Number
Submitted by: [50]Mohammad S Anwar __________________________________________________________________
Write a script to generate first 20 Abundant Odd Numbers.
According to [51]wikipedia,
A number n for which the sum of divisors σ(n) > 2n, or,
equivalently, the sum of proper divisors (or aliquot sum) s(n) > n.
For example, 945 is the first Abundant Odd Number. Sum of divisors: 1 + 3 + 5 + 7 + 9 + 15 + 21 + 27 + 35 + 45 + 63 + 105 + 135 + 189 + 315 = 975
Task 2: First-class Function
Submitted by: [52]Mohammad S Anwar __________________________________________________________________
Create sub compose($f, $g) which takes in two parameters $f and $g as subroutine refs and returns subroutine ref i.e. compose($f, $g)->($x) = $f->($g->($x))
e.g. $f = (one or more parameters function) $g = (one or more parameters function)
$h = compose($f, $g) $f->($g->($x,$y, ..)) == $h->($x, $y, ..) for any $x, $y, ... __________________________________________________________________
Last date to submit the solution 23:59 (UK Time) Sunday 3rd July 2022. __________________________________________________________________
SO WHAT DO YOU THINK ?
If you have any suggestions or ideas then please do share with us. [53]Contact with me
Copyright: 2019 - 2022 The Weekly Challenge. Theme Design and Developed by [54]Themefisher. * * *
References
Visible links:
- https://theweeklychallenge.org/
- https://theweeklychallenge.org/
- https://theweeklychallenge.org/about
- https://theweeklychallenge.org/chart
- https://theweeklychallenge.org/champions
- https://theweeklychallenge.org/team
- https://theweeklychallenge.org/challenges
- https://theweeklychallenge.org/p5-reviews
- https://theweeklychallenge.org/p6-reviews
- https://theweeklychallenge.org/recaps
- https://theweeklychallenge.org/blogs
- https://theweeklychallenge.org/faq
- https://theweeklychallenge.org/contact
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#HEADLINES
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#SPONSOR
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#RECAP
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#PERLREVIEW
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#RAKUREVIEW
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#CHART
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#NEWMEMBERS
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#GUESTS
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#TASK1
- https://theweeklychallenge.org/blog/perl-weekly-challenge-171/#TASK2
- https://github.com/brxfork
- https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-170/brxfork/perl/ch-1.sh
- https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-170/mark-senn/raku/ch-1.raku
- https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-170/cristian-heredia/perl/ch-1.pl
- https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-170/cristian-heredia/python/ch-1.py
- https://www.perlmonks.org/?node_id=11144888
- https://thiujiac.blogspot.com/2022/06/pwc-170.html
- https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-170/mohammad-anwar/perl/ch-1.pl
- https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-170/mohammad-anwar/raku/ch-1.raku
- https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-170/mohammad-anwar/python/ch-1.py
- https://raku-musings.com/primorial-product.html
- https://colincrain.com/2022/06/24/a-deep-primorial-fear
- https://colincrain.com/2022/06/24/kronecker-i-hardly-knew-her
- https://fluca1978.github.io/2022/06/20/PerlWeeklyChallenge170.html
- https://blog.firedrake.org/archive/2022/06/The_Weekly_Challenge_170__Kronecker_s_Primorial.html
- https://github.com/manwar/perlweeklychallenge-club
- https://theweeklychallenge.org/blog/recap-challenge-170
- https://theweeklychallenge.org/blog/review-challenge-165
- https://theweeklychallenge.org/p5-reviews
- https://theweeklychallenge.org/p6-reviews
- https://theweeklychallenge.org/chart
- https://github.com/brxfork
- https://theweeklychallenge.org/blog/how-to-contribute
- https://github.com/saiftynet/EZPWC
- https://theweeklychallenge.org/blog/guest-contribution/#170
- https://theweeklychallenge.org/blog/guest-contribution
- http://www.manwar.org/
- https://en.wikipedia.org/wiki/Abundant_number
- http://www.manwar.org/
- https://theweeklychallenge.org/contact
- http://www.Themefisher.com/
Hidden links: 56. https://twitter.com/PerlWChallenge 57. https://theweeklychallenge.org/rss.xml 58. https://www.nomtimes.co.uk/site/shop.do?cref=PerlBooks