AMC10 2019 10B, Problem 6

There is a positive integer $n$ such that $(n+1)! + (n+2)! = n! \cdot 440$. What is the sum of the digits of $n$?

Solution: \[\begin{split}& (n+1)n! + (n+2)(n+1)n! = 440 \cdot n! \\ \Rightarrow \ &n![n+1 + (n+2)(n+1)] = 440 \cdot n! \\ \Rightarrow \ &n + 1 + n^2 + 3n + 2 = 440 \\ \Rightarrow \ &n^2 + 4n - 437 = 0\end{split}\] Solving by the quadratic formula, $n = \frac{-4\pm \sqrt{16+437\cdot4}}{2} = \frac{-4\pm 42}{2} = \frac{38}{2} = 19$ (since clearly $n \geq 0$). The answer is therefore $1 + 9 = \fbox{10}$.

Answer: 10