Skip to main content
OlympiadHQ

Browse · MathNet

Print

Hong Kong Preliminary Selection Contest

Hong Kong algebra

Problem

Let where and are integers. If and , find the value of .
Solution
From , we get or . If , i.e. , then we have , which has no solution as is an integer.

So we must have . Then , and hence . It follows that for all , and thus the answer is
Final answer
2029105

Techniques

Functional EquationsSums and products