Find a 3x3 magic square that is composed of 9 prime numbers (not the numbers from 19) and show how you found it.
(A magic square, as you may already know, is one in which the respective sums of the numbers in all the rows, columns, and both major diagonals all add up to the same number.)
_______________________
Since "Magic Square" is a term used outside the scope of this problem, I'm sure you can find an answer on the internet. Please find a solution independently.
....by midnight I will have a Visual Basic console application that will accept a number N, then compute the first N primes (using the Sieve of Eratosthenes), then find all the 3X3 magic squares among them.
btw..."composed of 9 prime numbers (not the numbers from 19)"...didn't you mean to say "27" ? It goes without saying that 1 and 9 can't be in the solution.
Edited on March 10, 2004, 8:11 am

Posted by Penny
on 20040310 07:31:49 