A262225 Euclid-Mullin sequence: a(1) = 5, a(n+1) is largest prime factor of Product_{k=1..n} a(k) + 1.
5, 3, 2, 31, 19, 431, 3457, 24907963, 250198320553451, 164072502171958410481596412086571, 15268641997545743809809010755124846521575738536063
Offset: 1
Keywords
Links
- Ben Meekins, Table of n, a(n) for n = 1..12
Crossrefs
Cf. A000946.
Programs
-
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 *)
Comments