Search: id:A161958 Results 1-1 of 1 results found. %I A161958 %S A161958 4,10,18,27,45,49,63,78,94,112,132,153,175,220,224,250,301,305,335,396, %T A161958 400,434,469,505,543,582,622,664,708,753,799,847,896,946,1045,1099,1154, %U A161958 1158,1214,1271,1329,1389,1510,1514,1578,1643,1773,1842,1846,1916,1988 %N A161958 a(n) = smallest composite number which is the sum of n consecutive composite numbers. %e A161958 a(7) = 4 + 6 + 8 + 9 + 10 + 12 + 14 = 63. %o A161958 (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] ]; [From Klaus Brockhaus, Jun 27 2009] %Y A161958 Cf. A002808 (composite numbers). %Y A161958 Sequence in context: A073621 A048218 A009876 this_sequence A013921 A028552 A009877 %Y A161958 Adjacent sequences: A161955 A161956 A161957 this_sequence A161959 A161960 A161961 %K A161958 nonn %O A161958 1,1 %A A161958 Claudio L Meller (claudiomeller(AT)gmail.com), Jun 22 2009 %E A161958 Values through a(51) verified by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun 27 2009 Search completed in 0.001 seconds