|
|
A231503
|
|
a(n) = Sum_{i=0..n} digsum_3(i)^2, where digsum_3(i) = A053735(i).
|
|
4
|
|
|
0, 1, 5, 6, 10, 19, 23, 32, 48, 49, 53, 62, 66, 75, 91, 100, 116, 141, 145, 154, 170, 179, 195, 220, 236, 261, 297, 298, 302, 311, 315, 324, 340, 349, 365, 390, 394, 403, 419, 428, 444, 469, 485, 510, 546, 555, 571, 596, 612, 637, 673, 698, 734, 783, 787, 796, 812, 821, 837, 862, 878, 903, 939, 948, 964, 989, 1005, 1030, 1066, 1091, 1127, 1176, 1192, 1217, 1253, 1278
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
P. J. Grabner, P. Kirschenhofer, H. Prodinger and R. F. Tichy, On the moments of the sum-of-digits function, PDF, Applications of Fibonacci numbers, Vol. 5 (St. Andrews, 1992), Kluwer Acad. Publ., Dordrecht, 1993, pp. 263-271.
J.-L. Mauclaire and Leo Murata, On q-additive functions. I, Proc. Japan Acad. Ser. A Math. Sci., Vol. 59, No. 6 (1983), pp. 274-276.
|
|
MATHEMATICA
|
Accumulate @ (Table[Plus @@ IntegerDigits[n, 3], {n, 0, 75}]^2) (* Amiram Eldar, Jan 20 2022 *)
|
|
PROG
|
(PARI) a(n) = sum(i=0, n, sumdigits(i, 3)^2); \\ Michel Marcus, Sep 20 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|