\[m=a_{1}+a_{2}+\cdots+a_{n}.\]