OFFSET
1,2
LINKS
J. Volkmar Schmidt, Table of n, a(n) for n = 1..50
Index entries for linear recurrences with constant coefficients, signature (3, -3, 1).
FORMULA
a(n) = 56*n^2 - 144*n + 88 = 8*(n-1)*(7*n-11).
G.f.: 8*x^2*(3+11*x)/(1-x)^3. - Colin Barker, Jan 22 2012
EXAMPLE
Some solutions for 3 X 3:
0 0 0 0 1 0 2 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 3
3 0 0 2 3 0 3 0 0 0 2 3 0 1 0 0 0 0 2 0 0 0 2 0
2 1 0 0 0 0 0 0 0 0 0 0 3 2 0 1 2 3 3 0 0 0 0 0
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Feb 27 2011
EXTENSIONS
a(29)-a(42) from J. Volkmar Schmidt, Sep 03 2023
STATUS
approved