OFFSET
1,3
COMMENTS
Row 5 of A187286.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..50
FORMULA
Empirical: a(n) = 2540*n^2 - 12896*n + 14016 for n>7.
Conjectures from Colin Barker, Apr 22 2018: (Start)
G.f.: 4*x^3*(180 + 604*x + 518*x^2 + 78*x^3 - 24*x^4 - 64*x^5 - 15*x^6 - 7*x^7) / (1 - x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>10.
(End)
EXAMPLE
Some solutions for 4 X 4:
0 5 1 0 0 0 2 1 5 0 0 0 3 0 4 5 0 0 1 0
0 0 0 0 0 0 0 0 4 3 0 0 2 0 0 0 0 0 2 0
0 4 2 3 5 4 3 0 0 0 0 0 0 0 0 0 5 4 3 0
0 0 0 0 0 0 0 0 0 2 0 1 1 0 0 0 0 0 0 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 08 2011
STATUS
approved