a(1)=1 and, for n>1, a(n) is the smallest positive integer such that 1+Sum_{k=a(n-1)+1..a(n)} k is prime.

A087128

a(1)=1 and, for n>1, a(n) is the smallest positive integer such that 1+Sum_{k=a(n-1)+1..a(n)} k is prime.

Terms

    a(0) =1a(1) =2a(2) =5a(3) =6a(4) =13a(5) =22a(6) =25a(7) =34a(8) =37a(9) =46a(10) =58a(11) =61a(12) =73a(13) =97a(14) =106a(15) =142a(16) =145a(17) =178a(18) =181a(19) =193a(20) =202a(21) =205a(22) =217a(23) =226a(24) =238a(25) =253a(26) =277a(27) =286a(28) =298a(29) =313

External references