Suppose $$\lim_{n \to \infty} \frac{a_n}{n}=0. $$ Prove $$\lim_{n\to \infty} \frac{\max\{a_1,a_2,\ldots, a_n \}}{n}=0. $$
Below is what I tried , but I am not sure about my proof.
Denotes that $$a_{n_1}=\max\{a_1\}$$ $$a_{n_2}=\max\{a_1,a_2\}$$ $$\vdots$$ $$a_{n_k}=\max\{a_1,a_2,\ldots, a_k \}$$ Then what we want proof can write as $$\lim_{k\to \infty} \frac{a_{n_k}}{k}=0 $$ It's easy to see $n_k\ge n_{k-1} $, hence $\{a_{n_k}\}$ is a subsequence of $\{a_n\}$. Also $\{\frac{a_{n_k}}{k}\} $ is a subsequence of $\{\frac{a_n}{n} \} $. Then we have $$\lim_{k\to \infty} \frac{a_{n_k}}{n_k}=0 $$ Since $k\ge n_k $, then $$\frac{|a_{n_k}|}{k}\le \frac{|a_{n_k}|}{n_k} $$ Here we can have $$\lim_{k\to \infty} \frac{a_{n_k}}{k}=0 $$ So any problem with my proof, since I am not so satisfied with this kind of notation, any more convenient ways to do it ?