English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

will the logical pattern work if the sum is a different number?

2007-12-26 09:30:40 · 0 answers · asked by ayeeeeo 1 in Science & Mathematics Mathematics

0 answers

There are a couple of issues to address here. First, in a normal magic square, that is, a magic square that uses consecutive integers starting from 1, the sum of each column/diagonal/row must be fifteen. In order to sum to 30, you will need to take your "normal"solution and multiply each number by two.



Second, there are lots of patterns for producing magic squares.

For a 3x3, the one I remember from school is to put "1" in the middle of the top row. And then each number is added by moving diagonally up and to the right; if this move causes the number to leave the square, you put the number in either the bottom row or left column. If the move puts you in conflict with an already occupied space, then put the number directly below your current number.

So, if you start with 1 in the top center, the number two goes in the lower right (since the diagonal move puts it out of the square). 3 goes in the middle row first column; 4 would encounter 1, so put in under 3. Five goes in the middle of the square, 6 is in the upper right...follow this pattern to get:

8 1 6
3 5 7
4 9 2

for this to sum to 30, just mult by two:

16 2 12
6 10 14
8 18 4

I know my explanation of how to construct this is a little tortured; see the description at:

http://en.wikipedia.org/wiki/Magic_square#The_construction_of_a_magic_square_using_genetic_algorithms

and look for the section on a method for constructing a magic square of odd order"

have fun, these are really interesting mathematical structures

2007-12-26 09:59:25 · answer #1 · answered by kuiperbelt2003 7 · 1 0

Magic Square Solver 3x3

2016-11-07 05:32:43 · answer #2 · answered by Anonymous · 0 0

You could, for example, start with a 3x3 magic square that has the numbers 1 through 9 and sums of 15. Then just add 5 to each individual value in the square so that the sum comes out to 30 instead of 15.

2007-12-26 09:40:21 · answer #3 · answered by Anonymous · 4 0

3x3 Magic Square Solver

2017-01-03 09:58:03 · answer #4 · answered by Anonymous · 0 0

logical pattern solving 3x3 magic square sums 30

2016-01-29 03:39:38 · answer #5 · answered by ? 4 · 0 0

Here is a magic square who sums all are 0. Any sum can be created.

a b c = 1 -4 3
d e f = 2 0 -2
g h i = -3 4 -1

Simply add 10 to each number!

Good luck.

2007-12-26 09:41:16 · answer #6 · answered by Ken 7 · 1 0

Starting from the basic 'magic square'

618
753
294

You can apply any function to the numbers to generate a new sum - so to get from 15 --> 30 you can either double all the numbers or add 5 to all the numbers. If you wanted to get a number of (say) 24 you can either add 3 to all the numbers i.e. add 9 or multiply each by 1.6 (24/15)

2007-12-26 09:48:17 · answer #7 · answered by welcome news 6 · 2 0

2*magic(3)

2007-12-26 09:34:53 · answer #8 · answered by Nur S 4 · 0 2

fedest.com, questions and answers