Line 12: Line 12:
 
--[[User:pstechsc|pstechsc]]
 
--[[User:pstechsc|pstechsc]]
  
Good answer!  
+
Good answer! You may want to adapt the list to the problem better by signifying that each number represents a number of items in a particular box.
 
--[[User:Djallen|Djallen]] 18:09, 2 October 2008 (UTC)
 
--[[User:Djallen|Djallen]] 18:09, 2 October 2008 (UTC)

Latest revision as of 13:11, 2 October 2008

The question boils down to how many ways can you fill three boxes with five objects. We don't care which object is in which box or which box is which. So you just need to list the sets of three positive integers that add up to five:

{5,0,0} {4,1,0} {3,2,0} {3,1,1} {2,2,1}

This totals to 5 sets, meaning there are 5 ways to distribute the objects.


--pstechsc

Good answer! You may want to adapt the list to the problem better by signifying that each number represents a number of items in a particular box. --Djallen 18:09, 2 October 2008 (UTC)

Alumni Liaison

Questions/answers with a recent ECE grad

Ryne Rayburn