Magic Square Mathematical formula

Sep 27, 2010 at 6:45pm

Magic Square Mathematical formula

Hi!

I’m building a Magic Square with 8 colums & 12 rows, as Musikalische Wurfelspiel of W.A.Mozart.
I have passed 2 hours to fill in numbers in a jit.cellblock.

Have somebody knows if there is an expresion or a mathematical formula (or object) to do this in a synthetic
way?

Thanks,

ritmoloco

#52491
Sep 27, 2010 at 10:06pm

Don’t mean to be flippant, but your matrix is not square. What exactly do mean by “magic square” in this context? As a general answer to question about filling a matrix algorithmically, see Jitter Tutorial 2, “Create a Matrix”. (Useful for demonstrating the process, even if you don’t have Jitter.)

#188769
Sep 27, 2010 at 10:08pm

a square of different sizes for colums and rows?
dont you mix it up with sudoku?

#188770
Sep 27, 2010 at 10:31pm

sudoku algorithmic ?

here is a solver !

http://tirl.org/software/sudoku/

#188771
Sep 28, 2010 at 7:13am

@ Christopher, Yeah, that is truth, is not a square! Sorry , the matrix consist of 8X8. Thank for your advice I will check-up the Jitter Tutorial2

@Roman & Francois, thanks for the idea! I never understand Sudoku formula, but why not to try to do a patch from it, later?!

Thanks again you guys!

#188772

You must be logged in to reply to this topic.