I have to prove the following :
Let $A$ be a commutative ring with unity and let $\mathfrak{a}_{i}$ be ideals in $A$. Assume that $\mathfrak{a}_{1} + \dots + \mathfrak{a}_{n} = A$. Let $r_{i}$ be positive integers. Prove that $\mathfrak{a}_{1}^{r_{1}} + \dots + \mathfrak{a}_{n}^{r_{n}} = A$.
I must confess I have absolutely no idea how to do that. Usually I try to come with what I have already done but here... nothing.
Prove for two and then use induction:
$$I+J=A\implies \forall\,n,m\in\Bbb N\;,\;\;I^n+J^m=A$$
Because
$$1=i+j\;,\;\;i\in I\;,\;\;j\in J\implies 1=(i+j)^{n+m-1}=\sum_{k=0}^{n+m-1}\binom{n+m-1}k i^kj^{n+m-1-k}$$
Observe that in the rightmost expression, we have that
$$k<n\implies n+m-1-k>n+m-1-n=m-1$$
so either $\;i^k\in I^n\;$ , or $\;j^{n+m-1-k}\in J^m\;$, and thus $\;(i+j)^{n+m-1}\in I^n+J^m\;$