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