OFFSET
1,2
COMMENTS
This sequence can be used in magic tricks with under-under-under-down dealing pattern. The deck sizes in this sequence guarantee that after the dealing, the last card dealt is the one that was initially on the bottom.
LINKS
Yunier Bello-Cruz and Roy Quintero-Contreras, A 3-adic Recurrence for the Fixed Points of the Josephus Function J_4, arXiv:2607.01270 [math.GM], 2026. See p. 3.
Eric Huang, Tanya Khovanova, Timur Kilybayev, Ryan Li, Brandon Ni, Leone Seidel, Samarth Sharma, Nathan Sheffield, Vivek Varanasi, Alice Yin, Boya Yun, and William Zelevinsky, Card Dealing Math, arXiv:2509.11395 [math.NT], 2025. See p. 18.
EXAMPLE
Suppose there are 5 people in a circle. After three people are skipped, the person number 4 is eliminated. The leftover people are 5,1,2,3 in order. Then person number 3 eliminated, and the leftover people are 5,1,2 in order. Then person number 5 is eliminated, and the leftover people are 1,2 in order. Then person number 2 is eliminated, and person 1 is freed. Thus, 5 is NOT in this sequence.
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Tanya Khovanova, Nathan Sheffield, and the MIT PRIMES STEP junior group, Jun 25 2025
EXTENSIONS
More terms from Jinyuan Wang, Jul 01 2025
STATUS
approved
