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

2 lines
55 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
ProperDivisors[n_Integer /; n > 0] := Most@Divisors@n;