Question: simple code to generate random magic squares

Hi,

I am looking for a simple code to generate random magic squares (with the sum of integers) of dimensions 4x4 or 5x5.

Thank you

Please Wait...