OFFSET
1,4
MATHEMATICA
Table[Module[{p = 2, q},
While[True, q = 2 n - p; If[PrimeQ[p] && PrimeQ[q], Break[]];
p = NextPrime[p]]; PrimePi[q] - PrimePi[p]], {n, 2, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Eduardo Beleza Yamagishi, Nov 14 2024
STATUS
approved