A strange continued fraction associated with the Romik map
Pith reviewed 2026-05-21 01:53 UTC · model grok-4.3
The pith
The Romik map yields a continued fraction expansion whose partial quotients are restricted to the set {0, ±2} for every x in [0,1].
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim is that the Romik map produces a continued fraction in which every x in [0,1] admits an expansion whose partial quotients lie in the three-element set {0, +2, -2}. This expansion is obtained directly from the iterates of the Romik map; its convergents are a subset of the ordinary continued-fraction convergents; and, by ergodicity of the natural extension, the proportion of ordinary convergents that appear as Romik convergents tends to one-half for Lebesgue-almost every x.
What carries the argument
The Romik map itself, whose orbits generate both the restricted-digit continued fraction and the subset of ordinary convergents whose asymptotic density is one-half.
If this is right
- For Lebesgue-almost every x the Romik convergents form an asymptotic subset of density one-half inside the sequence of ordinary continued-fraction convergents.
- Every real number in [0,1] possesses at least one expansion whose partial quotients belong exclusively to {0, +2, -2}.
- Rational numbers and quadratic irrationals possess finite or eventually periodic Romik expansions.
- The explicit invariant measure on the natural extension permits computation of almost-sure frequencies of digit sequences in the strange expansion.
- Ergodicity implies that Birkhoff averages of integrable observables along Romik orbits equal the integral against the invariant measure.
Where Pith is reading between the lines
- The three-digit restriction may produce continued-fraction approximations whose denominators grow at a different average rate from the classical golden-ratio bound.
- The same construction could be applied to other subtractive Euclidean algorithms to obtain further restricted-digit expansions linked to arithmetic objects such as Pythagorean triples.
- The explicit measure opens the possibility of computing the Hausdorff dimension of the set of x whose Romik expansion avoids a particular digit.
- Joint dynamics on the natural extension may yield limit theorems for the discrepancy between Romik and ordinary convergents.
Load-bearing premise
The Romik system admits a planar natural extension whose sigma-finite invariant measure can be written explicitly and is ergodic.
What would settle it
Pick a large sample of x drawn uniformly from [0,1], compute the first several hundred Romik convergents and ordinary convergents for each, and check whether the proportion of matches approaches one-half; or verify that a concrete quadratic irrational such as the golden ratio has an infinite expansion using only the digits 0, +2 and -2.
Figures
read the original abstract
In 2008, Dan Romik studied in this journal Primitive Pythagorean Triples, or PPTs. In order to do so, he introduced a modified slow (subtractive) Euclidean algorithm, and showed that the underlying dynamical system of this Euclidean algorithm (the ``Romik system''), is ergodic and has a $\sigma$-finite, infinite measure, of which is explicitly given. In this paper, the Romik system is further studied. Various basic properties are determined, such as the expansion of rational numbers and quadratic irrationals. Also (a version of) the planar natural extension of the Romik system is obtained, and the $\sigma$-finite, invariant measure is explicitly given, and it is shown that it is ergodic. Furthermore, for Lebesgue almost every $x$ asymptotically half of the regular continued fraction (RCF) convergents of $x$ are among the Romik convergents. We also show that related to the Romik map a ``strange'' continued fraction can be given. ``Strange,'' as the set of possible partial quotients (i.e., digits) for any $x\in [0,1]$ in this expansion is $\{ 0, \pm 2\}$. Various properties of this ``Romik expansion'' are given.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript extends the 2008 Romik dynamical system (a modified subtractive Euclidean algorithm linked to primitive Pythagorean triples) by determining expansions of rationals and quadratic irrationals, constructing a planar natural extension with an explicit σ-finite invariant measure, proving ergodicity via standard arguments in infinite ergodic theory, establishing that Lebesgue-almost every x has asymptotically half its regular continued fraction convergents among the Romik convergents, and introducing a 'strange' continued fraction whose partial quotients for any x in [0,1] lie in the set {0, ±2}, together with various properties of this expansion.
Significance. If the results hold, the work advances understanding of continued fraction expansions through the lens of infinite-measure ergodic theory, providing an explicit natural extension and measure that could support further computations or generalizations. The explicit constructions and the link between Romik convergents and regular continued fraction convergents offer concrete, potentially falsifiable statements about asymptotic densities. The strange continued fraction adds a novel object with a highly restricted digit set, which may prove useful in Diophantine approximation studies.
major comments (1)
- [Abstract / natural extension and ergodicity section] Abstract and the section deriving the asymptotic density: the central claim that for Lebesgue-a.e. x asymptotically half the regular continued fraction convergents coincide with Romik convergents is obtained from the planar natural extension and its ergodicity. In infinite ergodic theory, ergodicity alone does not imply the existence of asymptotic densities for the counting functions of visits; the Hopf ratio ergodic theorem (or an equivalent statement on ratios of return times) is required, together with suitable integrability of the relevant functions with respect to the given σ-finite measure. The manuscript states that ergodicity 'follows from standard arguments' but does not appear to verify these ratio conditions or integrability for the convergent-counting functions; this step is load-bearing for the density result and needs explicit justification or a reference to a theorem that,
minor comments (2)
- [Section introducing the Romik expansion] The definition of the strange continued fraction map (or algorithm) that produces only digits in {0, ±2} should be stated explicitly, perhaps with a short algorithmic description or recurrence, to make the construction self-contained.
- Notation for the Romik map, its natural extension, and the strange expansion should be introduced with a clear table or diagram distinguishing them from the classical Gauss map and regular continued fractions.
Simulated Author's Rebuttal
We thank the referee for the careful reading of the manuscript and for identifying this important point regarding the application of infinite ergodic theory. We address the major comment below.
read point-by-point responses
-
Referee: [Abstract / natural extension and ergodicity section] Abstract and the section deriving the asymptotic density: the central claim that for Lebesgue-a.e. x asymptotically half the regular continued fraction convergents coincide with Romik convergents is obtained from the planar natural extension and its ergodicity. In infinite ergodic theory, ergodicity alone does not imply the existence of asymptotic densities for the counting functions of visits; the Hopf ratio ergodic theorem (or an equivalent statement on ratios of return times) is required, together with suitable integrability of the relevant functions with respect to the given σ-finite measure. The manuscript states that ergodicity 'follows from standard arguments' but does not appear to verify these ratio conditions or integrability for the convergent-counting functions; this step is load-bearing for the density result and needs an
Authors: We agree that ergodicity of the natural extension by itself does not suffice to establish the existence of the asymptotic density for the proportion of coinciding convergents; the Hopf ratio ergodic theorem (or an equivalent result on ratios of return times) must be invoked, and this requires verifying that the relevant counting or indicator functions are integrable with respect to the explicit σ-finite invariant measure. The manuscript indeed invokes 'standard arguments' for ergodicity without spelling out the integrability step for these particular functions. In the revised version we will add a short paragraph (or subsection) in the natural-extension section that explicitly checks the integrability condition for the functions that track visits to the sets corresponding to Romik convergents. We will either give a direct estimate using the explicit form of the measure or cite a suitable theorem from the literature on infinite ergodic theory that guarantees the ratio limit exists and equals the ratio of the integrals. This will make the derivation of the density result fully rigorous. revision: yes
Circularity Check
No significant circularity; derivation self-contained via explicit measure and external 2008 reference
full rationale
The paper cites the 2008 Romik construction (different author) only as background for the original system and then independently constructs a planar natural extension, supplies an explicit σ-finite invariant measure, and establishes ergodicity via standard infinite-measure arguments. The asymptotic-density claim for Romik versus regular continued-fraction convergents is presented as a consequence of this new extension and measure. No equation or definition in the provided text reduces a claimed result to a fitted parameter, a self-referential definition, or a load-bearing self-citation chain; the cited 2008 result is externally falsifiable and does not contain the target density statement. The derivation therefore remains independent of its own inputs.
Axiom & Free-Parameter Ledger
axioms (1)
- standard math Standard results from ergodic theory apply to the natural extension of the Romik map on the unit interval.
Reference graph
Works this paper leans on
-
[1]
–On a theorem of Legendre in the theory of continued fractions, J
Barbolosi, D.; Jager, H. –On a theorem of Legendre in the theory of continued fractions, J. Th´ eor. Nombr` es Bordx. 6, No. 1, 81–94 (1994)
work page 1994
-
[2]
Bosma, Wieb –Optimal continued fractions, Nederl. Akad. Wetensch. Indag. Math. 49 (1987), no. 4, 353-–379
work page 1987
-
[3]
Brown, Gavin; Yin, Qinghe –Metrical theory for Farey continued fractions, Osaka J. Math. 33, No. , 951–970 (1996)
work page 1996
-
[4]
–Arithmetic and ergodic properties of ‘flipped’ continued fraction algorithms, Acta Arith
Dajani, K.; Hensley, D.; Kraaikamp, C.; Masarotto, V. –Arithmetic and ergodic properties of ‘flipped’ continued fraction algorithms, Acta Arith. 153, No. 1, 51–79 (2012)
work page 2012
-
[5]
Boca Raton, FL: CRC Press (ISBN 978-0-367- 22620-6/hbk; 978-0-429-27601-/ebook)
Dajani, Karma; Kalle, Charlene – A first course in ergodic theory. Boca Raton, FL: CRC Press (ISBN 978-0-367- 22620-6/hbk; 978-0-429-27601-/ebook). xiii, 253 p. (2021)
work page 2021
-
[6]
K. Dajani and C. Kraaikamp, – Ergodic theory of numbers, Carus Mathematical Monographs, 29. Mathematical Association of America, Washington DC
-
[7]
Dajani, Karma; Kraaikamp, Cor –The mother of all continued fractions, Colloq. Math. 84–85, Pt. 1, 109–123 (2000)
work page 2000
-
[8]
Dajani, Karma; C. Kraaikamp; S. Sanderson –A unifying theory for metrical results on regular continued fraction convergents and mediants, Mathematics of Computation, 94.356(2025):44
work page 2025
-
[9]
Number Theory 278, 816–874 (2026)
Dajani, Karma; Kraaikamp, Cor; Sanderson, Slade –Inducing contractions of the mother of all continued fractions, J. Number Theory 278, 816–874 (2026)
work page 2026
-
[10]
–Processes generating permutation sequences, Biometrika 69 (1962), 139–149
Daniels, H.E. –Processes generating permutation sequences, Biometrika 69 (1962), 139–149
work page 1962
-
[11]
An introduction to the theory of numbers (Sixth ed.), Oxford University Press, (2008) [1938]
Hardy, Godfrey Harold; Wright, E.M. An introduction to the theory of numbers (Sixth ed.), Oxford University Press, (2008) [1938]
work page 2008
-
[12]
–Algorithms with mediant convergents and their metrical theory, Osaka J
Ito, S. –Algorithms with mediant convergents and their metrical theory, Osaka J. Math. 26, 3 (1989), 557–578
work page 1989
-
[13]
Kraaikamp – Metrical theory of continued fractions
Iosifescu, M., C. Kraaikamp – Metrical theory of continued fractions. Kluwer Acad. Publ., Dordrecht, 2002. Math. Appl., 547
work page 2002
-
[14]
Khinchin, A.Y. – Continued fractions. Dover Publications, Inc., Mineola, NY, 1997. With a preface by B.V. Gnedenko. Translated from the third (1961) Russian edition. Reprint of the 1964 translation
work page 1997
-
[15]
Kim, Dong Han; Lee, Seul Bee; Liao, Lingmin –Odd-odd continued fraction algorithm, Monatsh. Math. 198 (2022), no. 2, 323-–344
work page 2022
-
[16]
–A new class of continued fraction expansions, Acta Arith
Kraaikamp, C. –A new class of continued fraction expansions, Acta Arith. 57, No. 1, 1–39 (1991)
work page 1991
-
[17]
–The theta group and the continued fraction expansion with even partial quotients, Geom
Kraaikamp, C.; Lopes, A. –The theta group and the continued fraction expansion with even partial quotients, Geom. Dedicata 59, No. 3, 293–333 (1996)
work page 1996
-
[18]
– Essai sur la th´ eorie des nombres, Duprat, Paris, An VI (1798)
Legendre, A.M. – Essai sur la th´ eorie des nombres, Duprat, Paris, An VI (1798). A “STRANGE” CONTINUED FRACTION ASSOCIATED WITH THE ROMIK MAP 29
-
[19]
Lehner, J. –Semiregular continued fractions whose partial denominators are 1 or 2, in: The Mathematical Legacy of Wilhelm Magnus: Groups, Geometry and Special Functions (Brooklyn, NY, 1992), Contemp. Math. 169, Amer. Math. Soc., Providence, RI, 1994, 407-–410
work page 1992
-
[20]
Nakada, Hitoshi –Metrical theory for a class of continued fraction transformations and their natural extensions, Tokyo J. Math. 4, 399–426 (1981)
work page 1981
-
[21]
–Ergodic properties of some permutation processes, Biometrika 69 (1962), 151–154
Parry, W. –Ergodic properties of some permutation processes, Biometrika 69 (1962), 151–154
work page 1962
-
[22]
Continued Fractions, World Sci., River Edge, NJ, 1992
Rockett, A.M., Sz¨ usz, P. Continued Fractions, World Sci., River Edge, NJ, 1992
work page 1992
-
[23]
–The dynamics of Pythagorean triples, Trans
Romik, D. –The dynamics of Pythagorean triples, Trans. Am. Math. Soc. 360(11), (2008) 6045-6064
work page 2008
-
[24]
–Exact endomorphisms of a Lebesgue space, Am
Rokhlin, V.A. –Exact endomorphisms of a Lebesgue space, Am. Math. Soc., Transl., II. Ser. 39, 1–36 (1964)
work page 1964
-
[25]
PhD-thesis University Utrecht (2025)
Sanderson, Slade Bradford –Dynamics of number expansions and translation surfaces. PhD-thesis University Utrecht (2025). Open Access fromhttps://research-portal.uu.nl/en/publications/ dynamics-of-number-expansions-and-translation-surfaces/
work page 2025
-
[26]
–Number theoretical endomorphisms withσ-finite invariant measure, Israel J
Schweiger, F. –Number theoretical endomorphisms withσ-finite invariant measure, Israel J. Math. 31, No. 6 (1975), 308–318
work page 1975
-
[27]
Zweim¨ uller, Roland –Hopf’s ratio ergodic theorem by inducing, Colloq. Math. 101, No. 2, 289–292 (2004). Jiangsu University, School of Mathematical Sciences, Xuefu 301, Zhenjiang, 212013, P.R.CHINA Email address:yufechen@163.com Department of Mathematics, Utrecht University, P.O. Box 80010, 3508 TA Utrecht, the Netherlands Email address:k.dajani@uu.nl Sc...
work page 2004
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.