login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A262225
Euclid-Mullin sequence: a(1) = 5, a(n+1) is largest prime factor of Product_{k=1..n} a(k) + 1.
1
5, 3, 2, 31, 19, 431, 3457, 24907963, 250198320553451, 164072502171958410481596412086571, 15268641997545743809809010755124846521575738536063
OFFSET
1,1
COMMENTS
This is similar to A000946 but starting a(1) = 5.
LINKS
MATHEMATICA
a = {5}; Do[AppendTo[a, FactorInteger[Product[a[[k]], {k, n - 1}] + 1][[-1, 1]]], {n, 2, 11}]; a (* Michael De Vlieger, Sep 15 2015 *)
CROSSREFS
Cf. A000946.
Sequence in context: A259228 A241182 A193799 * A330092 A064812 A378206
KEYWORD
nonn
AUTHOR
Ben Meekins, Sep 15 2015
STATUS
approved