RosettaCodeData/Task/Proper-divisors/Mathematica/proper-divisors-4.math
2023-07-01 13:44:08 -04:00

5 lines
85 B
Text

Last@SortBy[
Table[
{n, Length@ProperDivisors[n]},
{n, 1, 20000}],
Last]