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.

A007571 a(n) = largest prime factor of n^n + 1.

Original entry on oeis.org

2, 5, 7, 257, 521, 97, 911, 673, 530713, 27961, 58367, 2227777, 79301, 176597, 142111, 67280421310721, 45957792327018709121, 33388093, 870542161121, 4406613081041681, 22864311556633, 73194743542229, 1522029233, 27250359649
Offset: 1

Views

Author

Keywords

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Magma
    [Max(PrimeDivisors(n^n+1)):n in [1..24]]; // Marius A. Burtea, Aug 24 2019
  • Mathematica
    Table[ FactorInteger[ n^n + 1, FactorComplete -> True ] [ [ -1, 1 ] ], {n, 1, 25} ]
  • PARI
    for(k=1, 24, my(x=factor(k^k+1), f=x[#x[, 1], 1]); print1(f,", ")) \\ Hugo Pfoertner, Aug 23 2019
    

Formula

a(n) = A006530(A014566(n)). - Michel Marcus, Aug 24 2019