a(n) = smallest integer >=a(n-1) such that sum of first n terms is prime.

A078706

a(n) = smallest integer >=a(n-1) such that sum of first n terms is prime.

Terms

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

External references