Help with majic square math problem

Geraldine1

New member
Joined
Oct 20, 2012
Messages
3
Sqaure is 3 by 3

Top row: Left to right 5 and 6 in first 2 squares, third is blank
Second row: left to right first square blank, second is 7 and third blank
Third row: left to right, all squares blank

any help would me so much apprciated.
thank you
 
Hello, Geraldine1!

The Magic Square is 3 by 3

1st row: Left to right 5 and 6 in first 2 squares, third is blank
2nd row: left to right first square blank, second is 7 and third blank
3rd row: left to right, all squares blank

Any help would be so much apprciated.

We have: . \(\displaystyle \begin{array}{|c|c|c|} \hline 5&6& \\ \hline &7& \; \\ \hline \;&\;&\; \\ & & \\ \hline \end{array}\)

I assume the sums of the rows and the columns
. . and the two diagonals are equal.


Here is one solution . . .

. . \(\displaystyle \begin{array}{|c|c|c|} \hline 5&6&10 \\ \hline 12&7&2 \\ \hline 4&8&9 \\ \hline \end{array}\)
 
Help with majic math problem

Thank you for feedback and for taking the time to have a look at problem posted.

I think I have made a mistake with this. The method I followed was

x squares by 3 = 9
than add 1 = 10
x by 3 = 30
the divded by 2 = 15
15 is the number I have using to solve problem.

I am not sure if I have completed first method correctly.

Kind Regards
Gealdine
 
Hello again, Geraldine1!

It would have saved me a lot of work
. . if you had given us the entire problem.


15 is the number I have used to solve problem.

Who told you to use that formula?
And why didn't you tell us about the "15"?


If 15 is the "magic sum",
. . we may be expected use the numbers 1 to 9.

One solution is: .\(\displaystyle \begin{array}{|c|c|c|}\hline 8&1&6 \\ \hline 3&5&7 \\ \hline 4&9&2 \\ \hline \end{array}\)

But "consecutive numbers" is impossible if the central number is "7".


We can have: .\(\displaystyle \begin{array}{|c|c|c|} \hline 5&6&4 \\ \hline 0&7&8 \\ \hline 10&2&3 \\ \hline \end{array}\)


So . . . are there any more surprises?
 
Help with majic math problem

Hi Am sorry it my post created a lot of work. Thank you for your feedback.
Geraldine
 
Sqaure is 3 by 3

Top row: Left to right 5 and 6 in first 2 squares, third is blank
Second row: left to right first square blank, second is 7 and third blank
Third row: left to right, all squares blank

any help would me so much apprciated.
thank you

As already pointed out to you, the 3 cell magic square with the numbers you gave cannot add up to 15.

Before getting into the mechanical or systematic methods of creating magic squares, let me first show you that it is possible to create one by means of simple logic, although probably only for the 3 cell square.
The usual 3 cell magic square problem is posed as, "Place the numbers 1 through 9 in the 9 cells of the 3x3 square such that each row, each column, and each diagonal add up to the same total."
Of course, the typical trial and error approach will ultimately get you to an answer but the more rewarding method is your own intuition and logic. Lets see where this takes us.
The first thing you might ask yourself is what is the total that we are seeking with the 9 digits. Since all three rows or columns must add up to the same total, it stands to reason that the sum of the rows or columns must, by definition, add up to the sum of the 9 digits, which turns out to be 45. Therefore, each row or column must add up to 45/3 = 15.
You might notice that 8 of the digits we are using just happen to add up to 10, 1+9, 2+8, 3+7, and 4+6. It might also occur to you that the middle number of the 9 digits, the 5, would most logically want to be in the middle cell with the others located around it all adding up to 15. Where to start?
What if the 9 were located on a corner? Since all three lines of numbers, including that corner 9, must toal 15, we would need three pairs of numbers that each add up to 6. Of course, this is impossible as we only have 1+5 and 2+4 at our disposal thus forcing the 9 to be located in the middle cell of one of the sides. Lets try the middle
cell of the bottom row (it could be any of the four available positions) which forces the 1 to be in the middle cell of the top row.
.................................? 1 ?
.................................? 5 ?
.................................? 9 ?

Looking at our bottom row now, we notice that the two outer numbers must add up to 6 and we only have 2+4 available to us. For a reason that will become obvious later, lets try the 2 in the lower right hand corner and the 4 in the lower left hand corner.
.................................? 1 ?
.................................? 5 ?
.................................4 9 2

What do you know? It looks like our intuition can take a rest now as the other seem to all just fall into place. The upper left cell must be an 8, the upper right must be a 6, and of course, the middle left is forced to be a 3 and the middle right becomes the 7. Here we are, and just by thinking it through.

.................................8 1 6

.................................3 5 7

.................................4 9 2

