OFFSET
0,1
LINKS
S. S. Wagstaff, Jr., The Cunningham Project
FORMULA
MATHEMATICA
Table[FactorInteger[3^n + 1][[-1, 1]], {n, 0, 40}] (* Vincenzo Librandi, Aug 23 2013 *)
PROG
(PARI) for(n=0, 35, v=factor(3^n+1); print1(v[matsize(v)[1], 1], ", "))
(Magma) [Maximum(PrimeDivisors(3^n+1)): n in [0..40]]; // Vincenzo Librandi, Aug 23 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, Aug 23 2002
EXTENSIONS
Terms to a(100) in b-file from Vincenzo Librandi, Aug 23 2013
a(101)-a(658) in b-file from Amiram Eldar, Feb 01 2020
a(659)-a(691) in b-file from Max Alekseyev, Apr 25 2022, Jul 25 2023
STATUS
approved