Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A249221
Expansion of x*(1+5*x-2*x^3)/(1-6*x^2+2*x^4).
2
1, 5, 6, 28, 34, 158, 192, 892, 1084, 5036, 6120, 28432, 34552, 160520, 195072, 906256, 1101328, 5116496, 6217824, 28886464, 35104288, 163085792, 198190080, 920741824, 1118931904, 5198279360, 6317211264, 29348192512, 35665403776, 165692596352, 201358000128
OFFSET
1,2
FORMULA
a(n) = 6*a(n-2)-2*a(n-4).
MATHEMATICA
CoefficientList[Series[(1 + 5 x - 2 x^3)/(1 - 6 x^2 + 2 x^4), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 23 2014 *)
LinearRecurrence[{0, 6, 0, -2}, {1, 5, 6, 28}, 40] (* Harvey P. Dale, Apr 20 2017 *)
PROG
(PARI) Vec((1+5*x-2*x^3)/(1-6*x^2+2*x^4) + O(x^100))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Oct 23 2014
STATUS
approved