login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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