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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A274903 Largest prime factor of 4^n + 1. 16
2, 5, 17, 13, 257, 41, 241, 113, 65537, 109, 61681, 2113, 673, 1613, 15790321, 1321, 6700417, 26317, 38737, 525313, 4278255361, 14449, 2931542417, 30269, 22253377, 268501, 308761441, 279073, 54410972897, 536903681, 4562284561, 384773, 67280421310721 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
J. Brillhart et al., Factorizations of b^n +- 1, Contemporary Mathematics, Vol. 22, Amer. Math. Soc., Providence, RI, 3rd edition, 2002.
FORMULA
a(n) = A006530(A052539(n)). - Michel Marcus, Jul 11 2016
a(2n) = A002590(n). a(2n+1) = A229747(n). - R. J. Mathar, Feb 28 2018
a(n) = A002587(2*n). - Amiram Eldar, Feb 01 2020
EXAMPLE
4^3 + 1 = 65 = 5*13, so a(3) = 13.
MATHEMATICA
Table[FactorInteger[4^n + 1][[-1, 1]], {n, 0, 30}]
PROG
(Magma) [Maximum(PrimeDivisors(4^n+1)): n in [0..35]];
(PARI) a(n)=my(f=factor(4^n+1)[, 1]); f[#f] \\ Charles R Greathouse IV, Jul 12 2016
CROSSREFS
Cf. largest prime factor of k^n+1: A002587 (k=2), A074476 (k=3), this sequence (k=4), A074478 (k=5), A274904 (k=6), A227575 (k=7), A274905 (k=8), A002592 (k=9), A003021 (k=10), A062308 (k=11).
Sequence in context: A178198 A005529 A259255 * A206029 A057282 A276767
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Jul 11 2016
EXTENSIONS
Terms to a(100) in b-file from Vincenzo Librandi, Jul 12 2016
a(101)-a(531) in b-file from Amiram Eldar, Feb 01 2020
a(532)-a(561) in b-file from Max Alekseyev, Apr 25 2022, Apr 15 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 April 18 03:29 EDT 2024. Contains 371767 sequences. (Running on oeis4.)