Hi say I have 2 identical tin cans and I want to hand it out to three people B,C,D
I have three ways of doing this by giving all 2 cans to person B, then to person C, then to person D.
Then I have another 2 ways by giving person B 1 can, and C one can. Also person B 1 can, and person D one can.
So far I have a total of 5 ways.
The only way that is left is to give person D one can, and person C one can.
So I get a total of 6 ways.
The Attempt at a Solution
I am trying to find a generalized way of doing this (not having to draw people and cans.)
It seems to me that this is different than a permutation, and combination.
For example handing out 3 cans to 3 people yields 10 possible ways.
Is there any topic that I can read that will introduce me to how I can do this?