OFFSET
1,1
COMMENTS
First term in Euclid-Mullin sequence is p (say), 2nd term (if p odd) is 2, 3rd term is A023592.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
E.g., (5,2,11,3), (89,2,179,3), (17,2,5,3), (2,3,7,43), (61,2,3,367).
MATHEMATICA
a[n_] := (Clear[f]; f[1] = Prime[n]; f[k_] := f[k] = FactorInteger[Product[f[i], {i, 1, k-1}]+1][[1, 1]]; f[4]); Table[a[n], {n, 1, 76}] (* Jean-François Alcover, Feb 05 2014 *)
CROSSREFS
KEYWORD
nonn,easy,nice
AUTHOR
STATUS
approved