OFFSET
0,1
REFERENCES
R. K. Guy, personal communication.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,0,-4,0,0,1).
FORMULA
G.f.: (4 - 3*x - 7*x^2 + x^5)/(1 - 3*x + 4*x^3 - x^6). - R. J. Mathar, Feb 11 2016
MATHEMATICA
LinearRecurrence[{3, 0, -4, 0, 0, 1}, {4, 9, 20, 44, 96, 209}, 30] (* G. C. Greubel, Mar 24 2019 *)
PROG
(PARI) my(x='x+O('x^30)); Vec((4-3*x-7*x^2+x^5 )/(1-3*x+4*x^3-x^6)) \\ G. C. Greubel, Mar 24 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 30); Coefficients(R!( (4-3*x-7*x^2+x^5 )/(1-3*x+4*x^3-x^6) )); // G. C. Greubel, Mar 24 2019
(Sage) ((4-3*x-7*x^2+x^5 )/(1-3*x+4*x^3-x^6)).series(x, 30).coefficients(x, sparse=False) # G. C. Greubel, Mar 24 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved