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”).

A074123
Group successively larger composite numbers so that the sum of the n-th group is a multiple of n. Sequence gives group sum divided by n for the n-th group.
3
4, 3, 9, 3, 9, 3, 9, 3, 30, 33, 18, 65, 178, 46, 120, 225, 224, 175, 341, 175, 340, 121, 106, 39, 207, 251, 53, 307, 434, 291, 252, 649, 111, 1132, 372, 468, 54, 285, 541, 996, 115, 1446, 371, 1803, 424, 200, 526, 185, 488, 243, 149, 190, 55, 224, 486, 188, 170
OFFSET
1,1
FORMULA
A074120(n)/n.
EXAMPLE
(4), (6), (8, 9, 10), (12), (14, 15, 16), (18), (20, 21, 22), (24), (25, 26, 27, 28, 30, 32, 33, 34, 35), (36, 38, 39, 40, 42, 44, 45, 46), (48, 49, 50, 51), ...
MATHEMATICA
NextComposite[n_] := Block[{k = n + 1}, While[PrimeQ[k], k++ ]; k];
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 27 2002
EXTENSIONS
Edited, corrected and extended by Robert G. Wilson v, Aug 29 2002
STATUS
approved