login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A261816
Number of basic semimagic squares of order n that can be formed from the numbers 1, ..., n^2.
3
1, 0, 1, 477, 160845292
OFFSET
1,4
COMMENTS
In a basic semimagic square the entry in row 1, column 1, is smaller than the other entries.
Moreover, in a basic semimagic square of order n with n >= 3:
a) the entry in row 1, column 2, is smaller than the entry in row 2, column 1
b) every entry in row 1, column 1 < c < n, is smaller than the entry in row 1, column c + 1
c) every entry in row 1 < r < n, column 1, is smaller than the entry in row r + 1, column 1
For n > 1, the total number of semimagic squares of order n that can be formed from the numbers 1, ..., n^2 is a(n)*A048617(n) = A261815(n).
FORMULA
a(n) = A261815(n)/A048617(n) for n > 1.
EXAMPLE
An illustration of the unique basic semimagic square of order 3:
|---|---|---|
| 1 | 5 | 9 |
|---|---|---|
| 6 | 7 | 2 |
|---|---|---|
| 8 | 3 | 4 |
|---|---|---|
CROSSREFS
Sequence in context: A325822 A224453 A227706 * A352265 A020375 A031788
KEYWORD
nonn,hard,more
AUTHOR
STATUS
approved