Smallest square that begins with n: Difference between revisions

m
→‎{{header|Raku}}: self-ref: alternative haystack
m (→‎{{header|Raku}}: use × for math op. to disambiguate from adjacent 'whatever')
m (→‎{{header|Raku}}: self-ref: alternative haystack)
Line 140:
my @needles = (1..49);
my @haystack = (1..*) Z× (1..*);
# my @haystack = ( 1, 4, -> \a, \b { 2*b - a + 2 } ... * );
for @needles -> \needle {
for @haystack -> \hay {
353

edits