Let $a_1,...,a_n$ be given positive reals, such that:
$$\sum a_i \times \sum \frac1{a_i} \le (n + \frac12)^2$$
Prove that $\max \{a_i\} \le 4 \min \{a_i\}$
I don't know exactly how to approach this. I wrote it equivalently:
$$\frac{\operatorname{AM}}{\operatorname{HM}} n^2 \le (n + \frac12)^2$$
And expanded from there to reach nothing
Thank you.