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.

A229657 7-section a(7n+k) gives k-th differences of a for k=0..6 with a(n)=0 for n<6 and a(6)=1.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, -6, 0, 0, 0, 0, 1, -5, 15, 0, 0, 0, 1, -4, 10, -20, 0, 0, 1, -3, 6, -10, 15, 0, 1, -2, 3, -4, 5, -6, 1, -1, 1, -1, 1, -1, 2, 0, 0, 0, 0, 0, 1, -12, 0, 0, 0, 0, 1, -11, 51, 0, 0, 0, 1, -10, 40, -110, 0, 0, 1, -9, 30, -70
Offset: 0

Views

Author

Alois P. Heinz, Sep 27 2013

Keywords

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; local m, q;
          m:= irem(n, 7, 'q'); `if`(n<7, `if`(n=6, 1, 0),
          add(a(q+m-j)*(-1)^j*binomial(m, j), j=0..m))
        end:
    seq(a(n), n=0..100);

Formula

a(7*n+k) = Sum_{j=0..k} (-1)^j * C(k,j) * a(n+k-j) for k=0..6.