OFFSET
1,1
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = 861896*n^2 - 6840120*n + 12695408 for n >= 12. - Andrew Howroyd, Jan 02 2023
EXAMPLE
Some solutions for 5 X 5:
0 0 0 0 0 0 3 8 0 0 0 0 0 4 7 3 0 5 0 0
0 0 7 0 0 0 0 0 0 0 2 5 8 0 0 6 0 2 0 0
0 0 2 5 0 2 0 4 7 0 0 0 3 6 0 0 4 7 0 1
3 6 0 8 0 0 6 0 0 0 0 1 0 0 0 0 0 0 0 0
0 1 4 0 0 0 1 0 5 0 0 0 0 0 0 0 8 0 0 0
PROG
(PARI) row(8, 30) \\ row(m, n) defined in A186851. - Andrew Howroyd, Jan 02 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 27 2011
EXTENSIONS
Terms a(8) and beyond from Andrew Howroyd, Jan 02 2023
STATUS
approved