markr wrote:triangular-based pyramid
I've taken this as far as solving for A-E, but I end up with DE and CDE as primes.
A must be even, and B & C are 1, 3, 7, or 9. All but
A=4, B=3, C=1
A=6, B=1, C=7
violate the prime requirements.
Now, letting D & E be 1, 3, 7, or 9, all but
A=4, B=3, C=1, D=3, E=1
violate the prime requirements. However, DE=31 and CDE=131 violate the non-prime requirements.
I don't want the solution, but am I on the wrong track. Does "except" mean the numbers aren't prime or that they don't have to be prime?
I've assumed that leading zeros (A=0) aren't allowed. Is that a false assumption?
Let me state right off the bat; IMHO this is the most fiendishly difficult problem ever poised. The fact anyone has even attempted it is truly amazing! You have cracked the first part; except for E which I have =3.
Not only are you on the right track - you are cruising the freeway. Congratulations for stepping up to the plate.
For all of you who wish to follow Mark's progress in finding a solution to the seemingly impossible -
The following are all the possible prime numbers available to use:
2 digit primes
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97
3 digit primes
101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997
A cannot equal 0 and it is for this reason. DE must not be prime, but ADE must be prime. If A was 0, this would be impossible to satisfy. This is a good find because it now shortens our possible scenarios to just 3.
We now have ABC as either 419, 431, or 617
Scenario 1: ABC as 419
Where to start? How about with the 9 and looking at CH and CI which both must be prime. And the only two digit prime beginning with 9 is 97. Therefore, H and I are both 7. Making HI = 77, which is not a prime, and so this scenario will never work.
Scenario 2: ABC as 617
For this one I started on a point that produced the least number of possibilities, so I went for AD which could only be 61 or 67. And this meant that BCD must be 171 or 177. Since neither of these numbers is prime, this scenario will never work.
Scenario 3: ABC as 431
BCD can be 311, 313, 317. Therefore, D is 1, 3 or 7
AE can be 41, 43, 47. Therefore, E is 1, 3 or 7
So our choices for ADE are now 411, 413, 417, 431, 433, 437, 471, 473, 477. 431 and 433 are the only primes. This means that D = 3 and E can now only equal 1 or 3. So DE can be 31 or 33.
31 is a prime number, and DE must not be prime, therefore E = 3
We now have definite values for ABCDE which are 43133
Good luck, we are all pulling for ya.
NOVERCEDINCTT
OUFDT