My mentor gave this problem to our class. later on he also told the solution to the problem.but i did not understood the solution as it was done in a very complicated way. so can anyone help me the solve this problem with proper explanation
$$ x_1\geqslant x_2\geqslant x_3\geqslant...\geqslant x_n ....$$
$$\text{where } x_i \in \mathbb{R} $$
such that for $n\geqslant1$ ; $$\frac{x_1}{1}+\frac{x_4}{2}+\frac{x_9}{3}+...+\frac{x_{n^2}}{n}\leqslant1$$
Then PROVE that
for $k\geqslant1$; $$\frac{x_1}{1}+\frac{x_2}{2}+\frac{x_3}{3}+...+ \frac{x_k}{k}\leqslant3 $$