Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site aecom.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!drutx!houxe!hogpc!houti!ariel!vax135!floyd!cmcl2!philabs!aecom!eliovson From: eliovson@aecom.UUCP Newsgroups: net.math Subject: Magic Squares Message-ID: <551@aecom.UUCP> Date: Tue, 1-May-84 22:30:38 EDT Article-I.D.: aecom.551 Posted: Tue May 1 22:30:38 1984 Date-Received: Fri, 4-May-84 05:06:40 EDT Organization: Albert Einstein Coll. of Med., NY Lines: 39 On 5/1 I was introduced to a technique for developing the magic square, where all columns, any direction (including diagnols) add up to the same sum- for example: _________________________________________________________ generation : O 3 3 3 | of a : OOO OOO 2OO 2 6 2 6 276 276 | 3 X 3 : OOO OOOOO 1OOOO 1 5OO 1 5 9 1 5 9 951 | magic : OOO OOO OOO 4OO 4 8 438 438 | square : O O O 7 | ---------------------------------------------------------- When I sat down to write a program for the following I ran into a small problem- does this only work with ODD squares? ie- 1 2 3 4 4 5 6 7 8 3 8 9 10 11 12 2 7 12 13 14 15 16 1 6 11 16 5 10 15 9 14 13 1st 2nd leaves me blind- So all you puzzlers out there- a formula or subroutine would be much appreciated, and as our system doesn't give access to net.sources any answers should be directly mailed to me. Thanks alot, "Today is the Tommorrow moshe eliovson you worried about yesterday." {spike|rocky2|philabs|pegasus|esquire|cucard}!aecom!eliovson