Rosettacode tasks in Perl 6
More
Search
Ctrl + K
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
11 months ago