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.

A154118 Expansion of (1 - x + 5x^2)/((1-x)*(1-2x)).

Original entry on oeis.org

1, 2, 9, 23, 51, 107, 219, 443, 891, 1787, 3579, 7163, 14331, 28667, 57339, 114683, 229371, 458747, 917499, 1835003, 3670011, 7340027, 14680059, 29360123, 58720251, 117440507, 234881019, 469762043, 939524091, 1879048187, 3758096379, 7516192763, 15032385531
Offset: 0

Views

Author

Philippe Deléham, Jan 05 2009

Keywords

Comments

Binomial transform of 1,1,6,1,6,1,6,1,6,1,6,1,6,1,6,...

Programs

Formula

a(n) = 7*2^(n-1) - 5, n>=1, with a(0)=1.
a(n) = 2*a(n-1) + 5, n>1, with a(0)=1, a(1)=2.
a(n) = 3*a(n-1) - 2*a(n-2), n>2, with a(0)=1, a(1)=2, a(2)=9.
E.g.f.: (1/2)*(5 - 10*exp(x) + 7*exp(2*x)). - G. C. Greubel, Sep 02 2016