Nine palace map formula
In the meaning of the Nine Palaces, the Buddhism takes Gui
Nine palace map formula
In the meaning of the Nine Palaces, the 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.
The tortoise recited Luo's letter.
In the 23rd century BC, when Dayu was harnessing water, a turtle suddenly appeared in Luoshui, a tributary of the Yellow River. At that time, Dayu and the soldiers who were in charge of water conservancy were looking at the water situation of Luohe River by the river and discussing the plan to control the Yellow River. It's strange to meet a turtle tossing up and down in the river. I saw this turtle walking around on the water, swimming around, with a huge figure and a flat back.
A closer look reveals that there are nine patterns of mottling on the armor. Dayu asked the soldiers to write down the layout of the mottled pattern and take it back for in-depth study. He was surprised to find that the nine patterns of the spot were the nine numbers 1-9, and the positions of the numbers were quite clever. The sum of three numbers on six vertical and horizontal lines and two diagonal lines is 15, which is both balanced and symmetrical, profound and interesting.
Inspired, Dayu divided rain into nine categories with reference to nine numbers, and also divided general political affairs into nine Olympics. According to historical records. Xia Benji wrote: "When Yu Xia was controlling water, water was allowed to flow on the left and water was controlled on the right, and four seasons were implemented, which made Kyushu open, nine roads open and nine rivers evil ..." Dayu's water control was based on Jiugong, and it was applied to surveying, mapping, meteorology, geography and transportation, thus governing the Yellow River, which was a great success and won the support of people on both sides of the Yellow River. Because the picture on the turtle's back was found in Luoshui, a tributary of the Yellow River, and the content in the picture is profound, people call it Luoshu.
structured approach
There is a mathematical method for this odd number problem, and a solution can be constructed. It's more troublesome to describe.
How to construct the solution:
First, set 1 at the center of the bottom row of the whole matrix.
Then fill in 2, 3, 4, 5, 6, 7, ...
Pay attention to turn the number to the top when touching the bottom, and turn to the left when touching the right.
For example, in a 5*5 Rubik's Cube, if 1 is filled with (5,3), 2 is filled with (1 4) and 4 is filled with (3,0/). ...
In addition, when there is a number below the original number, the number to be filled in should be filled right above the original number.
Let's take the 5*5 Rubik's Cube as an example. When 5 is filled with (4,2), its lower right is 1. You can't fill in 6 there, you have to fill in (3,2), which means more than 5.
Finally, a special point, the lower right corner, should also fill in the new number above the lower right corner.
Supplement: One person wears nine shoes, three on the left, seven on the right, two on four shoulders, six on eight feet and five in the middle.
Nine palace map (also known as Luo Shu or He Tu)
Nine palace map knows (that's a bit of a problem), that is, fill the nine numbers 1~9 to 3x3, so that the sum of each transverse slope is equal, as follows:
4 9 2
3 5 7
8 1 6
Later, it has been expanded into digital art, which can be expanded infinitely (because there are rules to be found, it is said that someone has done it 1999X 1999, or is it bigger than this? )
Say 5*5 first.
17 24 0 1 08 15
23 05 07 14 16
04 06 13 20 22
10 12 19 2 1 03
1 1 18 25 02 09
4*4 is here.
16 02 03 13
05 1 1 10 08
09 07 06 12
04 14 15 0 1