AMC 12 Mock Exam 1 Problem 21
Problem 21 of 25
A function is chosen uniformly at random from among the bijections of to itself. Let be the number of integers in for which . What is the expected value of ?
Answer choices
Show solution
Solution
Decompose into disjoint cycles. We have exactly when the length of the cycle containing divides , i.e., or .
Fix . The number of permutations in which lies in a cycle of length is the same for every : choose the ordered list of the other elements of its cycle in ways, and permute the remaining elements arbitrarily in ways, for a total of . So lies in a cycle of any given length with probability .
Hence . By linearity of expectation, .
Tagged: random permutations, linearity of expectation, cycles