ARML Practice Problem

Compute the number of 4-digit numbers whose digits sum to 7.


The answer is 84.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Blcraft Gaming
Mar 5, 2018

One way of thinking about this problem is that there are 4 digits, each of which will receive some number of 1s, and there are only 7 1s to go around. In this view, we can use Stars and Bars to find the answer. First, we find the number of the ways the 7 1s can be distributed to the 4 digits. We have ( 10 3 ) = 120 {10 \choose 3}=120 . However, this is including cases where the first digit is 0, like 0250. In these cases, the numbers are basically equivalent to a 3-digit number (or less). Therefore, we subtract ( 9 2 ) = 36 {9 \choose 2}=36 from 120 which gives us 84 \boxed{84} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...