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