a(n) = smallest prime of the form k*n+s(n) where s(n) is the sum of the first n primes, or a(n) = 0 if no such prime exists.

A161490

a(n) = smallest prime of the form k*n+s(n) where s(n) is the sum of the first n primes, or a(n) = 0 if no such prime exists.

Terms

    a(0) =3a(1) =7a(2) =13a(3) =29a(4) =43a(5) =47a(6) =79a(7) =101a(8) =109a(9) =139a(10) =193a(11) =233a(12) =251a(13) =337a(14) =373a(15) =397a(16) =457a(17) =0a(18) =587a(19) =659a(20) =733a(21) =857a(22) =0a(23) =0a(24) =0a(25) =1187a(26) =1291a(27) =1399a(28) =1567a(29) =0

External references