OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,1,3,1,-1,-1).
FORMULA
EXAMPLE
O.g.f.: A(x) = x + x^2 + 16*x^3 + 25*x^4 + 36*x^5 + 100*x^6 + 225*x^7 +...
L.g.f.: L(x) = x + x^2/2 + 16*x^3/3 + 25*x^4/4 + 36*x^5/5 + 100*x^6/6 + 225*x^7/7 +...
where exponentiation yields the g.f. of A218438:
exp(L(x)) = 1 + x + x^2 + 6*x^3 + 12*x^4 + 19*x^5 + 48*x^6 + 110*x^7 +...
MATHEMATICA
Rest[CoefficientList[Series[x*(1 + 14*x^2 + 5*x^3 - 9*x^4 - 9*x^5)/((1 + x^2 - x^3)*(1 - x - 2*x^2 - x^3)), {x, 0, 50}], x]] (* G. C. Greubel, Apr 28 2017 *)
PROG
(PARI) {a(n)=polcoeff(x*(1+14*x^2+5*x^3-9*x^4-9*x^5)/((1+x^2-x^3)*(1-x-2*x^2-x^3+x*O(x^n))), n)}
for(n=1, 40, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 28 2012
STATUS
approved