OFFSET
1,1
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
FORMULA
Empirical: a(n) = 2696*n^2 - 11224*n + 9904 for n > 5.
The above empirical formula is correct. See A186851 for details. - Andrew Howroyd, Jan 07 2023
EXAMPLE
Some solutions for 5 X 5:
0 0 0 0 1 0 2 0 0 0 0 5 0 0 0 0 1 0 0 0
0 3 0 0 0 0 0 0 3 0 0 0 0 2 0 3 0 0 0 0
0 0 0 2 0 1 0 0 0 0 4 0 0 0 0 0 0 2 5 0
0 0 4 0 0 0 0 4 0 0 0 0 3 0 1 0 4 0 0 0
0 0 0 0 5 0 0 0 0 5 0 0 0 0 0 0 0 0 0 0
PROG
(PARI) row(5, 30) \\ row(m, n) defined in A186851. - Andrew Howroyd, Jan 07 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 27 2011
EXTENSIONS
Terms a(25) and beyond from Andrew Howroyd, Jan 07 2023
STATUS
approved