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.

A055682 a(n) = floor(n*sqrt(n)) - sigma(n), where sigma(n) is the sum of the divisors of n (A000203).

Original entry on oeis.org

0, -1, 1, 1, 5, 2, 10, 7, 14, 13, 24, 13, 32, 28, 34, 33, 52, 37, 62, 47, 64, 67, 86, 57, 94, 90, 100, 92, 126, 92, 140, 118, 141, 144, 159, 125, 187, 174, 187, 162, 220, 176, 237, 207, 223, 239, 274, 208, 286, 260, 292, 276, 331, 276, 335, 299
Offset: 1

Views

Author

N. J. A. Sloane, Nov 29 2000

Keywords

Comments

Always > 0 for n > 2.

References

  • József Sándor, Dragoslav S. Mitrinovic, and Borislav Crstici, Handbook of Number Theory I, Springer Science & Business Media, 2005, Chapter III, p. 77, section III.1.1.b.

Crossrefs

Programs

  • Mathematica
    a[n_] :=  Floor[n*Sqrt[n]] - DivisorSigma[1, n]; Array[a, 100] (* Amiram Eldar, Apr 25 2024 *)
  • PARI
    a(n)=sqrtint(n^3)-sigma(n) \\ Charles R Greathouse IV, Feb 14 2013