The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A274908 Largest prime factor of 8^n - 1. 7
7, 7, 73, 13, 151, 73, 337, 241, 262657, 331, 599479, 109, 121369, 5419, 23311, 673, 131071, 262657, 1212847, 1321, 649657, 599479, 10052678938039, 38737, 10567201, 22366891, 97685839, 14449, 9857737155463, 18837001, 658812288653553079, 22253377 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,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(A024088(n)). - Michel Marcus, Jul 11 2016
a(n) = A005420(3*n). - Robert Israel, Jul 12 2016
EXAMPLE
8^5 -1 = 32767 = 7*31*151, so a(5) = 151.
MAPLE
f:= n -> max(map(t -> max(numtheory:-factorset(subs(x=2, t[1]))), factors(x^(3*n)-1)[2])):
map(f, [$1..120]); # Robert Israel, Jul 12 2016
MATHEMATICA
Table[FactorInteger[8^n - 1][[-1, 1]], {n, 40}]
PROG
(Magma) [Maximum(PrimeDivisors(8^n-1)): n in [1..40]];
CROSSREFS
Cf. similar sequences listed in A274906.
Sequence in context: A117860 A367456 A360367 * A009201 A219353 A269902
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Jul 11 2016
EXTENSIONS
Terms to a(100) in b-file from Vincenzo Librandi, Jul 13 2016
a(101)-a(402) in b-file from Amiram Eldar, Feb 02 2020
a(403)-a(500) in b-file from Max Alekseyev, Apr 25 2022, Sep 11 2022, Dec 05 2022, Feb 25 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 June 11 07:47 EDT 2024. Contains 373291 sequences. (Running on oeis4.)