In which we pine for The Good Place, while visiting The Bad Place.
In which we reach the first plateau of clever, then (unfortunately) stop climbing.
In which we search for a needle in a lendee
(or maybe a chatchka in a haystack),
and delight in some lazy CPAN comfort.
In which we see that you don't need all the Fibs, and have trouble turning 21.
TWC Task #1 - Fibonacci Digit Sum
Given an input $N, generate the first $N numbers for which the sum of their digits is a Fibonacci number.
(i.e. Generate OEIS A028840)
TWC Task #2 - Largest Square
(i.e. Generate OEIS A287298)
Given a number base, derive the largest perfect square with no repeated digits and return it as a string. (For base>10, use ‘A’..‘Z’.)
In which we see that you can spell "numbers" without an
e, and realize that
first implies an ordering.
In which we bravely overcome ambiguity, and dodge two approaches in the face of (O³).
In which Raku solutions give shape to Perl solutions, and vice versa, and then Raku does what Raku does best.
Task 1: Swap Nibbles - basic and extended solutions in Raku and Perl.
Task 2: Sequence of symbols 123 without adjacent 1’s. Solutions in Raku and Perl, then a radically different approach that I would have never discovered in anything but Raku.