a(n) = smallest positive integer not already in sequence such that the partial sum a(1)+...+a(n) is prime.
A054408
a(n) = smallest positive integer not already in sequence such that the partial sum a(1)+...+a(n) is prime.
Terms
- a(0) =2a(1) =1a(2) =4a(3) =6a(4) =10a(5) =8a(6) =12a(7) =16a(8) =14a(9) =24a(10) =30a(11) =22a(12) =18a(13) =26a(14) =34a(15) =36a(16) =20a(17) =28a(18) =38a(19) =40a(20) =32a(21) =42a(22) =46a(23) =48a(24) =44a(25) =52a(26) =56a(27) =60a(28) =54a(29) =58
External references
- oeis: A054408