|
|
A231665
|
|
a(n) = Sum_{i=0..n} digsum_4(i)^2, where digsum_4(i) = A053737(i).
|
|
4
|
|
|
0, 1, 5, 14, 15, 19, 28, 44, 48, 57, 73, 98, 107, 123, 148, 184, 185, 189, 198, 214, 218, 227, 243, 268, 277, 293, 318, 354, 370, 395, 431, 480, 484, 493, 509, 534, 543, 559, 584, 620, 636, 661, 697, 746, 771, 807, 856, 920, 929, 945, 970, 1006, 1022, 1047, 1083, 1132, 1157, 1193, 1242, 1306, 1342, 1391, 1455, 1536, 1537, 1541, 1550, 1566, 1570, 1579, 1595, 1620, 1629
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
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.
|
|
PROG
|
(PARI) a(n) = sum(i=0, n, sumdigits(i, 4)^2); \\ Michel Marcus, Sep 20 2017
(MATLAB) for u=0:2000; v(u+1)=sum(dec2base(u, 4)-'0'); end
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|