|March 29th, 2012, 10:36 AM||#1|
Joined: Feb 2012
7x7 magic square
Just for fun, I made a magic square:
The sum of all the rows, columns, and diagonals is 224.
If anyone is interested, I can explain how to make a magic square for any prime .
|April 1st, 2012, 09:35 AM||#4|
Joined: Feb 2012
Re: 7x7 magic square
Start with the top row, which will be all of the numbers 1 to n in order. Now the row below will be the same numbers shifted two places to the right (you can shift any number which is relatively prime to n), and each successive row you will apply the same shift to the previous row. Here is the example for n = 5:
Now make another Latin square B in the same way, except shifting by a different amount (3 instead of 2, for example):
Finally, to create the magic square C, each cell will contain the number , where represents the entry in the ith row and the jth column of square K.
This will work as long as both shifts are relatively prime to n (in the example 2 and 3 are both relatively prime to 5), and the difference between the shift numbers is relatively prime to n (in the example the difference is 1, which is relatively prime to 5).
|7x7, magic, square|
|Search tags for this page|
Click on a term to search for related topics.
|Thread||Thread Starter||Forum||Replies||Last Post|
|magic....WHAT?||Shamieh||Algebra||3||September 10th, 2013 02:08 AM|
|A very special magic square||soroban||New Users||1||May 16th, 2012 05:11 PM|
|Magic square of s.||lnrbm||Number Theory||2||February 26th, 2011 07:30 AM|
|Magic Box - Need help||raustin6||Algebra||1||April 18th, 2010 11:06 AM|
|A different magic square||monicao||Number Theory||4||October 12th, 2007 01:16 AM|