
Find three different two-digit primes, where the average of any two is a prime, and the average of all three is a prime.
Moderator: Michael Wallace
I believe this a trial and error type puzzle, but to make it more solveable I will give a hint towards the numbers. Imagine if the answer was 13, 29 and 67, these numbers are made up of 6 different digits (1, 2, 3, 6, 7 and 9). The 3 numbers you are after are only made up of 3 different digits.Charlie Reams wrote:Is there actually any attack on this except brute force?
I think you can reduce the search space by saying that all the primes have to be congruent mod 4, to ensure the average of any 2 is odd, and congruent mod 3 to ensure the average of all 3 is an integer. Unless I'm missing something clever, it's just brute force after that.Charlie Reams wrote:Is there actually any attack on this except brute force?
I must admit, when I first solved this one, I just did a trial and error thing. I started with one number and then took all possible combinations of that 1 and the other prime numbers and then saw which pairs averaged out as a prime.Howard Somerset wrote:I looked at this problem during lunch today, and did work out a strategy which comes to a solution with not too much brute force or trial and error. Not time to give my method now, as the forum's due to go down in just over five minutes. I'll post again later when it's back up and running.
Briefly, though, I was concentrating on the units digits of the numbers involved, and the number of different combinations to try was much lower than I expected.
Nice puzzle, Joseph.
But what is the answer?Joseph Bolas wrote:Howard has explained how to work it out step by step, but I think because theres quite a bit of bruce force required to solve this, most have decided not too. I think it was harder than I implied.
The answer is 11, 47 and 71:Gevin-Gavin wrote:But what is the answer?Joseph Bolas wrote:Howard has explained how to work it out step by step, but I think because theres quite a bit of bruce force required to solve this, most have decided not too. I think it was harder than I implied.