The Linear Josephus Problem in Two Directions

This is a variant of the Josephus problem. There are players in a line. Beginning with the first player, move from left to right, removing every player. Alternately, do the same in the other direction. For either process, change the direction at the end of the line. Denote the position of the sole survivor by .
You can see how players are removed with the "demo" button. With the "graph" button you can see the graphs of for and . You can also see the combination of all the graphs for .

(293 lines omitted)

The first process of elimination starts counting up from the first player and eliminates the player, the , and so on. The second process counts down from the player and eliminates the player, the , and so on. The first process comes first and the second process second at every stage. The direction changes at either end of the line.
For research on the variants of the Josephus problem, please see the following two papers written by the authors:
R. Miyadera, S. Hashiba, and D. Minematsu, "How High School Students Can Discover Original Ideas of Mathematics Using Mathematica," Mathematica in Education and Research, 11(3), 2006.
H. Matsui, T. Yamauchi, S. Tatsumi, T. Inoue, M. Naito, and R. Miyadera, "Interesting Variants of the Josephus Problem," Kokyuroku (to be published).
comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+