Splitting Stones and Binary Expansions in Complex Bases

Primarily AI-generated textHuman understanding: all partsmath.NT — Number Theorymath.CO — Combinatorics

Contributed by Alon Amit ↗

Version 1 / Dec 02, 2026 / CC BY 4.0

Abstract

Place nn stones at position 00 of the line. Sweeping left to right, at each position ii holding mm stones send $\floor{m/2}$ of them to i+ai+a and another $\floor{m/2}$ to i+bi+b, leaving a single stone behind when mm is odd. For coprime a<ba<b we show that the positions of these left-behind singletons are exactly the positions of the 11-digits of nn in a binary expansion whose base is a root of Pa,b(x)=(xa+xb−2)/(x−1)P_{a,b}(x)=(x^a+x^b-2)/(x-1). For (a,b)=(1,2)(a,b)=(1,2) this is the negabinary expansion, for (2,3)(2,3) it is Penney's base −1+i-1+i, and for (1,3)(1,3) it is the base (−1+−7)/2(-1+\sqrt{-7})/2. As consequences: the process always ends in a period-one travelling wave k⋅Pa,bk\cdot P_{a,b}, which is a representation of zero; it terminates exactly for nn in an initial segment {1,…,N(a,b)}\{1,\dots,N(a,b)\}, where N(a,b)≡3(mod4)N(a,b)\equiv3\pmod 4 and N(1,3)=7N(1,3)=7; the largest singleton is log⁡μn+O(1)\log_\mu n+O(1) for an explicit μ>1\mu>1; and the number f(n)f(n) of singletons satisfies an effective Stewart-type lower bound f(n)>log⁡log⁡n/(log⁡log⁡log⁡n+C)f(n)>\log\log n/(\log\log\log n+C) for every coprime pair except (1,2)(1,2) and (2,3)(2,3), for which ff equals 11 infinitely often. For (1,3)(1,3) we determine all nn with f(n)≤3f(n)\le3, using the Ramanujan--Nagell theorem. This work was inspired by the mathematics behind a problem found at Project Euler.

Provenance statement

This paper was written by Claude Opus 5.5, an AI model developed by Anthropic, following multiple rounds of questions, refinements and guidance from the first author. The first author (A.A.) has read the paper, understands its arguments, and vouches for its results.

Tools used

Anthropic
Claude OpusVersion 5.5

References

  1. S. Akiyama and A. Pethő, On canonical number systems, Theoret. Comput. Sci. 270 (2002), 921--933.
  2. 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
  3. J. W. S. Cassels, Local Fields , Cambridge University Press, 1986.
  4. 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.
  5. J.-H. Evertse, On sums of SS-units and linear recurrences, Compositio Math. 53 (1984), 225--244.
  6. G. Everest, A. van der Poorten, I. Shparlinski and T. Ward, Recurrence Sequences , Mathematical Surveys and Monographs 104 , American Mathematical Society, 2003.
  7. A. Fey, L. Levine and Y. Peres, Growth rates and explosions in sandpiles, J. Stat. Phys. 138 (2010), 143--159.
  8. W. J. Gilbert, Radix representations of quadratic fields, J. Math. Anal. Appl. 83 (1981), 264--274.
  9. 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.
  10. 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
  1. I. Kátai and B. Kovács, Canonical number systems in imaginary quadratic fields, Acta Math. Acad. Sci. Hungar. 37 (1981), 159--164.
  2. D. E. Knuth, The Art of Computer Programming, Vol. 2: Seminumerical Algorithms , 3rd ed., Addison--Wesley, 1998, §4.1.
  3. B. Kovács, Canonical number systems in algebraic number fields, Acta Math. Acad. Sci. Hungar. 37 (1981), 405--407.
  4. 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.
  5. 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.
  6. 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.
  7. OEIS Foundation, Sequence A001607, The On-Line Encyclopedia of Integer Sequences , https://oeis.org/A001607.link
  8. W. Penney, A ``binary'' system for complex numbers, J. ACM 12 (1965), 247--248.
  9. A. Pethő and R. F. Tichy, SS-unit equations, linear recurrences and digit expansions, Publ. Math. Debrecen 42 (1993), 145--154.
  10. Project Euler, https://projecteuler.net.link
  11. H. G. Senge and E. G. Straus, PV-numbers and sets of multiplicity, Period. Math. Hungar. 3 (1973), 93--100.
  12. 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
  13. C. L. Stewart, On the representation of an integer in two different bases, J. Reine Angew. Math. 319 (1980), 63--72.
  14. A. J. van der Poorten and H. P. Schlickewei, Additive relations in fields, J. Austral. Math. Soc. Ser. A 51 (1991), 154--170.
  15. M. Waldschmidt, Diophantine Approximation on Linear Algebraic Groups , Grundlehren der mathematischen Wissenschaften 326 , Springer, 2000.

Version history

  1. v1 · 15 pagesSubmitted by Alon AmitInitial depositCurrentDec 02, 2026