Colin Mitchell
Let . First, we want to find Since this is a discrete problem, we can write
.
Similarly, we can find . So we reach
Now, we want to find . So we can use to write
Also, we can find . Using , we can similarly write