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 squareMost perfect magic squares, explanationKhajuraho 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 squareThe perfect magic squareUltra pan magic 25x25 squarePan magic 27x27 squarePan magic 35x35 squareBordered squaresInlaid squareEach magic sumWater retention challengeMost magic 4x4x4 cubePerfect magic 8x8x8 cubeFavorite Links
Perfect magic squares
Bordered squares
<HOME>                         <<PREVIOUS]                         [NEXT>>



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 (for example) 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. We need 1 up to 10
plus two digits (out of 1 up to 10) double. The sum of 1 up to 10 is 55. If we choose 1 and 8 double, than
the sum of each 3 digits must be: [55 + 1 + 8] / 4 = 16. Solve the puzzle!

 
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
 

When you have solved the puzzle, 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
 
 
An 5x5 inlaid inside an 7x7 square, can be produced as follows:
 
Produce the column pattern and the row pattern of the 5x5 inlaid by using the method of construction on page
Pan magic 5x5 square. Take from the digits 0 up to 6 the five middle digits, 1 up to 5.
 
 
  Column pattern 5x5 inlaid square                               Row pattern 5x5 inlaid square
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
 
 
 
 
1
2
3
4
5
 
 
4
5
1
2
3
 
 
 
 
3
4
5
1
2
 
 
2
3
4
5
1
 
 
 
 
5
1
2
3
4
 
 
5
1
2
3
4
 
 
 
 
2
3
4
5
1
 
 
3
4
5
1
2
 
 
 
 
4
5
1
2
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The 5x5 inlaid square contains all combinations of the digits 1 up to 5. The border must contain all combinations of
the difgits 0 and/or 6. Establish that the sum of two opposite digits are allways 6 and the sum of every row and
every column is allways 21. Notify that 2x the middle digit from 0 up to 6 (=  3) must be placed in opposite corners
and the lowest and highest digits (= 0 and 6) must be placed in the same row or column:
 
 
                                                                                      Column pattern 7x7 border
3
 
 
 
 
 
0
 
 
3
1
2
4
5
6
0
0
 
 
 
 
 
6
 
 
0
 
 
 
 
 
6
6
 
 
 
 
 
0
 
 
6
 
 
 
 
 
0
0
 
 
 
 
 
6
 
 
0
 
 
 
 
 
6
6
 
 
 
 
 
0
 
 
6
 
 
 
 
 
0
0
 
 
 
 
 
6
 
 
0
 
 
 
 
 
6
6
 
 
 
 
 
3
 
 
6
5
4
2
1
0
3
 
 
Place the digits of the row pattern and establish that you get all combinations of the digits 0 and/or 6 between the
column pattern and the row pattern of the border (because the magic square must contain all the digits from 1 up
to 49):
 
 
  Row pattern 7x7 border
0
6
0
0
6
6
3
1
 
 
 
 
 
5
2
 
 
 
 
 
4
5
 
 
 
 
 
1
4
 
 
 
 
 
2
6
 
 
 
 
 
0
3
0
6
6
0
0
6
 
 
Take 7x a digit from the column pattern and add 1x a digit from the same cell of the row pattern and add 1 (to get the
digits 1 up to 49 instead of 0 up to 48).
 
 
  7x digit from column pattern                           +         1x digit from row pattern
3
1
2
4
5
6
0
 
 
0
6
0
0
6
6
3
0
1
2
3
4
5
6
 
 
1
1
2
3
4
5
5
6
4
5
1
2
3
0
 
 
2
3
4
5
1
2
4
0
2
3
4
5
1
6
 
 
5
5
1
2
3
4
1
6
5
1
2
3
4
0
 
 
4
2
3
4
5
1
2
0
3
4
5
1
2
6
 
 
6
4
5
1
2
3
0
6
5
4
2
1
0
3
 
 
3
0
6
6
0
0
6
 
 
                                +1                                     =         5x5 inlaid inside 7x7 square
21
13
14
28
41
48
3
 
 
22
14
15
29
42
49
4
1
8
16
24
32
40
47
 
 
2
9
17
25
33
41
48
44
31
39
12
15
23
4
 
 
45
32
40
13
16
24
5
5
19
22
30
38
11
43
 
 
6
20
23
31
39
12
44
46
37
10
18
26
29
2
 
 
47
38
11
19
27
30
3
6
25
33
36
9
17
42
 
 
7
26
34
37
10
18
43
45
35
34
20
7
0
27
 
 
46
36
35
21
8
1
28
 
 
You can use this method of construction also for a 7x7 inlaid inside a 9x9 square.
 


Website about the construction of  concentric magic squares
You can find information about the construction of concentric magic squares on website:

http://users.eastlink.ca/~sharrywhite/BorderedMagicSquares.html 
 
 
 
Webpage about the construction of an inlaid square
Find information about the construction of an inlaid square on this website:

www.perfectmagicsquares.com/inlaid_square.html




<HOME>                         <<PREVIOUS]                         [NEXT>>

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|Most perfect magic squares, explanation|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|The perfect magic square|Ultra pan magic 25x25 square|Pan magic 27x27 square|Pan magic 35x35 square|Bordered squares|Inlaid square|Each magic sum|Water retention challenge|Most magic 4x4x4 cube|Perfect magic 8x8x8 cube|Favorite Links