I tried to prove this by complete induction on $n$ but I am having problems in the inductive step:
Suppose
$$lcm(a_{1},...,a_{n})=lcm(lcm(a_{1},...,a_{n-1}),a_{n}) \forall k\le n\in \mathbb N$$
Prove that
$$lcm(a_{1},...,a_{n+1})=lcm(lcm(a_{1},...,a_{n}),a_{n+1})$$
Now, we have that
$$lcm(lcm(a_{1},...,a_{n}),a_{n+1})=lcm(lcm((lcm(a_{1},...,a_{n-1}),a_{n}),a_{n+1})$$
but then I don´t know what else to do, do you have any suggestions?