Self-describing sequence : 1 prime between two nonprimes, then 2 primes between two nonprimes, then 4 primes, then 5, then 7, etc. The quantity of primes in each run is given by the sequence itself. (Sequence is strictly increasing and the smallest next available nonprime is used when needed).

A114147

Self-describing sequence : 1 prime between two nonprimes, then 2 primes between two nonprimes, then 4 primes, then 5, then 7, etc. The quantity of primes in each run is given by the sequence itself. (Sequence is strictly increasing and the smallest next available nonprime is used when needed).

Terms

    a(0) =1a(1) =2a(2) =4a(3) =5a(4) =7a(5) =8a(6) =11a(7) =13a(8) =17a(9) =19a(10) =20a(11) =23a(12) =29a(13) =31a(14) =37a(15) =41a(16) =42a(17) =43a(18) =47a(19) =53a(20) =59a(21) =61a(22) =67a(23) =71a(24) =72a(25) =73a(26) =79a(27) =83a(28) =89a(29) =97

External references