A249221 Expansion of x*(1+5*x-2*x^3)/(1-6*x^2+2*x^4).
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
Links
- Colin Barker, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (0,6,0,-2).
Programs
-
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 *)
-
PARI
Vec((1+5*x-2*x^3)/(1-6*x^2+2*x^4) + O(x^100))
Formula
a(n) = 6*a(n-2)-2*a(n-4).