Monday, May 12, 2025

Magic squares complete view odd and even square matriX

 Magic squares

Magic squares are among the Mathematical amusements.

The sum of the first k natural numbers is 

k(k+1)2
.
  • In a magic square of size n x n , the sum of each row, column, and diagonal is the same.
  • Substitute k=n² into the formula:  
  • A magic square is a square array of integers from 1 to n² is said to be of order n. 

    The sum of the integers from  1 to n²  is 


    So in a magic square the numbers in each row column and diagonal have the magic sum 


    This is to be a magic square. Each row, column, and diagonal is to add to the same number. 
    How can this magic square be completed?

     Solution:


    Odd Square Matrix


    finding 4 corners    Value    D     C    A    B
    for matrix 3 x 3 

    finding 4 corners ValueDCAB
    n x nn + 1D - 2B + 2x n
    for matrix 3 x 31 x 3= 3
    3 + 1 = 4
    4 - 2 = 26+2=82 x 3 = 6
    5 x 52 x 5 = 10
    10+1 = 11
    11 - 2 = 915+2=173 x 5 = 15
    7 x 73 x 7 = 21
    21+1 = 22
    22 - 2 = 2028+2=304 x 7 = 28
    9 x 94x 9 = 36
    36 +1 =37
    37 - 2 = 3545 + 2 = 475 x 9 = 45
    11 x 115 x 11 = 55
    55 + 1 = 56
    56 - 2 = 5466 + 2 = 686 x 11 = 66
    13 x 136 x 13 = 78
    78 + 1 = 79
    79 - 2 = 7791 + 2 = 937 x 13 = 91
    15 x 157 x 15 = 105
    105 + 1 = 106
    106 - 2 = 104120 + 2 =1228 x 15 = 120
    17 x 178 x 17 = 136
    136 + 1 = 137
    137 - 2 = 135153 + 2 = 1559 x 17 =153
    19 x 199 x 19 = 171
    171 + 1 = 172
    172 - 2 = 170190 + 2 = 19210 x 19 = 190
    21 x 2110 x 21 = 210
    210 + 1 = 211
    211- 2 = 209231 + 2 = 23311 x 21 = 231

    3 x 3 odd square matrix  

    Sum is 15




    Sum is 6  ( Number can be repeated and use only1,2 & 3) 







    Sum is 18





    5 x 5 odd square matrix  

    Sum is 65








    Numbers 1 to 25
    Start 1 -- --- I First Row middle
    Complete 25 -- --- Last Row middle
    Number Entering Method
     L shape
    diagonal   /  if ends with no columns then L shape
    diagonal   /  if ends with filled column next to the Row ↓







    we can use this method for odd number matrix like 3,5,7,9,11,13,.....

    step by step images


















    Step 1










    7 x 7 odd square matrix  

    Sum is 175











    9 x 9 odd square matrix  

    Sum is 369











    11 x 11 odd square matrix  

    Sum is 671









    13 x 13 odd square matrix  

    Sum is 1105







    15 x 15 odd square matrix  

    Sum is 1695










    17 x 17 odd square matrix  

    Sum is 2465

















    19 x 19 odd square matrix  

    Sum is 3439










    21 x 21 odd square matrix  

    Sum is 4641










    10 x 10 EVEN square matrix  

    Sum is 505













    I TRIED UP TO 21 X 21 MATRIX 
    TRY MORE LEVEL 








    3×3 Magic Square Game using Integers

    Magic Square Solver Game
    🎯 Magic Square Solver Game
    Enter numbers 1 to 9 so each row, column, and diagonal totals the same.
    Click a cell to begin. Use arrows or type to move. Click Check to validate or Show Solution to reveal the correct answer.
    Row wise total
    Diagonal total
    Column wise total
    Diagonal total
    00:00

    WORKSHEET ch1 class 6

    WORKSHEET - Number pattern 1)  1,3,5,7, ________, ___________,  _______ Rule- ________________ 2)  2,4,6,8,________, ___________,  _______ R...