Rosettacode tasks in Perl 6
Search...
Ctrl
K
Last updated
1 year ago
Was this helpful?
Copy
sub factors (Int $n) { (1..$n).grep($n %% *) }
Programming tasks
F
Factors of an integer
Previous
Factors of a Mersenne number
Next
Fairshare between two and more