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

A161958
a(n) = smallest composite number which is the sum of n consecutive composite numbers.
0
4, 10, 18, 27, 45, 49, 63, 78, 94, 112, 132, 153, 175, 220, 224, 250, 301, 305, 335, 396, 400, 434, 469, 505, 543, 582, 622, 664, 708, 753, 799, 847, 896, 946, 1045, 1099, 1154, 1158, 1214, 1271, 1329, 1389, 1510, 1514, 1578, 1643, 1773, 1842, 1846, 1916, 1988
OFFSET
1,1
EXAMPLE
a(7) = 4 + 6 + 8 + 9 + 10 + 12 + 14 = 63.
PROG
(Magma) C:=[ k: k in [4..1000] | not IsPrime(k) ]; find:=function(n) j:=0; repeat j+:=1; s:=&+[ C[i]: i in [j..n+j-1] ]; until not IsPrime(s); return s; end function; [ find(n): n in [1..51] ]; // Klaus Brockhaus, Jun 27 2009
CROSSREFS
Cf. A002808 (composite numbers).
Sequence in context: A048218 A172484 A009876 * A013921 A217748 A028552
KEYWORD
nonn
AUTHOR
Claudio Meller, Jun 22 2009
EXTENSIONS
Values through a(51) verified by Klaus Brockhaus, Jun 27 2009
STATUS
approved