Josephus [n,m]
generates the inverse of the permutation defined by executing every m^(th) member in a circle of n members.
Details and Options
Details and Options
Details and Options
See Also
Tech Notes
Related Guides
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.
Details and Options
- To use Josephus , you first need to load the Combinatorica Package using Needs ["Combinatorica`"].