OFFSET
2,1
EXAMPLE
Runs of composites between brackets:
2,(4,6),7,(8,9,10,12),13,(14,15,16,18,20,21),23,(24,25,26,27,28,30,32)...
.^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
.2 comp. 4 comp. 6 comp. 7 comp. (etc.) = the sequence itself
PROG
(PARI) {m=20; k=2; v=[k]; for(j=1, m, count=0; while(count<v[j], if(!isprime(k), v=concat(v, k); count++); k++); k=nextprime(k); v=concat(v, k)); for(n=1, #v, print1(v[n], ", "))} \\ Klaus Brockhaus
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Feb 03 2006
STATUS
approved