login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A080443
Largest prime factor of 3^n+2.
3
3, 5, 11, 29, 83, 7, 43, 199, 6563, 127, 59051, 25307, 48313, 63773, 4782971, 14348909, 119243, 335429, 23203, 10613, 60089, 1224149, 795323, 919, 282429536483, 1583717027, 2541865828331, 693236134999, 174632003473
OFFSET
0,1
MATHEMATICA
Table[FactorInteger[3^n+2][[-1, 1]], {n, 0, 30}] (* Harvey P. Dale, Oct 21 2011 *)
PROG
(PARI) for(n=0, 28, f=factor(3^n+2); print1(f[#f[, 1], 1], ", ")) \\ Hugo Pfoertner, Jul 12 2019
(Magma) [Max(PrimeDivisors(3^n+2)):n in [0..28]]; // Marius A. Burtea, Jul 12 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Mar 21 2003
EXTENSIONS
Corrected by T. D. Noe, Nov 15 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 23 01:59 EDT 2024. Contains 376140 sequences. (Running on oeis4.)