Skip to main content
OlympiadHQ

Browse · MathNet

Print

Asia Pacific Mathematics Olympiad (APMO)

algebra

Problem

Let be a positive integer. Find the largest nonnegative real number (depending on ) with the following property: whenever are real numbers such that is an integer, there exists some such that .
Solution
The answer is First, assume that is even. If for all , then the sum is an integer. Since for all , we may conclude for any even .

Now assume that is odd. Suppose that for all . Then, since is an integer, a contradiction. Thus for some , as required. On the other hand, putting and for all gives , while for all . Therefore, is the best possible for any odd .
Final answer
f(n) = 0 if n is even; f(n) = 1/(2n) if n is odd

Techniques

IntegersLinear and quadratic inequalities