Let $a_i$ be a sequence of real numbers. If I know that $a_n = o(n)$ as $n \rightarrow \infty$, is it equivalent to say that:
$$\max_i^n a_i = o(n)$$
At first glance they seem different (the second seems stronger), but I think I am able to prove that they are the same:
Assume that $a_n = o(n)$:
Then, $\max a_i = \max \{a_1, a_2, ..., a_{n-j}, ..., a_n \} = \max \{c, o(n)\} = o(n)$
Now going the other way, assume $\max_i^n a_i = o(n)$:
$$a_n \leq \max^n_i a_i = o(n)$$
My question
Is my reasoning correct? Is there a more general statement hiding here?