OFFSET
1,1
COMMENTS
Essentially the same as A210147 with s=p, t-s=q. - R. J. Mathar, Aug 09 2019
EXAMPLE
6 is in the sequence since there are numbers s=2 and t=4 such that s + t = 6 with s < t, and where s=2 and t-s = 4-2 = 2 are both prime.
7 is in the sequence since there are numbers s=3 and t=5 such that s + t = 7 with s < t and where s=3 and t-s = 5-3 = 2 are both prime.
MATHEMATICA
Flatten[Table[If[Sum[(PrimePi[i] - PrimePi[i - 1]) (PrimePi[n - 2 i] - PrimePi[n - 2 i - 1]), {i, Floor[n/2]}] > 0, n, {}], {n, 100}]]
PROG
(PARI) isok(k) = {forprime (s=1, k, if (((t = k - s) > s) && isprime(t-s), return (1)); ); } \\ Michel Marcus, Jul 20 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jul 19 2019
STATUS
approved