|
|
A053781
|
|
Numbers k that divide the sum of the first k composite numbers.
|
|
4
|
|
|
1, 2, 3, 7, 11, 71, 107, 115, 139, 155, 681, 1671, 4876, 21464, 30046, 311271, 788749, 10893662, 20743270, 134568163, 163879554, 920161004, 6364787032, 21400458779, 47934932406, 56133884369, 288050185452, 536023681676, 1484061538595
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
c = s = 0; Do[ If[ !PrimeQ[n], c++; s = s + n; If[ Mod[s, c] == 0, Print[c]]], {n, 2, 10^9}] (* Robert G. Wilson v, Nov 23 2004 *)
|
|
PROG
|
(PARI) lista(nn) = {s = 0; n = 0; forcomposite(c=0, nn, s += c; n++; if (! (s % n), print1(n, ", ")); ); } \\ Michel Marcus, Mar 15 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|