 |
 |
 |
 |
| | good article :) yesterday night i was playing sudoku, an addictive game similar to magic squares |
|
 |
| Yeah... cool article. Very well explained.
BTW, and following Anonymous comment... are you aware of any such document explaining the creation of a SuDoKu? |
|
 |
| As far as i know... sudoku is about one number appearing only once in every row and column. It doesnt imply a solved sudoku is a magic square..
Incidentally Fig.6 is a legal 'solved' sudoku problem. |
|
 |
| I agree. A SuDoKu and a Magic Square are two different things... but they are similar and that was the reason of the question, because I liked a lot the explanation in this article.
BTW, Fig.6 is not a correct SuDoKu. You can't have reptitions in each 3x3 squares. |
|
 |
| Hmm.. my local paper carries that rule (no rep in 3x3) under 'difficult' catagory.
Ur allowed to do that in the 'simple' rules |
|
 |
| |
 |
| | sweet. im was a suduko fan, but after doing about 500+ puzzles got a bit bored with the repetition. i've now moved onto 'killers' which are a bit more challenging |
|
 |
| | kool, without the graphic explanation I would have never been able to program it... |
|
 |
| | When r the pictures coming back up? |
|
 |
| | as soon as t12 gets them to me! |
|
 |
| I learned a different algorithm for odd order magic squares, which is easier for humans...start with 1 in the bottom middle, and go diagonally down and right, then keep going. If you get to the edge, just continue on the opposite side where you would be if the square was tiled infinitly next to itself.
if you bump into a number already filled in, jump up one and continue down and to the right again, this gives you:
4 9 2
3 5 7
8 1 6
which is a mirror of your solution, but you don't need modulus math. Great article!
cheers,
Jono |
|
 |
| | that method does exactly what his does except rotated and translated. I'm fairly certain that any initial location and any direction of diagonal travel combined with the appropriately rotated jump when you hit a filled square will solve the magic square. and the modulus math is what does the wrapping when you get to the edge, your solution has it too you just didn't specifically call it that. |
|
 |
| <pre>
Multiplication Magic Square
This seems better than yours.
Order 5 pandiagonal magic square
1 24 18 432 324 60466176 --- Row 1
54 1296 4 3 72 60466176 --- Row 2
12 9 216 162 16 60466176 --- Row 3
648 2 48 36 27 60466176 --- Row 4
144 108 81 8 6 60466176 --- Row 5
60466176 --- Column 1
60466176 --- Column 2
60466176 --- Column 3
60466176 --- Column 4
60466176 --- Column 5
60466176 --- Right Diagonal 1
60466176 --- Right Diagonal 2
60466176 --- Right Diagonal 3
60466176 --- Right Diagonal 4
60466176 --- Right Diagonal 5
60466176 --- Left Diagonal 1
60466176 --- Left Diagonal 2
60466176 --- Left Diagonal 3
60466176 --- Left Diagonal 4
60466176 --- Left Diagonal 5
65 --- Standard multiplication
************************************************
1 24 18 432 324
54 1296 4 3 72
12 9 216 162 16
648 2 48 36 27
144 108 81 8 6
Magic multiplication= 60466176
************************************************
mars
</pre> |
|
 |
| | tis technique is very cool & sexy |
|
 |
| | can yu create a program to display an even powered magic aquare? |
|
 |
| | can i get the same code in c# |
|
 |
| |
 |
| |
 |
 |
 |
 |
Anonymously add a comment: (or register