Overview of the solution for Josephus problem where every third person is eliminated, followed by a solution for the general case (arbitrary "q" where every q'th person is eliminated).
In addition a short discussion of interesting problem deriving from Josephus Problem.