OFFSET
0,2
COMMENTS
There are infinitely many nonzero squares in this sequence; for example a(10^(4n) - 10^(2n)) = (10^n*(10^(2n)-1))^2. - David Wasserman, Dec 07 2004
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..9999
FORMULA
a(n) = n*(10^d - 1 - n), where d is the number of digits in n.
a(n) = n*A061601(n). - David Wasserman, Dec 07 2004
PROG
(PARI) {a(n) = n*(10^length(Str(n))-1-n)} \\ Seiichi Manyama, Sep 15 2019
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, May 23 2003
EXTENSIONS
More terms from David Wasserman, Dec 07 2004
a(0)=0 prepended by Seiichi Manyama, Sep 15 2019
STATUS
approved