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.

A140479 n^2 - number of digits of n^2.

Original entry on oeis.org

0, 0, 3, 8, 14, 23, 34, 47, 62, 79, 97, 118, 141, 166, 193, 222, 253, 286, 321, 358, 397, 438, 481, 526, 573, 622, 673, 726, 781, 838, 897, 958, 1020, 1085, 1152, 1221, 1292, 1365, 1440, 1517, 1596, 1677, 1760, 1845, 1932, 2021, 2112, 2205, 2300, 2397, 2496, 2597
Offset: 0

Views

Author

Rolf Pleisch, Jun 29 2008

Keywords

Programs

  • PARI
    a(n) = n^2 - length(digits(n^2)) \\ Michel Marcus, Jul 18 2013

Formula

a(n) = A000290(n) - A055642(A000290(n)). Michel Marcus, Jul 18 2013

Extensions

Corrected and extended by N. J. A. Sloane, Jun 29 2008