Problem

Source: APMO 2006, Problem 1

Tags: number theory unsolved, number theory



Let $n$ be a positive integer. Find the largest nonnegative real number $f(n)$ (depending on $n$) with the following property: whenever $a_1,a_2,...,a_n$ are real numbers such that $a_1+a_2+\cdots +a_n$ is an integer, there exists some $i$ such that $\left|a_i-\frac{1}{2}\right|\ge f(n)$.