Dragonfall
- 1,023
- 5
Given a length preserving bijection on n-bits uniformly at random, what is the expected number of cycles? Cycles being f(f(...f(x)...)) = x
The discussion revolves around the expected number of cycles in a randomly chosen length-preserving bijection on n-bits. Participants explore the mathematical implications of permutations and cycle structures within finite sets.
Participants do not appear to reach consensus on the interpretation of the original question, with differing views on whether the focus is on the number of elements in cycles or the number of distinct cycles.
The discussion includes assumptions about the properties of permutations and the definitions of cycles, which may not be fully resolved. The mathematical steps leading to the harmonic number are referenced but not elaborated upon.
Readers interested in combinatorial mathematics, group theory, or the properties of random permutations may find this discussion relevant.
Dragonfall said:No I'm asking for the expected number of such cycles, not the number of elements that are part of a cycle (which is obviously |X|).
In other words, define equivalent classes on X such that two elements are equal if they are part of the same cycle. How many such classes are expected when f is chosen uniformly at random?