OFFSET
1,3
COMMENTS
LINKS
Heinrich Ludwig, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,-4,-20,40,16,-100,44,110,-110,-44,100,-16,-40,20,4,-5,1).
FORMULA
a(n) = (n^10 - 30*n^8 + 90*n^7 - 27*n^6 - 218*n^5 + 340*n^4 - 340*n^3 + 376*n^2 - 192*n)/960 + IF(MOD(n, 2) = 1, 2*n^5 - 9*n^4 + 14*n^3 - 6*n^2 - 4*n + 3)/64.
a(n) = 5*a(n-1) - 4*a(n-2) - 20*a(n-3) + 40*a(n-4) + 16*a(n-5) - 100*a(n-6) + 44*a(n-7) + 110*a(n-8) - 110*a(n-9) - 44*a(n-10) + 100*a(n-11) - 16*a(n-12) - 40*a(n-13) + 20*a(n-14) + 4*a(n-15) - 5*a(n-16) + a(n-17).
G.f.: x^3*(9 +261*x +2867*x^2 +13658*x^3 +38090*x^4 +62447*x^5 +67142*x^6 +41996*x^7 +15541*x^8 +955*x^9 -761*x^10 -278*x^11 -8*x^12 +x^13) / ((1 -x)^11*(1 +x)^6). - Colin Barker, Dec 18 2016
PROG
(PARI) concat(vector(2), Vec(x^3*(9 +261*x +2867*x^2 +13658*x^3 +38090*x^4 +62447*x^5 +67142*x^6 +41996*x^7 +15541*x^8 +955*x^9 -761*x^10 -278*x^11 -8*x^12 +x^13) / ((1 -x)^11*(1 +x)^6) + O(x^40))) \\ Colin Barker, Dec 18 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Heinrich Ludwig, Dec 18 2016
STATUS
approved