论文部分内容阅读
将9个整数填入3×3的9格方阵中,使各行各列及对角线的三个数之和都相等,这样的数阵就是3阶幻方.本文将向大家介绍用“巴舍法”填幻方.在9格幻方的每边的中间向外各画一个虚线方格,如图1.然后将—1,—2,—3,…,—9这9个数字按从大到小依次填入3排斜行中,如图2.再把虚线格内的数字填人相对的方格内,如图3,得出幻方.这就是“巴舍法”.利用这种方法,我们再来填一些幻方.
Put 9 integers into a 3×3 matrix of 9 squares so that the sum of the three numbers in each row, column, and diagonal is equal. This number matrix is the third-order magic square. This article will introduce you to Bash method fills up the magic square. Draw a dotted square in the middle of each side of the 9 magic squares, as shown in Figure 1. Then the nine numbers -1, -2, -3, ..., -9 From the largest to the smallest, fill in 3 rows of slanting rows, as shown in Figure 2. Then fill the numbers in the dotted square with the opposite squares, as shown in Figure 3, to get the magic square. This is the “Basher method”. Using this method, let’s fill in some magic squares.