Hostname: page-component-74656f9884-c52kr Total loading time: 0 Render date: 2026-11-09T12:50:37.312Z Has data issue: false hasContentIssue false

Functional iteration and the Josephus problem

Published online by Cambridge University Press:  18 May 2009

Andrew M. Odlyzko
Affiliation:
AT & T Bell Laboratories, Murray Hill, NJ 07974, USA
Herbert S. Wilf
Affiliation:
University of Pennsylvania, Philadelphia, PA 19104-6395, USA
Rights & Permissions [Opens in a new window]

Extract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

The problem of Josephus is the following. We are given two positive integers n, q. There are n places arranged around a circle, and numbered clockwise 1, 2, …, n. Each of n people takes one of the places, then (please excuse this, but we didn't invent the problem!) every qth one is executed, until just one remains. More precisely, the occupant of place q is ‘removed’ first, and in general, if some place j has just been vacated, then the qth one of the places clockwise around from j that are still occupied will be vacated next. One question is this: if you would like to be the last survivor, then into what place should you go initially? We denote the answer to this question by Jq(n). For example, if n = 5 and q = 2, the order of execution is 2, 4, 1, 5, 3, and J2(5) = 3. Other questions have been raised about the problem, and it has an extensive literature (see [1]–[10]). In this paper we deal with the Jq(n)'s.

Information

Type
Research Article
Copyright
Copyright © Glasgow Mathematical Journal Trust 1991