It is known in Combinatorics that the number of non-negative solutions of the equation
$$x_1+x_2+….+x_k=n$$ is equal to $$\binom {n+k-1}{k-1}$$ Hence for $x_1+x_2=10$ there are $\binom {11}{1}=11$ solutions and we must subtract $(0,10),(10,0)$ so we have the nine solutions $19,91,28,82,37,73,46,64,55$.
For $x_1+x_2+x_3=10$ there are $\binom {10+3-1}{3-1}=66$ so $63$ solutions to be considered since we have to discard the solutions $(10,0,0),(0,10,0),(0,0,10)$.
For $x_1+x_2+x_3+x_4=10$ there are $\binom {13} {3}=715$ so $711$ solutions.
For $x_1+x_2+x_3+x_4+x_5=10$ there are $\binom {14}{4}=1001$ so $996$ solutions.
Thus there are in total $9+63+711+996=\color{red}{1779}$ solutions.
9+1 8+2 7+3 6+4 5+5
– TheFermat Feb 15 '16 at 15:28