How many five-digit numbers are there who digits sum to 39?
Can someone give me their answer so I can check if mine is right? Thank you!
One expands .
The coefficient of is the answer.
Notice the first sum starts at because the first digit in a five digit number cannot be zero.
Here is an online tool you can use.