OFFSET
0,3
COMMENTS
This is row (or column) m=4 of the array T in A285357.
LINKS
D. E. Knuth (Proposer), Problem 12005, Amer. Math. Monthly 124 (No. 8, Oct. 2017), page 755. For the solution see op. cit., 126 (No. 7, 2019), 660-664.
Roberto Tauraso, Problem 12005, Proposed solution.
Index entries for linear recurrences with constant coefficients, signature (18,-139,604,-1627,2818,-3141,2176,-852,144).
FORMULA
a(n) = (4^(n+5)+(n-42)*3^(n+4)-9*(2*n-27)*2^(n+5)-36*n^3-486*n^2-2577*n-5398)/36.
G.f.: (x+8*x^2-47*x^3+6*x^4+104*x^5)/((1-x)^4*(1-2*x)^2*(1-3*x)^2*(1-4*x)).
MAPLE
seq((4^(n+5)+(n-42)*3^(n+4)-9*(2*n-27)*2^(n+5)-36*n^3-486*n^2-2577*n-5398)/36, n=0..20);
MATHEMATICA
num=(x+8*x^2-47*x^3+6*x^4+104*x^5); den=((1-x)^4*(1-2*x)^2*(1-3*x)^2*(1-4*x)); CoefficientList[Series[num/den, {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roberto Tauraso, Aug 02 2020
STATUS
approved