OFFSET
0,2
MATHEMATICA
t = {}; s = 1; c = 0; Do[s = s*i; c += 1; If[PrimeQ[s + 2], AppendTo[t, i - 2*(c - 1)]; s = 1; c = 0], {i, 1, 570, 2}]; t (* Jayanta Basu, Jul 07 2013 *)
PROG
(PARI) print1("1, "); p=1; c=3; for(n=1, 80, while(!isprime(p+2), p=p*c; c=c+2); print1(c", "); p=c; c=c+2)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 12 2002
EXTENSIONS
Edited by Ralf Stephan, Mar 26 2003
STATUS
approved