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.

A269445 a(n) = Sum_{k=0..n} floor(k/13).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 72, 75, 78, 82, 86, 90, 94, 98, 102, 106, 110, 114, 118, 122, 126, 130, 135, 140, 145, 150, 155, 160, 165, 170, 175
Offset: 0

Views

Author

Ilya Gutkovskiy, Feb 27 2016

Keywords

Comments

Partial sums of A090620.
More generally, the ordinary generating function for the Sum_{k=0..n} floor(k/m) is x^m/((1 - x^m)*(1 - x)^2).

Crossrefs

Cf. A090620.
Cf. similar sequences of Sum_{k=0..n} floor(k/m): A002620 (m=2), A130518 (m=3), A130519 (m=4), A130520 (m=5), A174709 (m=6), A174738 (m=7), A118729 (m=8), A218470 (m=9), A131242 (m=10), A218530 (m=11), A221912 (m=12), this sequence (m=13).

Programs

  • Mathematica
    Table[Sum[Floor[k/13], {k, 0, n}], {n, 0, 73}]
    LinearRecurrence[{2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2}, 74]

Formula

G.f.: x^13/((1 - x^13)*(1 - x)^2).
a(n) = 2*a(n-1) - a(n-2) + a(n-13) - 2*a(n-14) + a(n-15).