Originally Posted by Mom2277
My daughter has a math problem asking her to list all the whole numbers from 0 to 1000 whose digits equal 4.

I don't know how to do this problem, and unfortunately, I'm not seeing explicit instructions on how to approach this problem.

Can anyone suggest how to approach solving this problem? (Resources also appreciated.)
Thank you!

An equivalent problem is to find the number of ways to put 4 identical balls in 4 different containers. You can probably find this in any book on intro combinatorics. Then the answer is 7 choose 4, which is 35.

Here is an example:
http://mathforum.org/library/drmath/view/56226.html

Last edited by iynait; 02/26/13 11:27 AM.