Smarandache-Wellin primes: Difference between revisions
m
→{{header|Raku}}: Whoops, overlooked zero
Thundergnat (talk | contribs) m (→{{header|Raku}}: Add a Raku example) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: Whoops, overlooked zero) |
||
Line 39:
sink @Smarandache-Whellen[1500]; # pre-reify for concurrency
sub derived ($n) { my %digits = $n.comb.Bag; (
sub abbr ($_) { .chars < 41 ?? $_ !! .substr(0,20) ~ '…' ~ .substr(*-20) ~ " ({.chars} digits)" }
Line 67:
Smarandache-Whellen derived primes:
Index:
Index:
Index:
Index:
Index:
Index:
Index:
Index:
Index:
Index:
=={{header|Wren}}==
|