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!)
A164314 Largest prime factor of n^2 - 2. 3
2, 7, 7, 23, 17, 47, 31, 79, 7, 17, 71, 167, 97, 223, 127, 41, 23, 359, 199, 439, 241, 31, 41, 89, 337, 727, 23, 839, 449, 137, 73, 1087, 577, 1223, 647, 1367, 103, 31, 47, 73, 881, 1847, 967, 17, 151, 2207, 1151, 2399, 1249, 113, 193, 401, 47, 3023, 1567, 191 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
FORMULA
a(n) = A006530(A008865(n)).
MAPLE
a:= n-> max(numtheory[factorset](n^2-2)):
seq(a(n), n=2..60); # Alois P. Heinz, Jul 22 2017
MATHEMATICA
Table[FactorInteger[n^2 - 2][[-1, 1]], {n, 2, 57}] (* Michael De Vlieger, Jul 22 2017 *)
PROG
(PARI) a(n) = vecmax(factor(n^2-2)[, 1]); \\ Michel Marcus, Jul 22 2017
CROSSREFS
Sequence in context: A351583 A090521 A090523 * A156003 A306417 A011416
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by R. J. Mathar, Aug 21 2009
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 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)