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.

A055031 Numerator of (Sum(m^(n-1),m=1..n-1)+1)/n.

Original entry on oeis.org

1, 1, 2, 37, 71, 2213, 9596, 1200305, 24684613, 287152493, 1355849266, 427675990237, 1032458258547, 228796942438201, 16841089312342856, 665478473553144001, 1653031004194447737, 631449646252135295657, 3167496749732497119310
Offset: 1

Views

Author

N. J. A. Sloane, Jun 11 2000

Keywords

References

  • R. K. Guy, Unsolved Problems Number Theory, A17.

Crossrefs

Programs

  • Mathematica
    Table[Numerator[(Sum[m^(n - 1), {m, n - 1}] + 1)/n], {n, 50}] (* Indranil Ghosh, May 17 2017 *)
  • PARI
    a(n) = numerator((sum(m=1, n - 1, m^(n - 1)) + 1)/n); \\ Indranil Ghosh, May 17 2017
    
  • Python
    from sympy import Integer
    def a(n): return ((sum(m**(n - 1) for m in range(1, n)) + 1)/Integer(n)).numerator # Indranil Ghosh, May 17 2017