login
Expansion of (1-x)/(1+x+2*x^2).
8

%I #22 Jun 05 2021 04:39:37

%S 1,-2,0,4,-4,-4,12,-4,-20,28,12,-68,44,92,-180,-4,364,-356,-372,1084,

%T -340,-1828,2508,1148,-6164,3868,8460,-16196,-724,33116,-31668,-34564,

%U 97900,-28772,-167028,224572,109484,-558628,339660,777596,-1456916,-98276,3012108,-2815556,-3208660,8839772

%N Expansion of (1-x)/(1+x+2*x^2).

%C INVERTi transform of A005408, (2n + 1) = A078050 signed: (1, 2, 0, -4, -4, 4, 12, 4, -20, -28, ...) = left border of triangle A144106. - _Gary W. Adamson_, Sep 11 2008

%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (-1,-2).

%F a(n-1) = Sum_{k=1..n} (-1)^(n-k) * Sum_{i=0..n} binomial(k,n-i) * binomial(k+i-1, 2*k-1). - _Vladimir Kruchinin_, Mar 11 2013

%o (PARI) Vec((1-x)/(1+x+2*x^2)+O(x^99)) \\ _Charles R Greathouse IV_, Sep 23 2012

%Y Cf. A005408, A144106. - _Gary W. Adamson_, Sep 11 2008

%Y Cf. A208904.

%K sign,easy

%O 0,2

%A _N. J. A. Sloane_, Nov 17 2002