![]() |
|
|
#1 | ||
|
College Prospect
Join Date: Oct 2000
Location: Mountain View, California
|
OT - Prime square puzzle
Most of us are familiar with the concept of magic squares: the arrangement of the numbers from 1 to n^2 into a square such that the sum of the numbers on each row and each main diagonal is equal to the same number. E.g., a 3x3 magic square is
Code:
A concept I've been twiddling with lately is that of prime squares: the arrangement of the numbers from 1 to n^2 into a square such that the sum of the numbers on each row and each main diagonal is a prime number. For n=1 and n=2, it is trivial to prove that a prime square does not exist. (1 is not a prime number). I think that I have a proof that n=3 is not possible as well. I have, however, constructed a prime square of size 4. Can you? |
||
|
|
|
|
|
#2 |
|
Pro Starter
Join Date: Oct 2000
Location: Fairfax, VA
|
Code:
Last edited by Bee : 03-12-2003 at 12:47 PM. |
|
|
|
|
|
#3 |
|
Resident Curmudgeon
Join Date: Oct 2002
|
34 is a prime number?
|
|
|
|
|
|
#4 |
|
Pro Starter
Join Date: Oct 2000
Location: Fairfax, VA
|
Did I misunderstand? I thought the diagonals had to be a prime number, but the rest was supposed to be a normal magic square.
|
|
|
|
|
|
#5 |
|
College Benchwarmer
Join Date: Jun 2001
Location: Grafton, WI
|
edit: false alarm
cool puzzle Brillig. Have you solved 5x5 yet? re-edit: got it Code:
Last edited by SplitPersonality1 : 03-12-2003 at 01:31 PM. |
|
|
|
|
|
#6 |
|
High School Varsity
Join Date: Mar 2002
Location: Los Angeles
|
Response to false alarm.
![]()
__________________
"At its best, football is still football, an amalgam of thought and violence, chess with broken bones and shredded ligaments." -- Dave Kindred Last edited by Aylmar : 03-12-2003 at 01:07 PM. |
|
|
|
|
|
#7 |
|
College Prospect
Join Date: Oct 2000
Location: Mountain View, California
|
Sorry if I was unclear, Bee - all the columns and rows are supposed to add up to prime numbers.
Sp1, nope, haven't even started yet ![]() |
|
|
|
|
|
#8 |
|
Pro Starter
Join Date: Oct 2000
Location: Fairfax, VA
|
ok. If I understand it correctly this time...
![]() is this correct? Code:
Last edited by Bee : 03-12-2003 at 01:22 PM. |
|
|
|
|
|
#9 |
|
Pro Starter
Join Date: Aug 2001
Location: Willow Glen, CA
|
39 isn't prime...11+7+8+13 on the upper right to lower left diagonal.
__________________
Every time a Dodger scores a run, an angel has its wings ripped off by a demon, and is forced to tearfully beg the demon to cauterize the wounds.The demon will refuse, and the sobbing angel will lie in a puddle of angel blood and feathers for eternity, wondering why the Dodgers are allowed to score runs.That’s not me talking: that’s science. McCoveyChronicles.com. |
|
|
|
|
|
#10 | |
|
Pro Starter
Join Date: Oct 2000
Location: Fairfax, VA
|
Quote:
you sure that doesn't add up to 37? ![]() |
|
|
|
|
|
|
#11 |
|
College Prospect
Join Date: Oct 2000
Location: Mountain View, California
|
SP1's looks good to me - it's different from mine, but I expected multiple solutions anyway.
5x5 wasn't that difficult at all, I think these are actually easier the bigger the matrix gets... |
|
|
|
|
|
#12 |
|
Pro Starter
Join Date: Oct 2000
Location: Fairfax, VA
|
I got the same one that SP1 has, but he beat me to it.
![]() |
|
|
|
|
|
#13 | |
|
Resident Curmudgeon
Join Date: Oct 2002
|
Quote:
Pretty sure (one of my very favorite movie lines). |
|
|
|
|
|
|
#14 | |
|
College Benchwarmer
Join Date: Jun 2001
Location: Grafton, WI
|
Quote:
I agree and was about to post the same thing. I found a solution for 5x5 in about four minutes. |
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|