OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,16,0,-1).
FORMULA
a(2*n+4) = 16*a(2*n+2) - a(2*n), with a(0)=1, a(2)=14;
a(2*n+5) = 16*a(2*n+3) - a(2n+1), with a(1)=31, a(3)=494.
a(n) = 16*a(n-2) - a(n-4) for n>3. - Colin Barker, Jul 27 2020
MATHEMATICA
CoefficientList[Series[(1+31x-2x^2-2x^3)/(1-16x^2+x^4), {x, 0, 40}], x] (* Harvey P. Dale, Mar 25 2011 *)
PROG
(PARI) x='x+O('x^30); Vec((1+31*x-2*x^2-2*x^3)/(1-16*x^2+x^4)) \\ G. C. Greubel, Jan 18 2018
(Magma) Q:=Rationals(); R<x>:=PowerSeriesRing(Q, 30); Coefficients(R!(1+31*x-2*x^2-2*x^3)/(1-16*x^2+x^4))); // G. C. Greubel, Jan 18 2018
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Bruce Corrigan (scentman(AT)myfamily.com), Nov 05 2002
EXTENSIONS
More terms from Harvey P. Dale, Mar 25 2011
STATUS
approved