随机排列中“长循环”的期望个数极限
Half Cycle
题目详情
令 表示对集合 的随机排列(均匀随机)中,“长度大于 的循环(cycle)”的个数。求
已知答案形如 ,其中 为有理数。求 。
Let count the number of cycles in a random permutation of that are larger than in length. Compute . The answer is in the form for some rational number . Find .
解析
随机排列中长度为 的循环的期望个数为 。
因此
所以 。
Original Explanation
First, we need to find the expected number of cycles in our permutation for . Then, we can sum those up from to to get .
First, let's fix some . Let be the indicator of whether or not the value belongs to a cycle of length . Then we have that
gives the total number of cycles, as we need to remove rotations ( such rotations per cycle). Using linearity of expectation, we have that
is just the probability belongs to a cycle. There are permutations of . There are ways to pick more elements to belong to the cycle. Now that we have selected the elements, there are ways to arrange those elements. Then, there are ways to arrange the other elements. This yields that our probability that belongs to a cycle is
Therefore, after substituting in.
The above tells us that the expected number of cycles for is . Therefore, is just the sum of the terms above from to . Namely,
This is starting to look like a Riemann Integral. Let so that (this is a discrete sum currently, so is just change between terms). The lower bound of our integral is , while the upper bound is . As , this sum converges to the Riemann Integral
Therefore, .