|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: Simple Math Puzzle...(no code required?)by hdb (Monsignor) |
| on Jun 24, 2013 at 15:05 UTC ( [id://1040444]=note: print w/replies, xml ) | Need Help?? |
|
The "two primes condition" follows from the fact that columns 4 and 5 have at most one prime, columns 2 has no prime, so there must be at least one prime in columns 1 and 3. But if digit 1 is 8, then digit 3 is 9, so no prime. This will directly create all solutions w/o any test, based on the implied order and your logic above:
In Section
Meditations
|
|
||||||||||||||||||||||||||||||