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.

A064232 a(n) = n^(n+2) mod (n+1)^(n+1).

Original entry on oeis.org

0, 1, 16, 243, 971, 31469, 32530, 6799175, 298900846, 1381059609, 144064988167, 7774410799163, 72418038179852, 6737865711858693, 426377776285933636, 6292404967145601295, 586165173437961392811, 2993987233372099394609
Offset: 0

Views

Author

Floor van Lamoen, Sep 22 2001

Keywords

Programs

  • Mathematica
    Table[PowerMod[n,n+2,(n+1)^(n+1)],{n,0,20}] (* Harvey P. Dale, Dec 15 2020 *)
  • PARI
    { for (n=0, 100, write("b064232.txt", n, " ", n^(n + 2) % (n + 1)^(n + 1)) ) } \\ Harry J. Smith, Sep 10 2009

Formula

a(n) = n^(n+2) mod (n+1)^(n+1).