# Thread: f you add the digits in a #, how many #s between 0 and 10000 will have a sum of 10?

1. ## f you add the digits in a #, how many #s between 0 and 10000 will have a sum of 10?

"If you add the digits in a number, how many numbers between 0 and 10000 will have a sum of 10?"

Could you guys help me solve this, and please explain it to me? If I get it right, I will be able to get extra credit on my Math average!

2. Originally Posted by help1

"If you add the digits in a number, how many numbers between 0 and 10000 will have a sum of 10?"
Could you guys help me solve this, and please explain it to me? If I get it right, I will be able to get extra credit on my Math average!
Well at least your are honest!
So here is a suggestion. There are four places to put ten ones. How many ways can you put ten ones into four different places? But take away the cases where a place has more than nine ones.

Or you can find the coefficient of $\displaystyle x^{10}$ in the expansion of
$\displaystyle \left( {\sum\limits_{k = 0}^9 {x^k } } \right)^4$