The easiest way to approach this problem is to simply list all the possible ways:
5 0 0
4 1 0
3 2 0
3 1 1
2 2 1
I didn't label the boxes because they are indistinguishable and therefore something like 2,2,1 is the same as 1,2,2.
Counting them up I got an answer of 5 ways.
- ysuo@purdue.edu
- ysuo 18:17, 28 September 2008 (UTC)