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
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.)
a square of different sizes for colums and rows?
dont you mix it up with sudoku?
@ 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!