How would you prove the following using induction. n is a non negative integer
$$1+\sum_{i=1}^n i i!=(n+1)!$$
This be what I did
base case let $n=3$
$$1+1+4+18=(3+1)!$$
$24=24$
Hypothesis step let $n=k$
$$1+\sum_{i=1}^k i (i!)=(k+1)!$$
Induction step let $n=k+1$
$$1+\sum_{i=1}^{k+1} i (i!)=(k+1+1)!$$
so start on the left hand side and get
$$1+\sum_{i=1}^k i (i!)+(k+1(k+1)!)=(k+1)!+(k+1(k+1)!$$
and I am stuck.
$$\begin{align}1 + \sum_{i=1}^{k+1} ii!& = \color{green}{1 + \sum_{i=1}^{k} ii!} + (k+1)(k+1)! \\&=\color{green}{(k+1)!} + (k+1)(k+1)! \\&= (k+1 +1 )(k+1)! \\&= (k+2)(k+1)! \\&= (k+ 2)! \end{align}$$