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.

A271896 Expansion of (x-1)^2 / ( 1-4*x+5*x^2-4*x^3 ).

Original entry on oeis.org

1, 2, 4, 10, 28, 78, 212, 570, 1532, 4126, 11124, 29994, 80860, 217966, 587540, 1583770, 4269244, 11508286, 31022004, 83623562, 225417372, 607639694, 1637966164, 4415335674, 11902070652, 32083468894, 86484865012, 233130398186, 628431143260, 1694012042158, 4566414045076, 12309320542554
Offset: 0

Views

Author

R. J. Mathar, Apr 16 2016

Keywords

Comments

Sum of all first elements at level n of the TRIP-Stern sequence corresponding to the permutation triple (e,e,e)

Crossrefs

Cf. A000930 (maximum at level n).

Programs

  • Mathematica
    CoefficientList[Series[(x - 1)^2/(1 - 4*x + 5*x^2 - 4*x^3), {x,0,50}], x] (* G. C. Greubel, May 01 2017 *)
  • PARI
    x='x+O('x^99); Vec((x-1)^2/(1-4*x+5*x^2-4*x^3)) \\ Altug Alkan, Apr 16 2016