Current location - Training Enrollment Network - Mathematics courses - How to solve the third-order magic square and the fourth-order magic square
How to solve the third-order magic square and the fourth-order magic square
First-order and third-order magic squares

Merzirac's formula for generating odd-numbered magic squares: (applicable to all odd-numbered magic squares, 3×3, 5×5, etc. )

1? In the middle of the rising line, don't forget to fill it diagonally in turn. Write down the boundaries of the upper and lower boxes, and put the left box on the left. If it is repeated, fill in the box below and repeat it at the corner.

The third-order magic square is an odd-order magic square, which is filled in according to the formula, as shown in the following figure:

There is more than one solution to the third-order magic square. There are seven forms, * * * eight forms. Turn the third-order Rubik's Cube (Jiugongge) and mirror it (turn it over).

The sum of the third-order magic square is equal, and this sum is called magic square sum = 15.

The filling formula of Jiugongge in ancient China is:

In the sense of the Nine Palaces, Buddhism takes Gui Ling as the shoulder, 24 as the shoulder, 68 as the foot, 3 as the left, 7 as the right, 9 as the shoe and 5 as the heart.

Second-and fourth-order magic squares

The formula of generating double even magic square by spring method;

Fill in the numbers in turn and exchange them symmetrically around the center point.

The fourth-order magic square is the simplest dichotomy magic square, and its method is as follows:

Step 1: Fill in the numbers in sequence. First, put 1 on any of the four corners of the fourth-order Rubik's cube, and fill the rest of the numbers in the same direction in turn.

The second step is to exchange numbers symmetrically with the center point. (There are two methods of symmetric exchange)

Method 1: Symmetrically exchange the numbers on the diagonal with the central point (i.e. 1- 16, 4- 13, 6- 1 1 7- 10 exchange) to complete the magic square and magic sum 34.

Method 2: Symmetrically exchange off-diagonal numbers with the central point (i.e. 2- 15, 3- 14, 5- 12, 8-9 exchange) to complete the magic square and magic sum 34.