OFFSET
1,1
LINKS
Zhuorui He, Table of n, a(n) for n = 1..1000 (first 200 terms from R. H. Hardin)
Christian Krause, Proof of formulas, Jun 12 2026.
Index entries for linear recurrences with constant coefficients, signature (15,-85,225,-274,120).
FORMULA
a(n) = 15*a(n-1) - 85*a(n-2) + 225*a(n-3) - 274*a(n-4) + 120*a(n-5).
G.f.: 5*x*(1145 - 14618*x + 65635*x^2 - 120826*x^3 + 75000*x^4) / ((1 - x)*(1 - 2*x)*(1 - 3*x)*(1 - 4*x)*(1 - 5*x)). - Colin Barker, Apr 01 2018
a(n) = 5*5^n + 120*4^n + 540*3^n + 1140*2^n + 1320. - Christian Krause, Jun 12 2026
E.g.f.: 5*(exp(5*x) + 24*exp(4*x) + 108*exp(3*x) + 228*exp(2*x) + 264*exp(x) - 625). - Stefano Spezia, Jun 17 2026
EXAMPLE
Some solutions for 3 X 5:
3 3 3 3 3 1 2 1 4 2 0 4 0 3 0 1 4 0 3 3
0 2 0 2 0 1 4 1 2 0 3 1 3 2 3 2 1 3 2 0
2 4 2 4 2 2 1 2 3 3 1 3 1 2 1 2 3 1 2 4
MATHEMATICA
A183647[n_] := 5*5^n + 120*4^n + 540*3^n + 1140*2^n + 1320;
Array[A183647, 25] (* Paolo Xausa, Jun 17 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Jan 06 2011
STATUS
approved
