A218439 a(n) = A001609(n)^2, where g.f. of A001609 is x*(1+3*x^2)/(1-x-x^3).
1, 1, 16, 25, 36, 100, 225, 441, 961, 2116, 4489, 9604, 20736, 44521, 95481, 205209, 440896, 946729, 2033476, 4368100, 9381969, 20151121, 43283241, 92968164, 199685161, 428904100, 921243904, 1978737289, 4250127249, 9128847025, 19607840784, 42115658841
Offset: 1
Keywords
Examples
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 +...
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).
Programs
-
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 *)
-
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),", "))
Comments