OFFSET
1,1
LINKS
Apurva Rai, Table of n, a(n) for n = 1..105 (terms n = 1..60 from Amiram Eldar)
Florian Luca and Igor E. Shparlinski, On the largest prime factor of n! + 2^n - 1, Journal de Theorie des Nombres de Bordeaux 17 (2005), 859-870.
Apurva Rai, Python program to test a(61)-a(105)
FORMULA
MATHEMATICA
a = {}; Do[AppendTo[a, n! + 2 n - 1], {n, 1, 40}]; b = {}; Do[c = FactorInteger[a[[n]]]; d = c[[1]]; AppendTo[b, d[[1]]], {n, 1, Length[a]}]; b (* Artur Jasinski *)
FactorInteger[#][[1, 1]] & /@ Table[n! + 2*n - 1, {n, 1, 18}] (* Amiram Eldar, Feb 05 2020 *)
PROG
(PARI) a(n)=factor(n!+2*n-1)[1, 1] \\ Charles R Greathouse IV, Feb 01 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Apr 22 2008
EXTENSIONS
a(41)-a(55) from Amiram Eldar, Feb 05 2020
STATUS
approved