OFFSET
1,2
COMMENTS
This is a permutation of the positive integers. See A232805 for the variant starting with a prime.
LINKS
M. F. Hasler, in reply to E. Angelini, Self-describing chunks of primes, SeqFan list, Nov 30 2013
PROG
(PARI) {N -> my(a=[1], c=1, i=1, p=1); while(#a<N, a=concat(a, p=nextprime(p+1)); for(j=1, a[i++], while(isprime(c++), ); a=concat(a, c))); a}
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
M. F. Hasler, Nov 30 2013
STATUS
approved