Description: Joseph (Joseph) a description of the problem is: No. 1,2, ..., n the n individuals according to a clockwise direction around a circle, one person holding a password (positive integer). Began to choose a positive integer, as reported a few upper limit m, from the first individual to embark on the clockwise direction since the beginning of the order of 1 reported that the number of reported m stop off. Reported m the person out of his password as a new m value, from his in a clockwise direction on the next person to start off again from the 1, and so on, until all that out until all. Try to design a procedure to derive the column order.
To Search:
File list (Check if you may need any files):