|
|
A231685
|
|
a(n) = Sum_{i=0..n} digsum_9(i)^2, where digsum_9(i) = A053830(i).
|
|
5
|
|
|
0, 1, 5, 14, 30, 55, 91, 140, 204, 205, 209, 218, 234, 259, 295, 344, 408, 489, 493, 502, 518, 543, 579, 628, 692, 773, 873, 882, 898, 923, 959, 1008, 1072, 1153, 1253, 1374, 1390, 1415, 1451, 1500, 1564, 1645, 1745, 1866, 2010, 2035, 2071, 2120, 2184, 2265, 2365, 2486, 2630, 2799, 2835, 2884, 2948, 3029, 3129, 3250, 3394, 3563, 3759, 3808, 3872, 3953, 4053, 4174, 4318
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Partial sums of ((the total of the digits of i in base 9) squared). - Harvey P. Dale, Nov 26 2013
|
|
LINKS
|
P. J. Grabner, P. Kirschenhofer, H. Prodinger, R. F. Tichy, On the moments of the sum-of-digits function, PDF, Applications of Fibonacci numbers, Vol. 5 (St. Andrews, 1992), 263-271, Kluwer Acad. Publ., Dordrecht, 1993.
|
|
MATHEMATICA
|
Accumulate[Table[Total[IntegerDigits[n, 9]]^2, {n, 0, 100}]] (* Harvey P. Dale, Nov 26 2013 *)
|
|
PROG
|
(PARI) a(n) = sum(i=0, n, sumdigits(i, 9)^2); \\ Michel Marcus, Sep 20 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|