Oh ok then in the code you should write n = 2*n-1 which means if n is
2 then 3 will be used.

On 2/4/07, Alec Mihailovs <[EMAIL PROTECTED]> wrote:
>
> From: "Timothy Clemans" <[EMAIL PROTECTED]>
> >
> > Alec is your code suppose to be able to generate any nth normal magic
> > square?
>
> No, it implements the Siamese method (the same as in your code) that works
> only for odd n.
>
> 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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to