OFFSET
2,4
COMMENTS
A dual sequence to A243154. The sequence contains a unique zero term. Indeed, every prime p>3 has the form 3*k +/- 1. So, p^2 + 2 == 0 (mod 3).
MATHEMATICA
skp[n_]:=Module[{c=Prime[n], k=0}, While[!PrimeQ[c*Prime[n+k]+2], k++]; k]; Array[ skp, 90, 2] (* Harvey P. Dale, May 08 2021 *)
PROG
(PARI) vector(200, n, k=0; while(!isprime(prime(n+1)*prime(n+1+k)+2), k++); k) \\ Colin Barker, May 31 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, May 31 2014
EXTENSIONS
More terms from Colin Barker, May 31 2014
STATUS
approved