Let $(G,*)$ be a group. Let $a_i \in G, |a_i|=n_i, 1 \le i \le m$. Suppose $\gcd(n_i,n_j)=1$ and $a_ia_j=a_ja_i$, for all $i$ and $j$. Let $x=a_1*a_2*\ldots*a_m$. Show that $|x| = n_1n_2\ldots n_m$.
Does it could be proved using induction on $m$? If yes, what about the base case? If I let $P(m)$ be the statement, then the base case is: $P(1)$ true since $|x| = |a_1| = n_1$, isn't it?
You need the base case to be $P(2)$ because your inductive step will look something like:
...Assuming P(n), consider $$x_1\cdot ... \cdot x_n\cdot x_{n+1} = (x_1\cdot ... \cdot x_n )\cdot x_{n+1} $$ Applying $P(2)$, this has order $|x_1\cdot ... \cdot x_n|| x_{n+1}|$...