How many solutions are there to the equation $t_1+t_2+t_3+t_4=6$ if $t_i\in \{-1,0,1,2,3,4,5,6,7,8,9\}$ for all $i=1,2,3,4$?
I know how to answer this problem without the set of numbers $t_i$. But when I should keep the set $t_i$ in mind, I don't really know how to solve it. I know the answer might be smaller but again, I have no clue.
My idea is to use the formula: $C(n+r-1,r)$ and if I ignore the set, then there would be $C(4+6-1,6)=C(9,6)=84$ ways but I have to use the set, any help?