OFFSET
0,2
COMMENTS
Number of 3 X n nonnegative integer matrices with all column sums equal to m, up to row and column permutation, is coefficient of x^n in expansion of 1 / 6 * (1 / (1 - x)^C(m + 2,2) + 3 / (1 - x)^floor((m + 2) / 2) / (1 - x^2)^(C(m + 2,2) - floor((m + 2) / 2)) / 2 + 2 / (1 - x)^(C(m + 2,2) - 3 * floor(C(m + 2,2) / 3)) / (1 - x^3)^floor(C(m + 2,2) / 3)).
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,0,-15,0,36,26, -80,-90,110,196,-54, -325,-80,360,245,-245, -360,80,325,54,-196, -110,90,80,-26, -36,0,15,0,-4,1).
FORMULA
G.f.: 1/6*(1/(1-x)^15+3/(1-x)^3/(1-x^2)^6+2/(1-x^3)^5).
PROG
(PARI) seq(n)=Vec(1/6*(1/(1-x)^15+3/(1-x)^3/(1-x^2)^6+2/(1-x^3)^5) + O(x*x^n)) \\ Andrew Howroyd, Oct 30 2025
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Nov 25 2000
EXTENSIONS
a(21) onward from Andrew Howroyd, Oct 30 2025
STATUS
approved
