Skip to content

Commit 9fcbce9

Browse files
committed
Add missing value in magic square
1 parent be3569e commit 9fcbce9

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

en/Basic Math/magic_square.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A magic square puzzle of the `n` order is an organization of `n²` numbers, usua
1515
As mentioned above, the formula of the magic square sum is n(n² + 1)/2.\
1616
For a magic square of order 3, we need to substitute n = 3 to know the magic sum so that we can easily form the magic square 3×3.
1717

18-
When `n = 3`, the sum = 3(3*3 + 1) = 3(9 + 1)/2 = (3 × 10)/2 = 15\
18+
When `n = 3`, the sum = 3(3\*3 + 1)/2 = 3(9 + 1)/2 = (3 × 10)/2 = 15\
1919
Now, we have to place the numbers in the respective places so that the sum of numbers in each row, column and diagonal is equal to 15.
2020

2121
## Magic Square Trick for order 3
@@ -35,36 +35,38 @@ The cell above x is taken as y – 1 as given below:
3535
![magic-square-1](https://user-images.githubusercontent.com/106215707/192823521-c992c61b-055a-4af8-b697-71fb0ed22566.png)
3636
![magic-square-2](https://user-images.githubusercontent.com/106215707/192823583-8a375043-21d7-4a74-b2d8-119a6ca727eb.png)
3737

38-
3938
Let us make the complementary magic square of the above square.
4039

4140
`(n² + 1) = 32 + 1 = 9 + 1 = 10`
4241

4342
Now, subtract each number from (n² + 1), i.e. from 10.
4443

4544
- First row numbers:
46-
- 10 – 4 = 6
47-
- 10 – 3 = 7
45+
46+
- 10 – 4 = 6
47+
- 10 – 3 = 7
4848
- 10 – 8 = 2
4949

5050
- Second row numbers:
51-
- 10 – 9 = 1 ,
52-
- 10 – 5 = 5 ,
51+
52+
- 10 – 9 = 1 ,
53+
- 10 – 5 = 5 ,
5354
- 10 – 1 = 9
5455

5556
- Third row numbers:
56-
- 10 – 2 = 8 ,
57-
- 10 – 7 = 3 ,
57+
- 10 – 2 = 8 ,
58+
- 10 – 7 = 3 ,
5859
- 10 – 6 = 4
5960

60-
6161
![magic-square-3](https://user-images.githubusercontent.com/106215707/192823650-21655cfe-0b8f-4bcb-b7d0-76280770c615.png)
6262

63+
# REFERENCE
6364

64-
65-
# REFERENCE
6665
## website:-
66+
6767
- [Byjus](https://byjus.com/maths/magic-square/)
6868
- [geeksforgeeks](https://www.geeksforgeeks.org/magic-square/)
69+
6970
## Youtube:-
71+
7072
- [video](https://www.bing.com/videos/search?q=magic+square&&view=detail&mid=26BE595B719B8B532E5126BE595B719B8B532E51&&FORM=VRDGAR&ru=%2Fvideos%2Fsearch%3Fq%3Dmagic%2Bsquare%26FORM%3DHDRSC3)

0 commit comments

Comments
 (0)