OFFSET
1,1
COMMENTS
No additional terms up to n = 1000. - Harvey P. Dale, Feb 02 2019
MATHEMATICA
f[1]=1; f[x_] := f[x] = Prime[x]*f[x - 1] + 2; Do[ If[ PrimeQ[ f[n]], Print[n]], {n, 1, 1900}]
nxt[{n_, a_}]:={n+1, a*Prime[n+1]+2}; Select[NestList[nxt, {1, 1}, 200], PrimeQ[ #[[2]]]&][[All, 1]] (* Harvey P. Dale, Feb 02 2019 *)
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Labos Elemer, Jul 23 2003
EXTENSIONS
Edited by Robert G. Wilson v, Jul 25 2003
STATUS
approved