OFFSET
0,1
COMMENTS
a(k+1)-a(k)=4 has no solutions.
MATHEMATICA
t = {}; s = 1; c = 0; Do[s = s*i; c += 1; If[PrimeQ[s + 1], AppendTo[t, i - 2*(c - 1)]; s = 1; c = 0], {i, 2, 1000, 2}]; t (* Jayanta Basu, Jul 07 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 12 2002
EXTENSIONS
More terms from Felice Russo, Oct 11 2002
STATUS
approved