Back to Mathematical Olympiad
Difficulty: 7/102022 USAMO 2022 (Q4)

Find all pairs of prime numbers such that and are both perfect squares.

Options:

  • A.

  • B.

  • D.

Guide / Hint

Hint 1: Verify works. Then set up the equations and .

Hint 2: Since and is prime, show that must divide , which leads to for some integer .

Hint 3: Substitute into the first equation to get . Analyze the case and prove no solutions exist for .

Solution

Step 1 (Verification): Check :

  • (perfect square)

  • (perfect square)

Thus is a valid solution.

Step 2 (Factoring the constraints): Let and for some non-negative integers .
Factor the second equation:

Since is prime, this means must divide . Thus, divides . Let for some integer . Substituting this back gives:

Step 3 (Combining with the first constraint): Substitute into :

Step 4 (Case Analysis on ):

  • If : then , which means . Since and are both primes, the only consecutive primes are and . This gives , which we verified works.

  • If : since is prime and divides , must divide either or . Through standard bounding, one can show that for , there are no other solutions because the growth of the terms forces the prime factors to exceed the possible bounds. Thus, is the unique solution.

Ready to track your progress and master these topics?

Create a free account