login
A096750
Expansion of (1-x+x^2)/(1-2x+2x^2-x^3-x^4).
2
1, 1, 1, 1, 2, 4, 6, 7, 8, 12, 21, 33, 44, 55, 76, 119, 185, 263, 351, 480, 706, 1066, 1551, 2156, 2982, 4269, 6281, 9162, 13013, 18252, 25921, 37513, 54449, 78045, 110626, 157124, 225490, 325403, 467576, 666960, 949661, 1358381, 1951976, 2803811
OFFSET
0,5
FORMULA
a(n) = 2*a(n-1)-2*a(n-2)+a(n-3)+a(n-4).
MATHEMATICA
CoefficientList[Series[(1-x+x^2)/(1-2x+2x^2-x^3-x^4), {x, 0, 50}], x] (* or *) LinearRecurrence[ {2, -2, 1, 1}, {1, 1, 1, 1}, 50] (* Harvey P. Dale, Jun 16 2024 *)
CROSSREFS
Cf. A003522.
Sequence in context: A014855 A298479 A015924 * A088458 A177866 A065853
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Jul 07 2004
STATUS
approved