login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A074128
Group successively larger prime numbers so that the sum of the n-th group is a multiple of n. Sequence gives the sum for each group.
4
2, 8, 18, 72, 60, 78, 553, 1336, 4743, 4370, 726, 1524, 14027, 2380, 6330, 24800, 9214, 5886, 19038, 2240, 25515, 5192, 46138, 9456, 42125, 10842, 56619, 103068, 170868, 85140, 55149, 88800, 7062, 42908, 199360, 24444, 87949, 301188, 1110057
OFFSET
1,1
MATHEMATICA
NextPrime[n_] := Block[{k = n + 1}, While[ !PrimeQ[k], k++ ]; k]; a = {}; k = 1; Do[s = 0; While[k = NextPrime[k]; s = s + k; !IntegerQ[s/n], ]; a = Append[a, s], {n, 1, 40}]; a
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 27 2002
EXTENSIONS
(2), (3, 5), (7, 11), (13, 17, 19, 23), (29, 31), (37, 41), (43, 47, 53, 59, 61, 67, 71, 73, 79), (83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139), (149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, ..., 269), ...
Edited, corrected and extended by Robert G. Wilson v, Aug 29 2002
STATUS
approved