(* :Author: Christopher Moretti *) (* :Summary:Josephus[list,m,k] return a list of those places in -list- who will remain standing at the end of the Josephus problem where every mth person is skipped starting with a. *) (* :History: Version 1.0 by Christopher Moretti, 1997 *) Clear[Josephus] Josephus[cycle_,m_,a_]:=Block[{newcyc,newcyc1,a1,len}, len=Length[cycle];If[len