a(1)=1, a(n) = smallest positive integer not included earlier such that the partial sums of a(A000040) are prime and the partial sums of a(A002808) are composite.

A083179

a(1)=1, a(n) = smallest positive integer not included earlier such that the partial sums of a(A000040) are prime and the partial sums of a(A002808) are composite.

Terms

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

External references