login
Expansion of x*(1-x)/((1-2*x)*(1+3*x)).
6

%I #19 Sep 08 2022 08:45:12

%S 0,1,-2,8,-20,68,-188,596,-1724,5300,-15644,47444,-141308,425972,

%T -1273820,3829652,-11472572,34450484,-103285916,309988820,-929704316,

%U 2789637236,-8367863132,25105686548,-75312865340,225946984628,-677824176668,2033506084436

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

%C Inverse binomial transform of A091001.

%H G. C. Greubel, <a href="/A091004/b091004.txt">Table of n, a(n) for n = 0..1000</a>

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

%F G.f.: x*(1-x)/((1-2*x)*(1+3*x)).

%F a(n) = (3*2^n - 8*(-3)^n + 5*0^n)/30.

%F 2^n = A091003(n) + 3*a(n) + 6*A091005(n).

%F a(n+1) = Sum_{k=0..n} A112555(n,k)*(-3)^k. - _Philippe Deléham_, Sep 11 2009

%F E.g.f.: (3*exp(2*x) - 8*exp(-3*x) + 5)/30. - _G. C. Greubel_, Feb 01 2019

%t CoefficientList[Series[x(1-x)/((1-2x)(1+3x)), {x, 0, 30}], x] (* _Wesley Ivan Hurt_, Jan 17 2017 *)

%t Join[{0}, LinearRecurrence[{-1, 6}, {1, -2}, 30]] (* _G. C. Greubel_, Feb 01 2019 *)

%o (PARI) vector(30, n, n--; (3*2^n - 8*(-3)^n + 5*0^n)/30) \\ _G. C. Greubel_, Feb 01 2019

%o (Magma) [0] cat [(3*2^n - 8*(-3)^n)/30: n in [1..30]]; // _G. C. Greubel_, Feb 01 2019

%o (Sage) [0] + [(3*2^n - 8*(-3)^n)/30 for n in (1..30)] # _G. C. Greubel_, Feb 01 2019

%o (GAP) Concatenation([0], List([1..30], n -> (3*2^n - 8*(-3)^n)/30)) # _G. C. Greubel_, Feb 01 2019

%Y Cf. A091001, A091003, A091005, A112555.

%K easy,sign

%O 0,3

%A _Paul Barry_, Dec 13 2003