The Weekly Challenge - 173

Monday, Jul 11, 2022| Tags: Perl, Raku

TABLE OF CONTENTS


01. HEADLINES

02. SPONSOR

03. RECAP

04. PERL REVIEW

05. RAKU REVIEW

06. CHART

07. NEW MEMBERS

08. GUESTS

09. TASK #1: Esthetic Number

10. TASK #2: Sylvester’s sequence


HEADLINES


Welcome to Week #173 of the weekly challenge.

I nominate, Ryan Thompson for the signed copy of Learning Perl, 8th edition by brian d foy. Next week, we are going to have one more nomination.

After a very long time, I finally managed to find time for both tasks in Perl, Raku and Python. There is still something that I have been looking forward to do i.e. YouTube Video live coding. You can watch my past videos in the dedicated YouTube Channel.

As we declared PokGoPun last week, champion of the weekly challenge, I have sent an email to him requesting his details. Hopefully we will have altogether 39 champions, assuming we get the confirmation from PokGoPun soon. The total number T-shirts to be ordered is going to be 40.

Good luck for the next challenge.


Blogs with Creative Title


1. Partition the Summary by Adam Russell.

2. Primary Five by Arne Sommer.

3. Five Finger Stat Punch by Colin Crain.

4. Tricky partitions and easy stats by Peter Campbell Smith.

5. Partition of Five by Roger Bell_West.


GitHub Repository Stats


1. Commits: 26,507 (+156)

2. Pull Requests: 6,412 (+33)

3. Contributors: 199

4. Fork: 252

5. Stars: 141



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 The Weekly Challenge - 172 by Mohammad S Anwar.


PERL REVIEW


Please check out Perl solutions review of The Weekly Challenge - 166 by Colin Crain.

If you missed any past reviews then please check out the collection.


RAKU REVIEW


If you missed any past reviews then please check out the collection.


CHART


Please take a look at the 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


Please find out How to contribute?, if you have any doubts.

Please try the excellent tool EZPWC created by respected member Saif Ahmed of Team PWC.


GUESTS


Please checkout the guest contributions for the Week #172.

Please find past solutions by respected guests. Please share your creative solutions in other languages.


Task 1: Esthetic Number

Submitted by: Mohammad S Anwar

You are given a positive integer, $n.

Write a script to find out if the given number is Esthetic Number.


An esthetic number is a positive integer where every adjacent digit differs from its neighbour by 1.


For example,

5456 is an esthetic number as |5 - 4| = |4 - 5| = |5 - 6| = 1
120 is not an esthetic numner as |1 - 2| != |2 - 0| != 1

Task 2: Sylvester’s sequence

Submitted by: Mohammad S Anwar

Write a script to generate first 10 members of Sylvester's sequence. For more informations, please refer to the wikipedia page.


Output

2
3
7
43
1807
3263443
10650056950807
113423713055421844361000443
12864938683278671740537145998360961546653259485195807
165506647324519964198468195444439180017513152706377497841851388766535868639572406808911988131737645185443


Last date to submit the solution 23:59 (UK Time) Sunday 17th July 2022.


SO WHAT DO YOU THINK ?

If you have any suggestions or ideas then please do share with us.

Contact with me