OFFSET
0,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (37, 37, 37, 37, 37, 37, -703).
FORMULA
G.f.: (x^7 + 2*x^6 + 2*x^5 + 2*x^4 + 2*x^3 + 2*x^2 + 2*x + 1)/(703*x^7 - 37*x^6 - 37*x^5 - 37*x^4 - 37*x^3 - 37*x^2 - 37*x + 1).
G.f.: (1+x)*(1-x^7)/(1 -38*x +740*x^7 -703*x^8). - G. C. Greubel, Apr 26 2019
MATHEMATICA
CoefficientList[Series[(x^7 + 2 x^6 + 2 x^5 + 2 x^4 + 2 x^3 + 2 x^2 + 2 x + 1)/(703 x^7 - 37 x^6 - 37 x^5 - 37 x^4 - 37 x^3 - 37 x^2 - 37 x + 1), {x, 0, 20}], x ] (* Vincenzo Librandi, Apr 29 2014 *)
coxG[{7, 703, -37}] (* The coxG program is at A169452 *) (* G. C. Greubel, Apr 26 2019 *)
PROG
(PARI) my(x='x+O('x^20)); Vec((1+x)*(1-x^7)/(1-38*x+740*x^7-703*x^8)) \\ G. C. Greubel, Apr 26 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 20); Coefficients(R!( (1+x)*(1-x^7)/(1 -38*x +740*x^7 -703*x^8) )); // G. C. Greubel, Apr 26 2019
(Sage) ((1+x)*(1-x^7)/(1 -38*x +740*x^7 -703*x^8)).series(x, 20).coefficients(x, sparse=False) # G. C. Greubel, Apr 26 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
John Cannon and N. J. A. Sloane, Dec 03 2009
STATUS
approved