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.

A231503 a(n) = Sum_{i=0..n} digsum_3(i)^2, where digsum_3(i) = A053735(i).

Original entry on oeis.org

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
Offset: 0

Views

Author

N. J. A. Sloane, Nov 13 2013

Keywords

Crossrefs

Programs

  • Mathematica
    Accumulate @ (Table[Plus @@ IntegerDigits[n, 3], {n, 0, 75}]^2) (* Amiram Eldar, Jan 20 2022 *)
  • PARI
    a(n) = sum(i=0, n, sumdigits(i, 3)^2); \\ Michel Marcus, Sep 20 2017