Let $(a_n)$ be a strictly increasing sequence of positive integers such that: $a_2 = 2$ and $a_{mn} = a_m a_n$ for $m, n$ relatively prime. Show that $a_n = n$, for every positive integer $n$.
This is a result apparently due to Paul Erdős, and supposedly has a proof by induction.
I tried like this, $a_{10}=a_2a_5$. After this what we can do?
[Editor's comment] Possibly due to the apparent simplicity of the conditions it may be difficult to appreciate the subtleties of this question. If we try and construct a counterexample like $a_3=4$, $a_4=5$, $a_5=6$, then the requirements dictate $a_6=8$, $a_{10}=12$, $a_{15}=24$. At this point we realize that we have been speeding. For monotonicity forces $a_9\le 11$, and therefore $a_{18}\le22<a_{15}$, violating the requirements. It is not obvious why something similar ruins all the modifications to the sequence $a_n=n$. [/comment, JL]
You can prove it by induction on $n$ if you prove first that it is true for all prime numbers.
$n=2$ is true because $a_2=2$, so we can hypothesis that $a_j=j$ for each $j<n$ and we want prove that $a_n=n$.
If $n$ is prime, then $a_n=n$. If $n$ is not prime, we can factorize $n$ as
$n=p_1^{\alpha_1}\dots p_k^{\alpha_k}$
but $p_k^{\alpha_k}$ is coprime with respect the other members so
$a_n=a_{p_1^{\alpha_1}\dots p_{k-1}^{\alpha_{k-1}}}a_ {p_k^{\alpha_k}}= a_{p_1^{\alpha_1}\dots p_{k-1}^{\alpha_{k-1}}} p_k^{\alpha_k}=$
$=\dots= p_1^{\alpha_1}\dots p_k^{\alpha_k}=n$