Olympiad Maths Prep

Track / Stage 5 / 139 of 400 #739 of 2000

Problem 739

AIME late
Number theory Difficulty 5.4 Find the answer

What is the smallest positive cc number for which it is true that among any a1,a2,,ana_{1}, a_{2}, \ldots, a_{n} real numbers, some can be chosen such that the distance of their sum from the nearest integer is at most cc?

Official solution

Solution. We will prove that the smallest such number c=1n+1c=\frac{1}{n+1}. First, if a1=a2==an=1n+1a_{1}=a_{2}=\ldots=a_{n}=\frac{1}{n+1}, then the possible sums are 1n+1,2n+1,,nn+1\frac{1}{n+1}, \frac{2}{n+1}, \ldots, \frac{n}{n+1}, which means that for any cc smaller than 1n+1\frac{1}{n+1}, the statement does not hold. Now we will show that for c=1n+1c=\frac{1}{n+1}, the statement does hold. Let a1,a2,,ana_{1}, a_{2}, \ldots, a_{n} be arbitrary real numbers. Consider the sums si=a1+a2++ais_{i}=a_{1}+a_{2}+\ldots+a_{i} (1in)(1 \leq i \leq n). If any of these sums has a fractional part of at most 1n+1\frac{1}{n+1} or at least nn+1\frac{n}{n+1}, then we are done, since the distance of such a sum from the nearest integer is at most 1n+1\frac{1}{n+1}. If, however, none of them do, then by the pigeonhole principle, at least one of the intervals

[1n+1,2n+1],[2n+1,3n+1],,[n1n+1,nn+1] \left[\frac{1}{n+1}, \frac{2}{n+1}\right],\left[\frac{2}{n+1}, \frac{3}{n+1}\right], \ldots,\left[\frac{n-1}{n+1}, \frac{n}{n+1}\right]

contains two sums, say sis_{i} and sjs_{j} (where i<ji<j). Then the distance of the sum sjsi=ai+1++ajs_{j}-s_{i}=a_{i+1}+\ldots+a_{j} from the nearest integer is at most 1n+1\frac{1}{n+1}. This completes the proof of the statement.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.