Splitting Stones and Binary Expansions in Complex Bases
Version 1 / Dec 02, 2026 / CC BY 4.0
Abstract
Place stones at position of the line. Sweeping left to right, at each position holding stones send $\floor{m/2}$ of them to and another $\floor{m/2}$ to , leaving a single stone behind when is odd. For coprime we show that the positions of these left-behind singletons are exactly the positions of the -digits of in a binary expansion whose base is a root of . For this is the negabinary expansion, for it is Penney's base , and for it is the base . As consequences: the process always ends in a period-one travelling wave , which is a representation of zero; it terminates exactly for in an initial segment , where and ; the largest singleton is for an explicit ; and the number of singletons satisfies an effective Stewart-type lower bound for every coprime pair except and , for which equals infinitely often. For we determine all with , using the Ramanujan--Nagell theorem. This work was inspired by the mathematics behind a problem found at Project Euler.
Provenance statement
Tools used
- Anthropic
- Claude OpusVersion 5.5
References
- S. Akiyama and A. Pethő, On canonical number systems, Theoret. Comput. Sci. 270 (2002), 921--933.
- M. Borodin, H. Han, K. Ji, T. Khovanova, A. Peng, D. Sun, I. Tu, J. Yang, W. Yang, K. Zhang, K. Zhao, Chip-firing and fractional bases, Minnesota J. Undergrad. Math. 6 (2021); arXiv:1809.09676.arXiv
- J. W. S. Cassels, Local Fields , Cambridge University Press, 1986.
- J.-M. Dumont, P. J. Grabner and A. Thomas, Distribution of the digits in the expansions of rational integers in algebraic bases, Acta Sci. Math. (Szeged) 65 (1999), 469--492.
- J.-H. Evertse, On sums of -units and linear recurrences, Compositio Math. 53 (1984), 225--244.
- G. Everest, A. van der Poorten, I. Shparlinski and T. Ward, Recurrence Sequences , Mathematical Surveys and Monographs 104 , American Mathematical Society, 2003.
- A. Fey, L. Levine and Y. Peres, Growth rates and explosions in sandpiles, J. Stat. Phys. 138 (2010), 143--159.
- W. J. Gilbert, Radix representations of quadratic fields, J. Math. Anal. Appl. 83 (1981), 264--274.
- P. J. Grabner, P. Kirschenhofer and H. Prodinger, The sum-of-digits function for complex bases, J. London Math. Soc. (2) 57 (1998), 20--40.
- I. Kátai and B. Kovács, Kanonische Zahlensysteme in der Theorie der quadratischen algebraischen Zahlen, Acta Sci. Math. (Szeged) 42 (1980), 99--107.
Show all 25 referencesShow fewer references
- I. Kátai and B. Kovács, Canonical number systems in imaginary quadratic fields, Acta Math. Acad. Sci. Hungar. 37 (1981), 159--164.
- D. E. Knuth, The Art of Computer Programming, Vol. 2: Seminumerical Algorithms , 3rd ed., Addison--Wesley, 1998, §4.1.
- B. Kovács, Canonical number systems in algebraic number fields, Acta Math. Acad. Sci. Hungar. 37 (1981), 405--407.
- B. Kovács and A. Pethő, Number systems in integral domains, especially in orders of algebraic number fields, Acta Sci. Math. (Szeged) 55 (1991), 287--299.
- E. M. Matveev, An explicit lower bound for a homogeneous rational linear form in the logarithms of algebraic numbers. II, Izv. Ross. Akad. Nauk Ser. Mat. 64 (2000), 125--180; English transl. Izv. Math. 64 (2000), 1217--1269.
- S.-M. Ngai, V. F. Sirvent, J. J. P. Veerman and Y. Wang, On 2-reptiles in the plane, Geom. Dedicata 82 (2000), 325--344.
- OEIS Foundation, Sequence A001607, The On-Line Encyclopedia of Integer Sequences , https://oeis.org/A001607.link
- W. Penney, A ``binary'' system for complex numbers, J. ACM 12 (1965), 247--248.
- A. Pethő and R. F. Tichy, -unit equations, linear recurrences and digit expansions, Publ. Math. Debrecen 42 (1993), 145--154.
- Project Euler, https://projecteuler.net.link
- H. G. Senge and E. G. Straus, PV-numbers and sets of multiplicity, Period. Math. Hungar. 3 (1973), 93--100.
- D. Sharma, On the representation of an imaginary quadratic integer in two different bases, Publ. Math. Debrecen 107 (2025), 187--197; arXiv:2311.17348.arXiv
- C. L. Stewart, On the representation of an integer in two different bases, J. Reine Angew. Math. 319 (1980), 63--72.
- A. J. van der Poorten and H. P. Schlickewei, Additive relations in fields, J. Austral. Math. Soc. Ser. A 51 (1991), 154--170.
- M. Waldschmidt, Diophantine Approximation on Linear Algebraic Groups , Grundlehren der mathematischen Wissenschaften 326 , Springer, 2000.