The Weekly Challenge - 177

Monday, Aug 8, 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: Damm Algorithm

10. TASK #2: Palindromic Prime Cyclops


HEADLINES


Welcome to Week #177 of the weekly challenge.

Please checkout the interview with our champion PokGoPun.

I forgot to mention that Dave Cross is back in action last week. Two weeks in a row, Week 175 and Week 176, incredible. Thank You.

Laurent Rosenfeld, thank you for the maximum guest contributions, 21 solutions in 16 different languages.

Altogether we received 85 solutions by 17 contributors.

Cheok-Yin Fung sharing solutions in Raku for the first time. Well done.

W. Luis Mochan also shared solutions in Emacs Lisp for the first time. It was his first guest contributions, congratulations.

I was fortunate to share solutions in Perl, Raku, Python, Java and Swift once again.


Task #1: Permuted Multiples



Permuted Multiples


Task #2: Reversible Numbers



Reversible Numbers


TOP 10 Guest Languages


 1. Python  (1047)
 2. Haskell (482)
 3. Lua     (366)
 4. Ruby    (366)
 5. C++     (256)
 6. C       (255)
 7. Go      (210)
 8. Rust    (209)
 9. Node.js (191)
10. Awk     (183)

Last but not the least, I have received the delivery of 40 T-shirts now.


Box of T-shirts


I have now placed the order for 50 mailing bags.


Mailing Bags



Blogs with Creative Title


1. Permuted Reversibles by Arne Sommer.

2. Mixed Up and Multiplied by Colin Crain.

3. Drive It In Reverse, Then. Done. by Colin Crain.

4. scrumbled numbers by Luca Ferrari.

5. Reversible Permutations by Roger Bell_West.

6. Big number, small numbers by Simon Green.


GitHub Repository Stats


1. Commits: 27,108 (+150)

2. Pull Requests: 6,568 (+41)

3. Contributors: 201

4. Fork: 254 (+1)

5. Stars: 143



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 - 176 by Mohammad S Anwar.


PERL REVIEW


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 #176.

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


Task 1: Damm Algorithm

Submitted by: Mohammad S Anwar

You are given a positive number, $n.

Write a script to validate the given number against the included check digit.

Please checkout the wikipedia page for information.

Example 1

Input: $n = 5724
Output: 1 as it is valid number

Example 2

Input: $n = 5727
Output: 0 as it is invalid number

Task 2: Palindromic Prime Cyclops

Submitted by: Mohammad S Anwar

Write a script to generate first 20 Palindromic Prime Cyclops Numbers.


A cyclops number is a number with an odd number of digits that has a zero in the center only.


Output

101, 16061, 31013, 35053, 38083, 73037, 74047, 91019, 94049,
1120211, 1150511, 1160611, 1180811, 1190911, 1250521, 1280821,
1360631, 1390931, 1490941, 1520251


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


SO WHAT DO YOU THINK ?

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

Contact with me