Skip to main content
OlympiadHQ

Browse · MathNet

Print

China Girls' Mathematical Olympiad

China number theory

Problem

Determine the least odd number satisfying the following conditions: There are positive integers such that , , and .
Solution
The answer is .

Note that We know that there is no number in between and that satisfies the condition of the problem. Assume on the contrary that is such a number. We may set . Because is odd, and have different parity, and so is odd. Because ; that is, the possible values of are

. We will eliminate every one of them.

We can write and or If , then becomes a Pell's equation with . This Pell's equation has minimal solution and for positive integers . The values of the solutions of this Pell's equation are . Thus, the only possible values for are and . It is easy to check that neither nor can be written in the form of . Hence .

If is a multiple of , then and . Because is not a quadratic residue modulo , we conclude that . Hence, , from which it follows that . Thus, is a multiple of and is a multiple of . We can write , , and for integers . We have . Again, because is not a quadratic residue modulo , we must have . It follows that is divisible by . Thus, .

Because , . Therefore, and . But then becomes , which is impossible. Hence, , or , or .

If or , because is not a quadratic residue modulo , from , we conclude that . It follows that and . In particular, , and Hence, or .

If , we also note that is not a quadratic residue modulo . By the same reasoning before, we have If , then and . Thus, , , and . But then becomes which is impossible. Hence, .

If , then because , we have . The possible values of are then . But then becomes . It is easy to check that there is no solution in this case. Hence, .

Combining the above, we conclude that is the answer of this question.
Final answer
261

Techniques

Pell's equationsQuadratic residuesTechniques: modulo, size analysis, order analysis, inequalities