> "A normal magic square contains the integers from 1 to n²." Why not > just say it generates the nth normal odd magic square?
OK, that explains the meaning of "normal" that I was not aware of. Anyway, there are many such mugic squares with integers from 1 to n^2, and there are many standard methods for their construction that could be included in the module magic_square. In particular, pyramid method gives another standard construction for odd n. That's why I think that the name of the algorithm used should be included. magic_square module could include other useful functions, such as test, for example - for testing whether the matrix represents a magic square. Alec PS It would be interesting if your original code could be modified for producing an animation of the magic square - so that the numbers 1, 2, etc. appear in the matrix with some time interval between them. I wonder if some of included in SAGE packages have such an ability to display an animated output -Alec --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---