cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A231668 a(n) = Sum_{i=0..n} digsum_5(i), where digsum_5(i) = A053824(i).

Original entry on oeis.org

0, 1, 3, 6, 10, 11, 13, 16, 20, 25, 27, 30, 34, 39, 45, 48, 52, 57, 63, 70, 74, 79, 85, 92, 100, 101, 103, 106, 110, 115, 117, 120, 124, 129, 135, 138, 142, 147, 153, 160, 164, 169, 175, 182, 190, 195, 201, 208, 216, 225, 227, 230, 234, 239, 245, 248, 252, 257, 263, 270, 274, 279, 285, 292, 300, 305, 311, 318, 326, 335, 341, 348, 356, 365, 375, 378, 382, 387, 393, 400
Offset: 0

Views

Author

N. J. A. Sloane, Nov 13 2013

Keywords

References

  • Jean-Paul Allouche and Jeffrey Shallit, Automatic sequences, Cambridge University Press, 2003, p. 94.

Crossrefs

Programs

  • Mathematica
    a[n_] := Plus @@ IntegerDigits[n, 5]; Accumulate @ Array[a, 80, 0] (* Amiram Eldar, Dec 09 2021 *)
  • PARI
    a(n) = sum(i=0, n, sumdigits(i, 5)); \\ Michel Marcus, Sep 20 2017

Formula

a(n) ~ 2*n*log(n)/log(5). - Amiram Eldar, Dec 09 2021