Baltic Way 1994 · Problem 9
Number Theory
Find all pairs of positive integers such that is the square of an integer.
When you’re ready
Review material becomes available with the next Daily.
Review
Topics
Diophantine equations
Solutions
Solution
Solution: Considering the equality modulo , it is easy to see that must be even. Obviously is odd so we may take , and write the equality as . Hence which implies for some positive integer . So we get and . Both factors on the right-hand side are even numbers but at most one of them is divisible by (since their sum is not divisible by ). Hence and . These two equalities yield and . Clearly and a simple argument modulo gives , for some non-negative integers and . Substituting, we get and . If then , a contradiction (expanding the left-hand expression and moving everything to the left we find that all summands but one are divisible by ). Hence , , , and , and we obtain the classical .
Contest context
Results from Baltic Way 1994
9 teams
- Mean score
- 3.4 / 5
- Scores of 4 or 5
- 6 / 9
- Estonia
- 5 / 5
Score distribution
All team scores
| Team | Score |
|---|---|
| St. Petersburg | 5 / 5 |
| Latvia | 4 / 5 |
| Poland | 5 / 5 |
| Sweden | 5 / 5 |
| Denmark | 0 / 5 |
| Estonia | 5 / 5 |
| Finland | 5 / 5 |
| Lithuania | 2 / 5 |
| Iceland | 0 / 5 |