RosettaCodeData/Task/Proper-divisors/Mathematica/proper-divisors-4.math

6 lines
85 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Last@SortBy[
Table[
{n, Length@ProperDivisors[n]},
{n, 1, 20000}],
Last]