A258035 Smallest prime number p such that p + pssq(1), p + pssq(2), ... p + pssq(n) are all prime but p+pssq(n+1) is not, where pssq(n) is the partial sum of the square of the proper terms of the primorial (A189997(n)-1).
2, 37, 3, 7, 13, 277, 2617, 43, 2924263, 300999679, 631112173, 1368737917, 4428230508349
Offset: 0
Examples
a(3) = 7 because 7 + 4, 7 + 40 and 7 + 940 are primes, but 7 + 45040 = 107 * 421 is not.
Links
- Carlos Rivera's Prime Puzzles, Prime Generating Non-Polynomials