Start with the list {1}; for each n >= 1, append p(n) primes followed by c(n) composite numbers, where p(n) is the n-th prime and c(n) is the n-th composite number.

A138561

Start with the list {1}; for each n >= 1, append p(n) primes followed by c(n) composite numbers, where p(n) is the n-th prime and c(n) is the n-th composite number.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =4a(4) =6a(5) =8a(6) =9a(7) =5a(8) =7a(9) =11a(10) =10a(11) =12a(12) =14a(13) =15a(14) =16a(15) =18a(16) =13a(17) =17a(18) =19a(19) =23a(20) =29a(21) =20a(22) =21a(23) =22a(24) =24a(25) =25a(26) =26a(27) =27a(28) =28a(29) =31

External references