Hi I'm stuck at doing my student project work, and this is my first time doing Combinatorics, so any help would be useful.
I'm attempting to calculate the probability that given $k$ blocks of ice falling and filling $n$ empty blocks on the ground, that all empty blocks are filled.
So I've hit a bit of a snag. The way I'm approaching this is to visualize the "ice falling" as a random bag that are filled with $1 - n$ numbers (denoting the spot the ice would fall in). It is possible for ice to fall on the same spot (meaning with replacement).
So what I've know is that I have to calculate the number of ways ice fall using combinations with replacement (combinations because as long as all holes are filled it does not matter). What I don't know is how to handle the duplication.
Furthermore, I'm also a little lost on how to calculate the numerator. I figure I need to find the excess number of duplicates, and then find the number of ways with only that amount of duplicates.
So given $k = 3$, and $n = 2$, I need to find:
- the total ways it can fill the area, and
- the number of ways it can fill the area given x duplicates.
I saw this post, and it seems pretty close to what I have to do, but I don't really understand why its doing $(n-2)$ and then $(n-4)$.
Example: Given 3 ice blocks and 2 holes on the ground, there are 4 ways to fill it up: $$ \newcommand{\set}[1]{\{#1\}} \set{1,1,1}\\\set{1,1,2}\\\set{2,2,1}\\\set{2,2,2} $$ and two of these methods would work.