A379351 a(n) is the greatest prime factor of n^2 + 2.
2, 3, 3, 11, 3, 3, 19, 17, 11, 83, 17, 41, 73, 19, 11, 227, 43, 97, 163, 11, 67, 443, 3, 59, 17, 19, 113, 43, 131, 281, 41, 107, 19, 1091, 193, 409, 59, 457, 241, 1523, 89, 17, 883, 617, 19, 2027, 353, 67, 1153, 89, 139, 137, 41, 937, 1459, 1009, 523, 3251, 17, 43, 1801
Offset: 0
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 0..1000
Programs
-
Mathematica
FactorInteger[#][[-1,1]]&/@(Range[0,60]^2+2) (* Harvey P. Dale, Dec 31 2024 *)
-
PARI
a(n) = {vecmax(factor(n^2 + 2)[,1])}