From mark at purdue.edu Sat Mar 5 13:47:45 2022 From: mark at purdue.edu (Mark Senn) Date: Sat, 05 Mar 2022 16:47:45 -0500 Subject: [Purdue-pm] my Weekly Challenge solutions Message-ID: <32166.1646516865@pier.ecn.purdue.edu> Purdue Perl Mongers, Idea: do these problems in your favorite programming language and decide if you should learn Perl 6. Below are my solutions to this week's The Weekly Challenge. I used Raku (formerly known as Perl 6) for the solutions. Given a list of permutations, print all missing permutations. https://engineering.purdue.edu/~mark/twc-154-1.pdf Print the first 10 prime Padovan prime numbers. https://engineering.purdue.edu/~mark/twc-154-2.pdf -mark From mark at purdue.edu Sat Mar 12 16:42:44 2022 From: mark at purdue.edu (Mark Senn) Date: Sat, 12 Mar 2022 19:42:44 -0500 Subject: [Purdue-pm] solutions to The Weekly Challenge Message-ID: <35263.1647132164@pier.ecn.purdue.edu> Purdue Perl Mongers, Below are my solutions to this week's The Weekly Challenge. I used Raku (formerly known as Perl 6) for the solutions. Print the first 8 Fortunate Numbers (unique and sorted). https://engineering.purdue.edu/~mark/twc-155-1.pdf Print the period of the 3rd Pisano Period. This has more comments about how Raku works than usual. https://engineering.purdue.edu/~mark/twc-155-2.pdf -mark From mark at purdue.edu Sun Mar 20 20:14:44 2022 From: mark at purdue.edu (Mark Senn) Date: Sun, 20 Mar 2022 23:14:44 -0400 Subject: [Purdue-pm] my Raku Weekly Challenge Solutions Message-ID: <45277.1647832484@pier.ecn.purdue.edu> >From http://wiki.c2.com/?PerlGolf: Perl Golf is a game where one attempts to write the shortest Perl program to accomplish some goal. I'm not playing Perl golf in the first solution. The clearest solution I could think of was 90 character one line program. Pernicious Numbers https://engineering.purdue.edu/~mark/twc-156-1.pdf Weird Number https://engineering.purdue.edu/~mark/twc-156-2.pdf -mark