Ads
Ads
睇roots點洗牌即係睇點將1, 2, 3, ..., n調亂
記號:
(n_1 n_2 ... n_k)
的意思係
n_1 -> n_2
n_2 -> n_3
...
n_k -> n_1
(如果有更加多數字的話即係其他數字唔郁
例:
(1 4 2) 即係
1 -> 4
4 -> 2
2 -> 1
而3唔郁
如果順次序咁寫即係由 (1, 2, 3, 4) 變做 (4, 1, 3, 2)
S_n = all permutations of n numbers.
A_n = all EVEN permutations of n numbers.
Ads