Perfect magic squaresContact / guestbook3x3 magic square3x3 magic square, explanationSudoku method (1)Sudoku method (2)Sudoku method (3)Pan magic 4x4 squarePan magic 4x4 square, explanationTransformation methodPan magic 5x5 squarePan magic 5x5 square, explanation6x6 magic squareKhajuraho methodKhajuraho method, explanationBasic pattern method (1)Basic pattern method (2)Basic pattern method (3)Analysis Franklin panm. 8x8Basic key method (1)Basic key method (2)pan magic 9x9 squarePan magic 15x15 squarePan magic 27x27 squareBordered squaresEach magic sumWater retention challengeFavorite Links
Perfect magic squares
Bordered squares
How to produce bordered squares?
 
 
Introduction
There are 3 similar types of squares: inlaid squares, bordered squares and concentric squares. See for
the exact descriptions on the website of Harvey Heinz: www.magic-squares.net/glossary.htm

A bordered square is an (impure) magic square inside a bigger (pure) magic square. A bordered square
consist of the center magic square with a singular border around the center square. The center square
consist of the middle numbers of the magic square and the border contains the lowest numbers and their
complements (the highest numbers). See below a method of construction to produce even bordered
squares, an example of an odd bordered square and a reference to a website with (more complicated)
inlaid squares (= more squares inside a bigger magic square).
 
 
Even bordered squares
The smallest even bordered square is an (impure) 4x4 square inside a (pure) 6x6 square. A pure 6x6
square consist of all the digits from 1 up to 36.
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
 
27
28
29
30
31
32
33
34
35
36
-10
-9
-8
-7
-6
-5
-4
-3
-2
-1
 
 
Use the middle (yellow marked) 16 digits to produce the 4x4 inlaid square. Take for example the first basic
panmagic 4x4 square (see page ‘panmagic 4x4’) and add 10 to each digit.
 
 
  Pure 4x4                          +10 =     (impure) inlaid 4x4
1
8
13
12
 
 
11
18
23
22
15
10
3
6
 
 
25
20
13
16
4
5
16
9
 
 
14
15
26
19
14
11
2
7
 
 
24
21
12
17
 
 
To produce the border there are the following three boundary conditions:
    On the opposite of a possitive digit in the row, the column or the diagonal must be filled in the same
negative digit (= translation of the digits from 27 up to 36);
     In the top row, the bottom row, the left column and the right column must be filled in each time 6
different (3 positive and 3 negative) digits;
     The digits of the top row, the bottom row, the left column and the right column must each time total
to 0.
 
 
Produce the top row and the right column and fill in the digit 1 at the left corner on the top row. Because
the digit at the left corner on the top row is 1, at the right corner on the bottom row  the digit -1 must be
filled in. The digit (?) to be filled in at the right corner on the top row is in the top row as well as in the right
column.
 
 
1
 
 
 
 
?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
-1
 
 
In the top row and the right column must be filled in 4x 3 digits from (+/-) 1 up to 10. Because the digits from
the top row and the right column must total to 0, it will be wise to use 4x the same sum (2x positive and 2x
negative is 0). It will be also wise to choose a sum, which gives the maximum number of  possibilities to get
that sum with three digits out of 1 up to10. This sum can be calculated by multiplying the sum of 1 up to10,
\that is 55, with 3/10 (the choice of 3 digits out of 10); 55 x 3/10 = 16,5. Choose 16 or 17. If you choose 16,
than there are the following 10 possibilities to get 16 with three digits out of 1 up to 10:
 
1+5+10
1+6+ 9
1+7+ 8
2+4+10
2+5+ 9
2+6+ 8
3+4+ 9
3+5+ 8
3+6+ 7
4+5+ 7
 
Choose 4x 3 possibilities. Establish that in the four possibilities the digit 1 and another (?) are double (and the
other digits are single). See the four marked rows and notify that only the 1 and the 8 are double (so +/- 8
must be filled in at the right corner an the top row). The digits can be filled in as follows:
 
 
  Fill in 4 possibilities                                               Fill in opposite digits
1
6
9
-3
-5
-8
 
 
1
6
9
-3
-5
-8
 
 
 
 
 
2
 
 
-2
 
 
 
 
2
 
 
 
 
 
4
 
 
-4
 
 
 
 
4
 
 
 
 
 
10
 
 
-10
 
 
 
 
10
 
 
 
 
 
-7
 
 
7
 
 
 
 
-7
 
 
 
 
 
-1
 
 
8
-6
-9
3
5
-1
 
 
The final result is:
 
 
1
6
9
34
32
29
35
11
18
23
22
2
33
25
20
13
16
4
27
14
15
26
19
10
7
24
21
12
17
30
8
31
28
3
5
36
 
 
You can use this method of construction for all even bordered magic squares (6x6 inside 8x8, 8x8 inside 10x10,
10x10 inside 12x12, …).
 
 
Odd bordered squares
The smallest bordered square is an (impure) 3x3 square inside the (pure) 5x5 square. It is possible to use the 9
(sequencing) middle digits out of 1 up to 25 to produce the 3x3 center square; see the result below.
 
 
  3x3 inlaid inside 5x5 square
1
22
20
19
3
2
10
17
12
24
18
15
13
11
8
21
14
9
16
5
23
4
6
7
25
 
 
It is not possible to produce bigger odd bordered squares in the same way. I will try to find a method of construc-
tion to produce (bigger) odd bordered squares.
 
 
(more complicated) inlaid squares
You can find (more complicated) inlaid squares on the website of Harvey Heinz:
 

Perfect magic squares|Contact / guestbook|3x3 magic square|3x3 magic square, explanation|Sudoku method (1)|Sudoku method (2)|Sudoku method (3)|Pan magic 4x4 square|Pan magic 4x4 square, explanation|Transformation method|Pan magic 5x5 square|Pan magic 5x5 square, explanation|6x6 magic square|Khajuraho method|Khajuraho method, explanation|Basic pattern method (1)|Basic pattern method (2)|Basic pattern method (3)|Analysis Franklin panm. 8x8|Basic key method (1)|Basic key method (2)|pan magic 9x9 square|Pan magic 15x15 square|Pan magic 27x27 square|Bordered squares|Each magic sum|Water retention challenge|Favorite Links