Let x1,x2,,xnx_1, x_2, \ldots, x_n be real numbers satisfying x12+x22++xn2=1x_1^2 + x_2^2 + \cdots + x_n^2 = 1. Prove that for every integer k2k \geq 2 there are integers a1,a2,,ana_1, a_2, \ldots, a_n, not all 0, such that aik1|a_i| \leq k - 1 for all ii and

a1x1+a1x2++anxn(k1)nkn1.\left| a_1 x_1 + a_1 x_2 + \cdots + a_n x_n \right| \leq \frac{(k - 1) \sqrt{n}}{k^n - 1}.