home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!bx304
- From: bx304@cleveland.Freenet.Edu (Jeff Epler)
- Subject: Re: More than one 8 x 8 Magick Square?
- Message-ID: <1992Aug19.013828.2787@usenet.ins.cwru.edu>
- Sender: news@usenet.ins.cwru.edu
- Nntp-Posting-Host: slc5.ins.cwru.edu
- Reply-To: bx304@cleveland.Freenet.Edu (Jeff Epler)
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- References: <64230@cup.portal.com>
- Date: Wed, 19 Aug 92 01:38:28 GMT
- Lines: 55
-
-
- In a previous article, Tagi@cup.portal.com (Tagi Mordred Nagashiva) says:
-
- >Is there more than one major solution (aside from rotation) for the
- >8 x 8 Magick Square? What are the other possibilities? Is there
- >a method to generate even-numbered Squares aside from the 4 x 4?
- >
- >Below is the solution I know of for the 8 x 8. Alternatives would
- >be welcomed via email or post. Thanks!
-
- To any magic square you can do the following:
-
- Scale each element by a constant
- Exchange two rows
- Exchange two columns
-
- and the square will still work.
-
- Now suppose you have a magic square AxA and an algorythm to construct a
- magic square of BxB with an arbitrary sum.
-
- To construct a square (A*B) on a side, construct A*A squares BxB, with
- sums that correspond to each square in A. Then arrange them (Replace
- 17 with the square that totals 17, etc) into one larger square.
-
- There seems to be an algorythm for both odd x odd squares, and
- multiple_of_four x multiple_of_four squares, but I don't know what it
- is...
-
- I would be interested in a post of C source code that could do the
- job... (Or Pascal, I actually prefer that language.)
- >
- >Tagi
- >
- >--------------------------------
- >
- >01 56 48 25 33 24 16 57
- >63 10 18 39 31 42 50 07
- >62 11 19 38 30 43 51 06
- >04 53 45 28 36 21 13 60
- >05 52 44 29 37 20 12 61
- >59 14 22 35 27 46 54 03
- >58 15 23 34 26 47 55 02
- >08 49 41 32 40 17 09 64
- >
- >The one I know about.
- >
- >-------------------------------------
- >
-
- --
- |Jeff Epler Additions Welcome c(-8 ;-) >{8-) |
- | :) (=( =-] (-= Celebrating the variety of faces =-> :^) {-= |-) (: |
- | Lincoln, Nebraska|
-