OFFSET
0,3
LINKS
FORMULA
a(n)=8^n/12-(-4)^n/12
a(0)=0, a(1)=1, a(n)=4*a(n-1)+32*a(n-2). - Harvey P. Dale, May 06 2014
a(n)=4^(n-1)*A001045(n+1). - R. J. Mathar, Mar 08 2021
MATHEMATICA
Join[{a=0, b=1}, Table[c=4*b+32*a; a=b; b=c, {n, 30}]] (* Vladimir Joseph Stephan Orlovsky, Apr 22 2011 *)
CoefficientList[Series[x/((1+4x)(1-8x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{4, 32}, {0, 1}, 30] (* Harvey P. Dale, May 06 2014 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Feb 10 2004
STATUS
approved