The Classic Josephus Problem
The Question :
X people stand in a circle.
An extra person goes round the circle eliminating every Yth person.
When the start of the circle is reached, we continue going round again,
ignoring the people who have already been eliminated,
and still eliminating every Yth person.
The Problem :
Given the values of X and Y, where should you stand in the circle so that
you will be the last to be eliminated?
Copyright©1994 - 2007www.TheMathWebSite.com