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.

A091612 Column 1 of triangle A091603.

Original entry on oeis.org

1, -1, -2, 0, 1, 3, 4, 3, 3, 0, 0, -3, -4, -7, -9, -9, -9, -9, -9, -4, -5, -4, -3, 2, 3, 5, 6, 11, 11, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 11, 10, 13, 13, 10, 11, 10, 10, 3, 4, 0, 1, -2, -2, -3, -3, -9, -8, -7, -7, -19, -19, -19, -19, -19, -20, -21, -21, -21, -21, -27
Offset: 1

Views

Author

Christian G. Bower, Jan 23 2004

Keywords

Crossrefs

Cf. A091603.

Programs

  • Mathematica
    b[n_, i_, k_]:= b[n, i, k]= If[n==0, 1, If[i>n, 0, Sum[b[n-i*j, i+1, Min[k, Quotient[n-i*j, i+1]]], {j, 0, k}]]];
    t[n_, k_]:= t[n, k]= If[k>n, 0, b[n,1,k] - b[n,1,k-1]]; (* t = A091602 *)
    M := With[{p = 110}, Table[t[n, k], {n, p}, {k, p}]];
    T := Inverse[M]; (* T = A091603 *)
    Table[T[[n, 1]], {n, 100}] (* G. C. Greubel, Nov 27 2021 *)