Josephus

Josephus[n,m]

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

Details

See Also

InversePermutation

Tutorials