The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

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).