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.

A194205 Partial sums of A194204.

Original entry on oeis.org

0, 1, 2, 3, 5, 7, 10, 13, 17, 21, 26, 32, 38, 44, 51, 58, 65, 73, 82, 91, 100, 110, 121, 132, 144, 157, 170, 183, 197, 212, 227, 242, 258, 274, 291, 309, 327, 346, 365, 384, 404, 424, 444, 465, 486, 508, 531, 554, 577, 601, 626, 651, 676, 702, 729, 756
Offset: 1

Views

Author

Clark Kimberling, Aug 19 2011

Keywords

Crossrefs

Cf. A194204.

Programs

  • Mathematica
    r = E/2;
    a[n_] := Floor[Sum[FractionalPart[k*r], {k, 1, n}]]
    Table[a[n], {n, 1, 90}]  (* A194204 *)
    s[n_] := Sum[a[k], {k, 1, n}]
    Table[s[n], {n, 1, 100}] (* A194205 *)