a(1)=1, a(n) = smallest positive integer not included earlier such that the n-th partial sum is a prime iff n is a prime.

A073885

a(1)=1, a(n) = smallest positive integer not included earlier such that the n-th partial sum is a prime iff n is a prime.

Terms

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

External references