Ramsay
Sorry guys,
Could someone please explain the following:
"There are 8C3 ways to determine where to place the separators"
I'm not familiar with this shortcut/approach.
Ta
Consider this: we have 5 \(d\)'s and 3 separators \(|\), like: \(ddddd|||\). How many permutations (arrangements) of these symbols are possible? Total of 8 symbols (5+3=8), out of which 5 \(d\)'s and 3 \(|\)'s are identical, so \(\frac{8!}{5!3!}=56\).
With these permutations we'll get combinations like: \(|dd|d|dd\) this would be 3 digit number 212 OR \(|||ddddd\) this would be single digit number 5 (smallest number less than 10,000 in which sum of digits equals 5) OR \(ddddd|||\) this would be 4 digit number 5,000 (largest number less than 10,000 in which sum of digits equals 5)...
Basically this arrangements will give us all numbers less than 10,000 in which sum of the digits (sum of 5 d's=5) equals 5.
Hence the answer is \(\frac{8!}{5!3!}=56\).
Answer: C (56).
This can be done with direct formula as well:
The total number of ways of dividing n identical items (5 d's in our case) among r persons or objects (4 digt places in our case), each one of whom, can receive
0, 1, 2 or more items (from zero to 5 in our case) is \({n+r-1}_C_{r-1}\).
In our case we'll get: \({n+r-1}_C_{r-1}={5+4-1}_C_{4-1}={8}C3=\frac{8!}{5!3!}=56\)
Also see the image I found in the net about this question explaining the concept:
Attachment:
pTNfS-2e270de4ca223ec2741fa10b386c7bfe.jpg