Olympiad Maths Prep

Library / /10 of 29

Number theory Difficulty 5.1 AIME, harder Prove it Ukraine

Find all pairs of prime numbers (a,b)(a, b), such that ab=ba+1a^b = b^a + 1 is prime.

Solution

Answer: (2,3)(2,3), (3,2)(3,2), (2,2)(2,2).

Clearly, either aa or bb is even. WLOG, a=2a = 2. It is easy to see that b=2b = 2 and b=3b = 3 satisfy the condition. Suppose that b>3b > 3. We have: 2b=b2+12^b = b^2 + 1, b>3b > 3. It is easy to see that the last expression is divisible by 33 and cannot be prime.

Looking for a route rather than an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.