Skip to main content
OlympiadHQ

Browse · MathNet

Print

SAUDI ARABIAN MATHEMATICAL COMPETITIONS

Saudi Arabia algebra

Problem

Find all pairs of positive integers (, ) such that both equations and have integral solutions.
Solution
Since has integral solution, then we may assume that Note that then . By the same way on the second equation , then we have . Thus or or . We consider three cases:

1. If then then we have Hence, . Note that then these numbers have the same parity, so we just need to consider or . In this case, we have one pair satisfies the given condition .

2. If then , we have Hence . Similarly, these numbers have the same parity then , or . In this case, we have one pair satisfies the given condition .

3. If , similarly, we have .

Therefore, .
Final answer
(4, 4), (5, 6), (6, 5)

Techniques

Vieta's formulasQuadratic functionsLinear and quadratic inequalities