Combinatorica`
Combinatorica`

Josephus

Josephus[n,m]

generates the inverse of the permutation defined by executing every m^(th) member in a circle of n members.

更多信息和选项