a(1) = 2; a(n+1) = smallest composite number not in the sequence such that the sum of all the terms is prime.

A068632

a(1) = 2; a(n+1) = smallest composite number not in the sequence such that the sum of all the terms is prime.

Terms

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

External references