login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A232805 a(n) is the length of the n-th chunk of nonprimes in this sequence, the chunks being separated by primes; lexicographically least such sequence starting with a prime. 2
2, 1, 4, 3, 6, 5, 8, 9, 10, 12, 7, 14, 15, 16, 11, 18, 20, 21, 22, 24, 25, 13, 26, 27, 28, 30, 32, 17, 33, 34, 35, 36, 38, 39, 40, 42, 19, 44, 45, 46, 48, 49, 50, 51, 52, 54, 23, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 29, 68, 69, 70, 72, 74, 75, 76, 77 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Another self-describing sequence invented by E. Angelini. Conjectured to be a permutation of the positive integers.

The position of the primes are given in A232807.

See A232846 for the lexicographically smaller variant starting with a nonprime.

LINKS

Table of n, a(n) for n=1..66.

E. Angelini, Self-describing chunks of primes, SeqFan list, Nov 30 2013

PROG

(PARI) a=[]; i=p=c=0; while(#a<99, a=concat(a, p=nextprime(p+1)); for(j=1, a[i++], while(isprime(c++), ); a=concat(a, c)); a

CROSSREFS

Cf. A232807, A232846.

Sequence in context: A282651 A282665 A320283 * A073672 A306230 A071065

Adjacent sequences:  A232802 A232803 A232804 * A232806 A232807 A232808

KEYWORD

nonn

AUTHOR

M. F. Hasler and Eric Angelini, Nov 30 2013

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 06:13 EDT 2021. Contains 347623 sequences. (Running on oeis4.)