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!

Printable View

- January 29th 2011, 06:38 AMCuriosityCabinetCombinatorics question involving summing digits of numbers
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! - January 29th 2011, 06:52 AMPlato
- January 29th 2011, 07:00 AMCuriosityCabinet
The different digit combinations possible are of the form:

99993

99984

99975

99885

98886

99966

88887

99876

99777

98877

Then I worked out how many combinations of each digit there are and summed it, to get 210. But have a feeling that isn't quite right. - January 29th 2011, 07:06 AMPlato
- January 29th 2011, 07:12 AMCuriosityCabinet
- January 29th 2011, 07:21 AMPlato
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.