OFFSET
0,3
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
F. B. Diniz, About a new family of sequences, arXiv:1607.06082 [math.GM], 2016.
FORMULA
a(n) = n*A007953(n). - Michel Marcus, Aug 10 2014
G.f.: x * (d/dx) (1/(1 - x))*Sum_{k>=1} (x^k - x^(10^k+k) - 9*x^(10^k))/(1 - x^(10^k)). - Ilya Gutkovskiy, Mar 27 2018
MAPLE
for n from 0 to 150 do printf(`%d, `, n*add(convert(n, base, 10)[i], i=1..nops(convert(n, base, 10)))) od:
MATHEMATICA
Table[n*Total[IntegerDigits[n]], {n, 0, 100}]
PROG
(Haskell)
a057147 n = a007953 n * n -- Reinhard Zumkeller, Mar 19 2014
(PARI) a(n) = n*sumdigits(n) \\ Franklin T. Adams-Watters, Aug 03 2014
(Python)
[n*sum([int(d) for d in str(n)]) for n in range(10**5)] # Chai Wah Wu, Aug 05 2014
CROSSREFS
KEYWORD
AUTHOR
N. J. A. Sloane, Sep 13 2000
EXTENSIONS
More terms from James A. Sellers and Larry Reeves (larryr(AT)acm.org), Sep 13 2000
STATUS
approved