A290993 p-INVERT of (1,1,1,1,1,...), where p(S) = 1 - S^6.
0, 0, 0, 0, 0, 1, 6, 21, 56, 126, 252, 463, 804, 1365, 2366, 4368, 8736, 18565, 40410, 87381, 184604, 379050, 758100, 1486675, 2884776, 5592405, 10919090, 21572460, 43144920, 87087001, 176565486, 357913941, 723002336, 1453179126, 2906358252, 5791193143
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6).
Crossrefs
Programs
-
GAP
a:=[0,0,0,0,1];; for n in [6..35] do a[n]:=6*a[n-1]-15*a[n-2]+20*a[n-3]-15*a[n-4]+6*a[n-5]; od; Concatenation([0],a); # Muniru A Asiru, Oct 23 2018
-
Magma
R
:=PowerSeriesRing(Integers(), 60); [0,0,0,0,0] cat Coefficients(R!( x^5/((1-x)^6 - x^6) )); // G. C. Greubel, Apr 11 2023 -
Maple
seq(coeff(series(x^5/((1-2*x)*(1-x+x^2)*(1-3*x+3*x^2)),x,n+1), x, n), n = 0 .. 35); # Muniru A Asiru, Oct 23 2018
-
Mathematica
z = 60; s = x/(1 - x); p = 1 - s^6; Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A000012 *) Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A290993 *)
-
PARI
concat(vector(5), Vec(x^5 / ((1 - 2*x)*(1 - x + x^2)*(1 - 3*x + 3*x^2)) + O(x^50))) \\ Colin Barker, Aug 24 2017
-
SageMath
def A290993_list(prec): P.
= PowerSeriesRing(ZZ, prec) return P( x^5/((1-x)^6 - x^6) ).list() A290993_list(60) # G. C. Greubel, Apr 11 2023
Formula
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) for n>5. Corrected by Colin Barker, Aug 24 2017
G.f.: x^5 / ((1 - 2*x)*(1 - x + x^2)*(1 - 3*x + 3*x^2)). - Colin Barker, Aug 24 2017
a(n) = A192080(n-5) for n > 5. - Georg Fischer, Oct 23 2018
G.f.: x^5/((1-x)^6 - x^6). - G. C. Greubel, Apr 11 2023
Comments