Carmichael 3 strong pseudoprimes: Difference between revisions
m
Fix Perl 6 -> Raku in comments
m (→{{header|zkl}}: fix bare tag) |
Thundergnat (talk | contribs) m (Fix Perl 6 -> Raku in comments) |
||
Line 2,443:
(formerly Perl 6)
{{works with|Rakudo|2015.12}}
An almost direct translation of the pseudocode. We take the liberty of going up to 67 to show we aren't limited to 32-bit integers. (
<lang perl6>for (2..67).grep: *.is-prime -> \Prime1 {
for 1 ^..^ Prime1 -> \h3 {
|