OFFSET
0,3
FORMULA
a(n) = 2*a(n-1) + 8*a(n-2) for n>=3; a(0)=0, a(1)=1, a(2)=7.
O.g.f.: x*(1+5*x)/((1+2*x+1)*(1-4*x)). - R. J. Mathar, Dec 05 2007
MAPLE
a[0]:=0: a[1]:=1: a[2]:=7: for n from 3 to 26 do a[n]:=2*a[n-1]+8*a[n-2] od: seq(a[n], n=0..26);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Apr 18 2006
EXTENSIONS
Edited by N. J. A. Sloane, May 13 2006
New name using g.f. from Joerg Arndt, Jan 01 2024
STATUS
approved