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
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?