OFFSET
1,3
COMMENTS
Row 7 of A188147.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..50
FORMULA
Empirical: a(n) = 780*n^2 - 3960*n + 4432 for n>5.
Conjectures from Colin Barker, Apr 27 2018: (Start)
G.f.: 4*x^3*(28 + 228*x + 186*x^2 - 18*x^3 - 29*x^4 - 5*x^5) / (1 - x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>8.
(End)
EXAMPLE
Some solutions for 3 X 3:
5 4 3 0 6 7 2 3 4 6 7 0 0 7 0 7 4 3 1 0 0
6 0 2 4 5 0 1 0 5 5 2 1 1 6 5 6 5 2 2 7 6
7 0 1 3 2 1 0 7 6 4 3 0 2 3 4 0 0 1 3 4 5
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 22 2011
STATUS
approved