OFFSET
1,2
EXAMPLE
For 1, 3, 5, 7: 1+2 = 3, 1*3+2 = 5, 1*3*5+2 = 17, 1*3*5*7+2 = 107 are primes. - Daniel Forgues, Dec 20 2012
MATHEMATICA
f[s_List] := Block[{k = 1, p = Times @@ s}, While[ MemberQ[s, k] || !PrimeQ[k*p + 2], k += 2]; Append[s, k]]; Nest[f, {1}, 62] (* Robert G. Wilson v, Dec 24 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 11 2002
EXTENSIONS
More terms from Sascha Kurz, Feb 01 2003
STATUS
approved