| LINKS
|
Colin Barker, <a href="/A294304/b294304.txt">Table of n, a(n) for n = 1..1000</a>
<a href="/index/Rec#order_21">Index entries for linear recurrences with constant coefficients</a>, signature (1,10,-10,-45,45,120,-120,-210,210,252,-252,-210,210,120,-120,-45,45,10,-10,-1,1).
|
| FORMULA
|
From Colin Barker, Nov 20 2017: (Start)
G.f.: x^3*(513 + 19171*x + 257526*x^2 + 1741732*x^3 + 7493904*x^4 + 21619738*x^5 + 45264042*x^6 + 69257104*x^7 + 80125470*x^8 + 69325060*x^9 + 45264042*x^10 + 21693364*x^11 + 7493904*x^12 + 1755838*x^13 + 257526*x^14 + 19672*x^15 + 513*x^16 + x^17) / ((1 - x)^11*(1 + x)^10).
a(n) = a(n-1) + 10*a(n-2) - 10*a(n-3) - 45*a(n-4) + 45*a(n-5) + 120*a(n-6) - 120*a(n-7) - 210*a(n-8) + 210*a(n-9) + 252*a(n-10) - 252*a(n-11) - 210*a(n-12) + 210*a(n-13) + 120*a(n-14) - 120*a(n-15) - 45*a(n-16) + 45*a(n-17) + 10*a(n-18) - 10*a(n-19) - a(n-20) + a(n-21) for n>21.
(End)
|
| PROG
|
(PARI) concat(vector(2), Vec(x^3*(513 + 19171*x + 257526*x^2 + 1741732*x^3 + 7493904*x^4 + 21619738*x^5 + 45264042*x^6 + 69257104*x^7 + 80125470*x^8 + 69325060*x^9 + 45264042*x^10 + 21693364*x^11 + 7493904*x^12 + 1755838*x^13 + 257526*x^14 + 19672*x^15 + 513*x^16 + x^17) / ((1 - x)^11*(1 + x)^10) + O(x^40))) \\ Colin Barker, Nov 20 2017
|