Find all four-digit numbers , so that , and are prime numbers, and .
Romanian Mathematical Olympiad - District Round
Solution
If , then , which means that must be a prime number such that , false. Therefore, . As and are primes, from the given equality we deduce that . We obtain , thus and are at most 43. Since is an odd digit, and the last digit of is 8, we deduce that .
If , then , therefore and .
If , then , and we verify that only for the given equality holds, therefore the solutions are and .
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.