The magic sum is the magic square, which is a method of arranging numbers in a square grid so that the sum of the numbers in each row, column, and diagonal is equal.
Huan Fang was often seen in government offices and schools in the old days. It is to arrange the natural numbers from one to several numbers into a square with several numbers in the vertical and horizontal directions, so that the sums of several numbers in the same row, the same column and the same diagonal are equal.
Magic squares also have higher-order magic squares. High-order magic squares refer to those that still meet the magic square conditions when the numbers that make up the magic square are replaced by their 2, 3,...,k powers. , call this magic square k-th magic square.
In the magic square, the n-order magic square is an n-order square matrix composed of the first n^2 (n to the power of 2) natural numbers. Its rows, columns and two diagonals are The sum of n numbers contained is equal.
Extended information:
As for the origin of the magic square, China has the theories of "Hetu" and "Luoshu". According to legend, in ancient times, Fuxi conquered the world and governed the country in an orderly manner, which moved heaven. So a dragon horse jumped out of the Yellow River, carrying a map on its back, and presented it to him as a gift. This is the "River Map". It is also the earliest magic square.
The top ten masters of China Magic Square Association: Li Wen, Guo Xianqiang, Pan Fengchu, Su Maoting, Zhong Ming, Wu Shuoxin, Cao Ling, Niu Guoliang, Peng Baowang, Zeng Xuehan, they are all grassroots magic squares in China Expert, he has achieved a series of significant results in the academic research of magic squares, and many of his research results are ahead of his peers in magic square research in the world.
Reference: Baidu Encyclopedia-Magic Square