Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,31 @@
|
|||
ClearAll[AbundantQ]
|
||||
AbundantQ[n_] := TrueQ[Greater[Total @ Most @ Divisors @ n, n]]
|
||||
res = {};
|
||||
i = 1;
|
||||
While[Length[res] < 25,
|
||||
If[AbundantQ[i],
|
||||
AppendTo[res, {i, Total @ Most @ Divisors @ i}];
|
||||
];
|
||||
i += 2;
|
||||
];
|
||||
res
|
||||
|
||||
res = {};
|
||||
i = 1;
|
||||
While[Length[res] < 1000,
|
||||
If[AbundantQ[i],
|
||||
AppendTo[res, {i, Total @ Most @ Divisors @ i}];
|
||||
];
|
||||
i += 2;
|
||||
];
|
||||
res[[-1]]
|
||||
|
||||
res = {};
|
||||
i = 1000000001;
|
||||
While[Length[res] < 1,
|
||||
If[AbundantQ[i],
|
||||
AppendTo[res, {i, Total @ Most @ Divisors @ i}];
|
||||
];
|
||||
i += 2;
|
||||
];
|
||||
res
|
||||
Loading…
Add table
Add a link
Reference in a new issue