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.

A022308 a(n) = a(n-1) + a(n-2) + 1 for n>1, a(0)=0, a(1)=3.

Original entry on oeis.org

0, 3, 4, 8, 13, 22, 36, 59, 96, 156, 253, 410, 664, 1075, 1740, 2816, 4557, 7374, 11932, 19307, 31240, 50548, 81789, 132338, 214128, 346467, 560596, 907064, 1467661, 2374726, 3842388, 6217115, 10059504, 16276620, 26336125, 42612746, 68948872, 111561619
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

Formula

G.f.: x*(3-2*x) / (x^3-2*x+1).
a(n) = 2*A000045(n) + A000045(n+2) - 1 = A000285(n)-1.
a(n) = 2*a(n-1) - a(n-3) for n>=3. - Ron Knott, Aug 25 2006
a(n) = (3*A000032(n) - A000045(n) - 2)/2. - Vladimir Joseph Stephan Orlovsky, Feb 02 2012
a(n) = 4*F(n) + F(n-1) - 1, where F = A000045. - Bruno Berselli, Feb 20 2017
a(n) = (-10 + (5-7*sqrt(5))*((1-sqrt(5))/2)^n + ((1+sqrt(5))/2)^n*(5+7*sqrt(5))) / 10. - Colin Barker, Feb 20 2017