Maximum Nim and Josephus Problem algorithm
Combinatorics
2024-11-26 v2
Abstract
In this study, we study a Josephus problem algorithm. Let be positive integers and , where is a floor function. Suppose that there exists such that , where is the -th functional power of . Then, the last number that remains is in the Josephus problem of numbers, where every -th numbers are removed. This algorithm is based on Maximum Nim with the rule function . Using the present article's result, we can build a new algorithm for Josephus problem.
Cite
@article{arxiv.2404.06112,
title = {Maximum Nim and Josephus Problem algorithm},
author = {Shoei Takahashi and Hikaru Manabe and Ryohei Miyadera},
journal= {arXiv preprint arXiv:2404.06112},
year = {2024}
}
Comments
arXiv admin note: substantial text overlap with arXiv:2403.19308