login
A143373
Expansion of x/(1 - x - 2*x^3 - 2*x^5 - x^7).
5
1, 1, 1, 3, 5, 9, 17, 30, 55, 100, 181, 330, 599, 1088, 1978, 3593, 6529, 11864, 21556, 39169, 71171, 129319, 234978, 426961, 775801, 1409655, 2561384, 4654113, 8456664, 15366012, 27920509
OFFSET
1,4
REFERENCES
Claude Shannon and Warren Weaver, A Mathematical Theory of Communication, University of Illinois Press, Chicago, 1963, pp. 37-38.
MATHEMATICA
Rest@CoefficientList[Series[x/(1 -x -2*x^3 -2*x^5 -x^7), {x, 0, 40}], x]
PROG
(PARI) my(x='x+O('x^40)); Vec(x/(1-x-2*x^3-2*x^5-x^7)) \\ G. C. Greubel, Sep 27 2017
(Sage)
def A143373_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( x/(1 -x -2*x^3 -2*x^5 -x^7) ).list()
a=A143373_list(40); a[1:] # G. C. Greubel, Feb 08 2021
(Magma)
R<x>:=PowerSeriesRing(Rationals(), 40);
Coefficients(R!( x/(1 -x -2*x^3 -2*x^5 -x^7) )); // G. C. Greubel, Feb 08 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Edited by G. C. Greubel, Feb 08 2021
STATUS
approved