Skip to main content
OlympiadHQ

Browse · MathNet

Print

48th Austrian Mathematical Olympiad

Austria number theory

Problem

Let be the sequence of rational numbers with and Show that the sequence does not contain a square of a rational number.
Solution
We look at this sequence modulo . This is possible as long as so that the next element is defined modulo . If we start to compute the elements modulo we obtain So we see that after , the sequence just alternates between the values and modulo . These are not quadratic residues modulo . Since is also not the square of a rational number, there is indeed no square of a rational number in this sequence.

Techniques

Inverses mod nQuadratic residuesRecurrence relations