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.

A194174 Partial sums of A194173.

Original entry on oeis.org

0, 1, 2, 4, 6, 9, 12, 16, 20, 24, 29, 35, 41, 48, 55, 63, 71, 79, 88, 98, 108, 119, 131, 143, 156, 169, 182, 196, 210, 225, 240, 256, 273, 290, 308, 326, 344, 363, 382, 402, 423, 444, 466, 488, 511, 534, 558, 582, 606, 631, 657, 683, 710, 737, 765, 793
Offset: 1

Views

Author

Clark Kimberling, Aug 18 2011

Keywords

Crossrefs

Cf. A194173.

Programs

  • Mathematica
    r = Sqrt[6];
    a[n_] := Floor[Sum[FractionalPart[k*r], {k, 1, n}]]
    Table[a[n], {n, 1, 90}]   (* A194173 *)
    s[n_] := Sum[a[k], {k, 1, n}]
    Table[s[n], {n, 1, 100}]  (* A194174 *)