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.

A231672 a(n) = Sum_{i=0..n} digsum_6(i), where digsum_6(i) = A053827(i).

Original entry on oeis.org

0, 1, 3, 6, 10, 15, 16, 18, 21, 25, 30, 36, 38, 41, 45, 50, 56, 63, 66, 70, 75, 81, 88, 96, 100, 105, 111, 118, 126, 135, 140, 146, 153, 161, 170, 180, 181, 183, 186, 190, 195, 201, 203, 206, 210, 215, 221, 228, 231, 235, 240, 246, 253, 261, 265, 270, 276, 283, 291, 300, 305, 311, 318, 326, 335, 345, 351, 358, 366, 375, 385, 396, 398, 401, 405, 410, 416, 423, 426, 430
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
    Accumulate[f[n_]:=n - 5 Sum[Floor[n/6^k], {k, n}]; Array[f, 100, 0]] (* Vincenzo Librandi, Sep 04 2016 *)
  • PARI
    a(n) = sum(i=0, n, sumdigits(i, 6)); \\ Michel Marcus, Dec 09 2021

Formula

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