OFFSET
1,2
COMMENTS
A variant of A050247 for nonprimes.
EXAMPLE
A129749(4) = 44; sum of first 44 nonprimes is 1452, so a(4) = 1452.
PROG
(Magma) S:=[]; a:=0; c:=0; for n in [1..20000000] do if not IsPrime(n) then a+:=n; c+:=1; if a mod c eq 0 then Append(~S, a); end if; end if; end for; S;
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Aug 11 2009
EXTENSIONS
a(16)-a(19) from Donovan Johnson, Sep 19 2009
a(20) from Donovan Johnson, Jun 21 2011
STATUS
approved