login
A140479
n^2 - number of digits of n^2.
0
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,3
FORMULA
a(n) = A000290(n) - A055642(A000290(n)). Michel Marcus, Jul 18 2013
PROG
(PARI) a(n) = n^2 - length(digits(n^2)) \\ Michel Marcus, Jul 18 2013
CROSSREFS
Sequence in context: A022947 A098762 A014848 * A264689 A146158 A062354
KEYWORD
nonn,base
AUTHOR
Rolf Pleisch, Jun 29 2008
EXTENSIONS
Corrected and extended by N. J. A. Sloane, Jun 29 2008
STATUS
approved