![]() | 1 | initial version |
Hello,
This is more a mathematical question rather than a Sage question. Given a permutation π with a given cycle decomposition, let say p=[p0,p1,...,pm−1] (I mean that the cycles of π have lengths p0, p1, etc). Then the cycle decomposition of the action of π on sets can be explicitely computed in terms of p. In particular, for the question of the number of cycles you get m−1∑i=0i−1∑j=0gcd.
The above sum can be easily computed with Sage.
Vincent