OFFSET
1,3
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..39
EXAMPLE
13 is the greatest prime dividing a(7) = 78 and 3 is the greatest prime dividing a(8) = 144. So a(9) = 1 + 13*3 = 40.
MATHEMATICA
f[n_] := If[n == 1, 1, FactorInteger[n][[ -1, 1 ]]]; g[l_] := Append[l, 1 + Times @@ f /@ Take[l, -2]]; Nest[g, {1, 1}, 30] (* Ray Chandler, Dec 26 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 13 2005
EXTENSIONS
Extended by Ray Chandler, Dec 26 2005
a(27) from Amiram Eldar, Oct 27 2024
STATUS
approved