OFFSET
1,2
EXAMPLE
Runs of primes are between brackets:
1,(2),4,(5,7),8,(11,13,17,19),20,(23,29,31,37,41),42,(43,47,53,59,61,67,71)
.^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
1 prime 2 pr. 4 primes 5 primes 7 primes (etc.) = the sequence itself
PROG
(PARI) {m=10; k=1; v=[k]; for(j=1, m, for(count=1, v[j], k=nextprime(k+1); v=concat(v, k)); while(isprime(k), k++); v=concat(v, k)); for(n=1, #v, print1(v[n], ", "))} \\ Klaus Brockhaus
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
STATUS
approved