Current location - Training Enrollment Network - Mathematics courses - What is the rule of filling the 25 numbers 1 to 25 into a 5×5 grid to make the sum of the five numbers on the diagonal equal, and how is it calculated?
What is the rule of filling the 25 numbers 1 to 25 into a 5×5 grid to make the sum of the five numbers on the diagonal equal, and how is it calculated?
23 2 6 15 19

1 1 20 24 3 7

4 8 12 16 25

17 2 1 5 9 13

10 14 18 22 1

Line sum:

23 + 2 + 6 + 15 + 19 = 65

1 1 + 20 + 24 + 3 + 7 = 65

4 + 8 + 12 + 16 + 25 = 65

17 + 2 1 + 5 + 9 + 13 = 65

10 + 14 + 18 + 22 + 1 = 65

Column total:

23 + 1 1 + 4 + 17 + 10 = 65

2 + 20 + 8 + 2 1 + 14 = 65

6 + 24 + 12 + 5 + 18 = 65

15 + 3 + 16 + 9 + 22 = 65

19 + 7 + 25 + 13 + 1 = 65

Diagonal sum:

23 + 20 + 12 + 9 + 1 = 65

19 + 3 + 12 + 2 1 + 10 = 65

Dinghe: 65