Skip to main content
OlympiadHQ

Browse · MathNet

Print

Selection Examination

Greece number theory

Problem

Determine all pairs of positive integers satisfying the equation
Solution
We first compute the entries of the following matrix
12345678910
126241207205040403203628803628800
139331538735913462334091134037913
Obviously, the pairs and are solutions. We will show that the unique solution with is .

We observe that since is divided by for , the sum leaves a remainder when divided by for . If equality holds for some , then there is some natural number such that or The discriminant is and it should be a perfect square. On the other hand we cannot have as otherwise would divide . Therefore the given relation cannot hold for , as well as, for . Since we observe that , a product of two consecutive integers . Therefore the only solution is .
Final answer
(1, 1), (2, 2), (5, 17)

Techniques

Techniques: modulo, size analysis, order analysis, inequalitiesModular ArithmeticQuadratic residuesSums and products