strategies
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| strategies [2024/07/29 17:23] – [An efficient method to find magic squares] mino | strategies [2025/08/03 15:42] (current) – [Complementary pair] mino | ||
|---|---|---|---|
| Line 43: | Line 43: | ||
| the largest complement of row/column magic series. | the largest complement of row/column magic series. | ||
| - | We can omit counting the case 2. by doubling the count for the case 1 because the cases 1. and 2. transform into each other under the complementary transformation, | + | We can omit counting the case 2 by doubling the count for the case 1 because the cases 1 and 2 transform into each other under the complementary transformation, |
| Note that all squares in the case 3. are not necessarily self-complementary. You may break down the case 3. into finer cases to reduce redundancy further if you can handle them with low overhead. | Note that all squares in the case 3. are not necessarily self-complementary. You may break down the case 3. into finer cases to reduce redundancy further if you can handle them with low overhead. | ||
| Line 56: | Line 56: | ||
| * Thus the final question is: | * Thus the final question is: | ||
| * "Can we make the up-diagonal candidate magic series aligned correctly by permuting conjointly rows and columns?" | * "Can we make the up-diagonal candidate magic series aligned correctly by permuting conjointly rows and columns?" | ||
| - | * The answer is "It depends" | + | * The answer is "It depends" |
| * An up-diagonal candidate can be aligned correctly //**only if**// it is symmetric under the row-column exchange. | * An up-diagonal candidate can be aligned correctly //**only if**// it is symmetric under the row-column exchange. | ||
| * While we cannot simply claim that symmetric patterns are always transformable into the up-diagonal line, it is an easy task to check all symmetric patterns of up-diagonal candidates for a specific small N. We have only {{ : | * While we cannot simply claim that symmetric patterns are always transformable into the up-diagonal line, it is an easy task to check all symmetric patterns of up-diagonal candidates for a specific small N. We have only {{ : | ||
| Line 66: | Line 66: | ||
| * Let us denote (the arrangements of) the down and up diagonal candidates as d and u, respectively, | * Let us denote (the arrangements of) the down and up diagonal candidates as d and u, respectively, | ||
| * Permuting columns to make the down diagonal candidate diagonal corresponds to multiplying by d< | * Permuting columns to make the down diagonal candidate diagonal corresponds to multiplying by d< | ||
| - | * The current arrangement of the up diagonal candidate ud< | + | * The current arrangement of the up diagonal candidate ud< |
| * Practically, | * Practically, | ||
strategies.1722241432.txt.gz · Last modified: 2024/07/29 17:23 by mino
