editing
approved
editing
approved
CoefficientList[Series[(1+2x-x^2-2x^3+x^4)/(1-x^2)^3, {x, 0, 100}], x] (* or *) LinearRecurrence[{0, 3, 0, -3, 0, 1}, {1, 2, 2, 4, 4, 6}, 100] (* Harvey P. Dale, Mar 23 2023 *)
approved
editing
proposed
approved
editing
proposed
Expansion of (1+2x2*x-x^2-2x2*x^3+x^4) / (1-x^2)^3.
Colin Barker, <a href="/A106247/b106247.txt">Table of n, a(n) for n = 0..1000</a>
<a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (0,3,0,-3,0,1).
From Colin Barker, Jul 23 2016: (Start)
a(n) = (16+10*n+(-1)^n*(-6+n)*n+n^2)/16.
a(n) = (n^2+2*n+8)/8 for n even.
a(n) = n+1 for n odd.
a(n) = 3*a(n-2)-3*a(n-4)+a(n-6) for n>5.
(End)
(PARI) Vec((1+2*x-x^2-2*x^3+x^4)/(1-x^2)^3 + O(x^100)) \\ Colin Barker, Jul 23 2016
approved
editing
_Paul Barry (pbarry(AT)wit.ie), _, Apr 26 2005
Expansion of (1+2x-x^2-2x^3+x^4)/(1-x^2)^3.
1, 2, 2, 4, 4, 6, 7, 8, 11, 10, 16, 12, 22, 14, 29, 16, 37, 18, 46, 20, 56, 22, 67, 24, 79, 26, 92, 28, 106, 30, 121, 32, 137, 34, 154, 36, 172, 38, 191, 40, 211, 42, 232, 44, 254, 46, 277, 48, 301, 50, 326, 52, 352, 54, 379, 56, 407, 58, 436, 60, 466, 62, 497, 64, 529, 66
0,2
Diagonal sums of number triangle A106246. Transform of C(2,n)=(1,2,1,0,0,0,...) under the mapping that takes g(x) to (1/(1-x^2))g(x/(1-x^2)).
easy,nonn
Paul Barry (pbarry(AT)wit.ie), Apr 26 2005
approved