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

A083181

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

Terms

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

External references