Skip to main content
OlympiadHQ

Browse · MathNet

Print

67th NMO Shortlisted Problems

Romania number theory

Problem

Prove that is a perfect square for infinitely many .
Solution
Let for some . Rearranging, we get:



This is a quadratic in :



The discriminant must be a perfect square for to be integer:



So must be a perfect square. Let for some .

Then , which is a Pell equation.

The fundamental solution is , since .

All solutions are given by:

for .

For each such , we can solve for :



Since , and is odd (since ), is even, so is integer.

Thus, for each solution to the Pell equation, we get an integer such that is a perfect square.

Therefore, there are infinitely many such .

Techniques

Pell's equationsQuadratic functions