home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!dtix!oasys!geversti
- From: geversti@oasys.dt.navy.mil (Gordon Everstine)
- Newsgroups: sci.math
- Subject: Re: Magic Squares (was: Re: Sum of Numbers)
- Message-ID: <27608@oasys.dt.navy.mil>
- Date: 17 Nov 92 18:35:50 GMT
- References: <1992Nov12.214936.15458@aio.jsc.nasa.gov> <1992Nov14.233001.29160@tinton.ccur.com>
- Reply-To: geversti@oasys.dt.navy.mil (Gordon Everstine)
- Organization: David Taylor Model Basin, Bethesda, Md.
- Lines: 16
-
- In addition to the brute force approaches to generating magic squares,
- there are various algorithms available for square generation. Of
- course, each algorithm will generate only one of the many possible
- squares of a given order.
-
- Odd and even order squares must be constructed by different approaches.
- For odd orders, the most common algorithm is a recursive scheme
- devised by de la Loubere about 300 years ago. For even orders, one
- procedure is the Devedec algorithm, which treats even orders not
- divisible by 4 slightly differently from those which are divisible by
- 4 (doubly even).
-
- These algorithms and others are described in, for example, "Magic
- Squares and Cubes" by W.S. Andrews (The Open Court Publishing Co.,
- Chicago, 1908; may also be available from Dover) and "Mathematical
- Recreations" by M. Kraitchik (Dover, 1953).
-