Let x < sub > 1 </ sub >, ..., x < sub > n </ sub > be the sizes of the heaps before a move, and y < sub > 1 </ sub >, ..., y < sub > n </ sub > the corresponding sizes after a move.
Let X < sub > 1 </ sub >, ..., X < sub > n </ sub > denote random variables from the n component distributions, and let X denote a random variable from the mixture distribution.
Let X < sub > 1 </ sub >, ..., X < sub > n </ sub > be independent Bernoulli random variables, each having probability p > 1 / 2.
0.004 seconds.