SearcharxivSearch

arXiv subjects

Roy Quintero-Contreras

Publications and source records attributed to Roy Quintero-Contreras.

4 recordsLinked to original sources

A $3$-adic Recurrence for the Fixed Points of the Josephus Function $J_4$

In the Josephus problem with stepsize four, the participants in a circle are eliminated one by one, every fourth person leaving, until a single survivor remains. A fixed point occurs when the survivor turns out to be the person who began in the last seat. The circle sizes with this property form the sequence 1; 21; 38; 51; 122; 163; 689; 919; 2,906; and so on, whose gaps fluctuate erratically. This paper explains the fluctuation and turns it into a recurrence. Between consecutive fixed points, the circle sizes at which the survivor falls exactly one or two seats short of the last one, the near-misses, group into alternating blocks of the two kinds, and the length of every block is the number of times three divides a simple quantity built from the circle size that precedes the block. Iterating these divisibility counts carries each fixed point to the next. Stepsize four is the first case in which two kinds of near-miss coexist, and the alternation they force is what separates it from the solved cases of stepsizes two and three. As a byproduct, the survivor's position for an arbitrary circle size can be computed by walking the near-misses of a single interval, in a number of steps proportional to their count, rather than stepping through every smaller circle as the defining recursion does.

math.GM

Fixed Points of the Josephus Function via Fractional Base Expansions

In this paper, we investigate properties of the fixed point sequence of the Josephus function $J_3$. First, we establish a connection between this sequence and the Chinese Remainder Theorem. Next, we identify a clear numerical pattern for the digits of two consecutive fixed points when they are written in a non-standard fractional number system in base $3/2$. This result enables us to derive a recursive procedure for determining the digits of their base $3/2$ expansions.

math.GM

Analytical Study and Efficient Evaluation of the Josephus Function

A new approach to analyzing intrinsic properties of the Josephus function, $J_{_k}$, is presented in this paper. The linear structure between extreme points of $J_{_k}$ is fully revealed, leading to the design of an efficient algorithm for evaluating $J_{_k}(n)$. Algebraic expressions that describe how recursively compute extreme points, including fixed points, are derived. The existence of consecutive extreme and also fixed points for all $k\geq 2$ is proven as a consequence, which generalizes Knuth result for $k=2$. Moreover, an extensive comparative numerical experiment is conducted to illustrate the performance of the proposed algorithm for evaluating the Josephus function compared to established algorithms. The results show that the proposed scheme is highly effective in computing $J_{_k}(n)$ for large inputs.

math.NA

On the Recurrence Formula for Fixed Points of the Josephus Function

In this paper, we provide a comprehensive solution to the open problem regarding the existence of a recurrence formula for computing fixed points of the Josephus function precisely when the reduction constant is three. Incorporating this formula into recursive algorithms significantly improves addressing the Josephus problem, particularly for large inputs.

math.CO