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.

A232628 Denominators of the triangle of polynomial coefficients P(0,x)=1, 2*P(n)=(1+x)*((1+x)^(n-1)+x^(n-1)).

Original entry on oeis.org

1, 1, 1, 2, 2, 1, 2, 2, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1
Offset: 0

Views

Author

Keywords

Comments

See A233508.

Examples

			1,
1, 1,
2, 2, 1,
2, 2, 1, 1,
2, 1, 1, 2, 1,
2, 2, 1, 1, 1, 1, etc.
		

Crossrefs

Cf. A233508 (numerators).

Programs

  • Mathematica
    p[n_] := (1+x)*((1+x)^(n-1)+x^(n-1))/2; t[n_, k_] := Coefficient[p[n], x, k] // Denominator; Table[t[n, k], {n, 0, 10 }, {k, 0, n}] // Flatten