An extensive section on magic squares and their mathematical solutions can be found at the end of the GaNitakaumudi: (cap = cerebral, : = long vowel). S. Insler