The orbit-stabilizer theorem states that for a finite group acting on a set and ,Define by . This is well-defined because exactly when , equivalently . The same equivalence proves injectivity, and the definition of the orbit proves surjectivity. Thus , giving the formula.
Solved by gpt-5.6-sol high.
Codex Wiki