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.

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

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, -5, 0, 0, 0, 1, -4, 10, 0, 0, 1, -3, 6, -10, 0, 1, -2, 3, -4, 5, 1, -1, 1, -1, 1, 0, 0, 0, 0, 0, 1, -10, 0, 0, 0, 1, -9, 35, 0, 0, 1, -8, 26, -60, 0, 1, -7, 18, -34, 55, 1, -6, 11, -16, 21, -25, -5, 5, -5, 5, -4, -4, 0, 0, 0, 1
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, 6, 'q'); `if`(n<6, `if`(n=5, 1, 0),
          add(a(q+m-j)*(-1)^j*binomial(m, j), j=0..m))
        end:
    seq(a(n), n=0..100);

Formula

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