cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A379351 a(n) is the greatest prime factor of n^2 + 2.

Original entry on oeis.org

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

Views

Author

Andrew Howroyd, Dec 22 2024

Keywords

Crossrefs

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])}

Formula

a(n) = A006530(A059100(n)).