Note that the outer numbers can be rotated clockwise or counterclocwise to define 7 additional arrangements. Mirror imaging about both vertical and horizontal axes as well as the diagonal axes will produce more. See how many different ones you can define overall.

Now we will get back to the more traditional method.

The simplest magic square has 3 cells on a side, or 9 cells altogether. We call this a three square. The simplest three square is one where you place the numbers from 1 to 9, inclusive, in each cell in such a way that the sum of every horizontal and vertical row as well as the two diagonal rows add up to the same number. This basic 3 cell square, adding up to 15, looks like the following (looks familiar):

8 1 6
3 5 7
4 9 2

This 3 cell square has some other strange characteristics. All of the four lines that pass through the center are in arithmetic progression having differences of 1, 2, 3, and 4. Notice also that the squares of the first and third columns are equal, i.e., 8^2 + 3^2 + 4^2 = 6^2 + 7^2 + 2^2 = 89. The sum of the middle column squares is 1^2 + 5^2 + 9^2 = 107 which is equal to 89 + 18. The sum of the squares in the rows total 101, and 83 and, strangely enough, 101 - 83 = 18.

Other three cell magic squares can be created where the rows all add up to other numbers, the only constraint being that the sums of the rows must be divisible by 3. For instance, magics square adding up to 42 and 48 would look like this:

17 10 15 22 8 18

12 14 16 12 16 20

13 18 11 14 24 10

While we have only looked at three cell magic squares so far, you might have noticed a couple of things that turn out to be fundamental to all odd cell magic squares. First, the center square number is the middle number of the group of numbers being used or the sum of the first number and the last number divided by 2; it is also equal to the row total divided by the number of cells in the square.

Your next logical question is bound to be,"How does one create such squares? Well, I will try to explain it in words without a picture.
First draw yourself a three cell square with a dark pencil and place the numbers 1 through 9 in them as shown above. Now, above squares 1 and 6 draw two light lined squares just for reference. Similarly, draw two light lined squares to the right of squares 6 and 7. Their use will become obvious as we go along. Always place the first number being used in your square in the top center square, number one in our illustration. Now comes the tricky
part. We now wish to locate the number 2 in its proper location. Move out of the number 1 box, upward to the right, at a 45 degree angle, into the light lined box. Clearly this imaginary box is outside the boundries of our three cell square. What you do is drop down to the lowest cell in that column and place the 2. Now for the 3, move upward to the right again into the light lined box next to the number 7. Again you are outside the three cell square
so move all the way over to the left in that row and place the 3. Now you will notice that you cannot move upward to the right as you are blocked by the number 1. Merely drop down one row and place the 4 directly below the 3. Move upward to the right and place the 5. Again, move upward to the right and place the 6. You now cannot move upward to the right as there is no imaginary square there for you to move into. Merely drop down one cell and place
the 7 directly below the 6. Now move upward and to the right again and you are outside the square again. As before, merely move all the way over to the left cell in that row and place the 8. Moving upward and to the right again, you are outside the square again so merely drop down to the bottom cell in that column and place the 9. This exact same pattern is followed no matter what the rows and columns add up to.
You can also enter the numbers starting in the center box of the right column, the center box of the bottom row, or the center box of the left column as long as you follow the same pattern of locating numbers. If you were to do this you would end up with the following squares:

4 3 8.........2 9 4..........6 7 2
9 5 1.........7 5 3..........1 5 9
2 7 6.........6 1 8..........8 3 4

Moving all the outer numbers one or more boxes clockwise, or counterclockwise, also produces the same result.

Your next question is bound to be, "How does one create a magic 3 square that adds up to something other than 15?" There are two ways to create magic square for your friends. First, ask them for a number, say no more than 2 digits. You then proceed to place their number in the top center cell and continue to fill in the square, in the same basic pattern we just described above, telling them that when you are done, the rows, columns, and diagonals will all add up to a specific number.
The second way to create a magic square is to ask them for a number larger than 15 that is divisible by three. You then proceed to fill in all the cells in the same pattern such that the rows, columns, and diagonals add up to the number they gave you. Here is how you do it.
In the first method, ask them for a number, say from 1 to 25, but it can be any number. Lets say they give you 17. In your head, multiply 17 times 3 and add 12, such that 3(17) + 12 = 63. You now place the number 17 in the top center cell, continue to place 18, 19, 20, 21, 22, 23, 24, and 25 in the the cells in the same pattern as you placed the numbers 1 thru 9 above. As you are doing this, you tell them that when you are done, every row, column, and the two diagonals will add up to 63. What magic.



Many types of Magic Squares are possible. Fractional, palindromic, arithmetic, odd cell, even cell, to name a few.
 
It would have saved me a lot of work if you had given us the entire problem.


I claim that this sort of time-wasting is avoidable by requiring first-time posters to follow our posting guidelines, versus immediately defaulting to camera-ready copy. In other words, soroban, I'm thinking that you "asked for it". :cool:
 
Top