Powerful numbers: Difference between revisions
m
→{{header|Perl 6}}: remove some superstitious parenthesis, do prefix rather than postfix increment
Thundergnat (talk | contribs) (→{{header|Perl 6}}: slightly off in the nth root calculation) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: remove some superstitious parenthesis, do prefix rather than postfix increment) |
||
Line 363:
sub p (\m, \r) {
if r < k {
enumerate ?? @powerful.push(m) !!
return
}
|