File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ A magic square puzzle of the `n` order is an organization of `n²` numbers, usua
15
15
As mentioned above, the formula of the magic square sum is n(n² + 1)/2.\
16
16
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.
17
17
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\
19
19
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.
20
20
21
21
## Magic Square Trick for order 3
@@ -35,36 +35,38 @@ The cell above x is taken as y – 1 as given below:
35
35
![ magic-square-1] ( https://user-images.githubusercontent.com/106215707/192823521-c992c61b-055a-4af8-b697-71fb0ed22566.png )
36
36
![ magic-square-2] ( https://user-images.githubusercontent.com/106215707/192823583-8a375043-21d7-4a74-b2d8-119a6ca727eb.png )
37
37
38
-
39
38
Let us make the complementary magic square of the above square.
40
39
41
40
` (n² + 1) = 32 + 1 = 9 + 1 = 10 `
42
41
43
42
Now, subtract each number from (n² + 1), i.e. from 10.
44
43
45
44
- First row numbers:
46
- - 10 – 4 = 6
47
- - 10 – 3 = 7
45
+
46
+ - 10 – 4 = 6
47
+ - 10 – 3 = 7
48
48
- 10 – 8 = 2
49
49
50
50
- Second row numbers:
51
- - 10 – 9 = 1 ,
52
- - 10 – 5 = 5 ,
51
+
52
+ - 10 – 9 = 1 ,
53
+ - 10 – 5 = 5 ,
53
54
- 10 – 1 = 9
54
55
55
56
- Third row numbers:
56
- - 10 – 2 = 8 ,
57
- - 10 – 7 = 3 ,
57
+ - 10 – 2 = 8 ,
58
+ - 10 – 7 = 3 ,
58
59
- 10 – 6 = 4
59
60
60
-
61
61
![ magic-square-3] ( https://user-images.githubusercontent.com/106215707/192823650-21655cfe-0b8f-4bcb-b7d0-76280770c615.png )
62
62
63
+ # REFERENCE
63
64
64
-
65
- # REFERENCE
66
65
## website:-
66
+
67
67
- [ Byjus] ( https://byjus.com/maths/magic-square/ )
68
68
- [ geeksforgeeks] ( https://www.geeksforgeeks.org/magic-square/ )
69
+
69
70
## Youtube:-
71
+
70
72
- [ video] ( https://www.bing.com/videos/search?q=magic+square&&view=detail&mid=26BE595B719B8B532E5126BE595B719B8B532E51&&FORM=VRDGAR&ru=%2Fvideos%2Fsearch%3Fq%3Dmagic%2Bsquare%26FORM%3DHDRSC3 )
You can’t perform that action at this time.
0 commit comments