Multiplicatively perfect numbers: Difference between revisions
m
→{{header|Raku}}: minor simplification
Thundergnat (talk | contribs) m (→{{header|Raku}}: Add a Raku example) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: minor simplification) |
||
Line 411:
printf "%8s MPNs less than %9s, %7s semiprimes.\n",
comma(my $count = +@mpn.&upto($_)), .Int.&comma,
comma $count + @primes.map(*²).&upto($_) - @
}</syntaxhighlight>
{{out}}
|