For a positive integer QQ, let T(Q)T(Q) be the period length of the simple continued fraction of Q\sqrt{Q} (with T(Q)=0T(Q)=0 when QQ is a square). Arnold's 2009 empirical study of these periods, together with his 2008 companion paper, asked how T(Q)T(Q) is distributed as QQ grows: how frequently the period is odd, how large T(Q)T(Q) can be relative to Q\sqrt{Q}, what its typical Cesàro-mean order is, and whether the partial quotients of Q\sqrt{Q} follow the Gauss–Kuz'min statistics known for almost all real numbers. Earlier work has settled several parts of the program: explicit-constant upper bounds T(Q)≪Qlog⁡QT(Q)\ll\sqrt{Q}\log Q predate Arnold's paper; the density of odd periods among eligible squarefree QQ is exactly 1−∏j≥1, j odd(1−2−j)≈0.5805771-\prod_{j\ge1,\,j\ \mathrm{odd}}(1-2^{-j})\approx0.580577 by Koymans–Pagano's proof of Stevenhagen's conjecture; Arnold's middle-element parity observations were proved by Li–Ma; and the averaged Gauss–Kuz'min statistics for quadratic irrationals were proved by Ustinov (and, for prime multiples of a fixed quadratic irrational, by Aka). The surviving open core asks for the true Cesàro mean of T(Q)T(Q) (Arnold's conjectured average order CxC\sqrt{x}), the maximal order of T(Q)/QT(Q)/\sqrt{Q} (closing the gap between ≫Q/log⁡log⁡Q\gg\sqrt{Q}/\log\log Q and ≪Qlog⁡Q\ll\sqrt{Q}\log Q), and the Q\sqrt{Q}-specific Gauss–Kuz'min behavior: pooled convergence to the universal statistics, the growth of the mean period element λ(Q)\lambda(Q), and the structural constraints behind Arnold's entropy paradox.

Background

Every irrational real number has an infinite simple continued fraction [a0;a1,a2,… ][a_0;a_1,a_2,\dots] with integer partial quotients ai≥1a_i\ge1 for i≥1i\ge1. By a classical theorem of Lagrange, the expansion is eventually periodic exactly for quadratic irrationalities. For a positive integer QQ that is not a square, write

Q=[a0;a1,…,aT(Q)‾],\sqrt{Q}=[a_0;\overline{a_1,\dots,a_{T(Q)}}],

where the overbar marks the minimal repeating block; T(Q)T(Q) is the period length, and one sets T(Q)=0T(Q)=0 for perfect squares. The period has a palindromic structure (a theorem of Galois): aT=2a0a_T=2a_0 and ai=aT−ia_i=a_{T-i} for 1≤i≤T−11\le i\le T-1. In the standard expansion algorithm the complete quotients (the quadratic irrationalities remaining after each step) take the form (Q+mk)/vk(\sqrt{Q}+m_k)/v_k with integers mk,vkm_k,v_k satisfying vk∣Q−mk2v_k\mid Q-m_k^2 and 0<mk<Q0<m_k<\sqrt{Q}; since each pair (mk,vk)(m_k,v_k) determines the next step, T(Q)T(Q) is bounded by the number of admissible pairs. Hickerson exploited this through the function g(d)g(d) counting the pairs (m,q)(m,q) with 0<m<d0<m<\sqrt{d}, d−m<q<d+m\sqrt{d}-m<q<\sqrt{d}+m, and q∣d−m2q\mid d-m^2, for which T(d)≤g(d)T(d)\le g(d). The parity of T(Q)T(Q) is arithmetic rather than statistical: T(Q)T(Q) is odd if and only if the negative Pell equation x2−Qy2=−1x^2-Qy^2=-1 is solvable in integers. Solvability forces QQ to be a sum of two coprime squares, Q=a2+b2Q=a^2+b^2 with gcd⁡(a,b)=1\gcd(a,b)=1; call such QQ eligible. Arnold's tables for Q<200Q<200 record eligible QQ with even period, such as T(34)=4T(34)=4, T(146)=2T(146)=2, T(194)=4T(194)=4 (and the square Q=169=132Q=169=13^2, for which T=0T=0); he noted that the observed prevalence of even period lengths over odd ones, and the absence of odd periods for Q<200Q<200 divisible by 44, have no explanation. For eligible squarefree dd, Stevenhagen conjectured, and Koymans–Pagano recently proved, that the density of solvable negative Pell equations equals 1−∏j≥1, j odd(1−2−j)=0.58057…1-\prod_{j\ge1,\,j\ \mathrm{odd}}(1-2^{-j})=0.58057\ldots. The size of T(Q)T(Q) is tied to the fundamental unit εQ>1\varepsilon_Q>1 of the order Z[Q]={a+bQ:a,b∈Z}\mathbb{Z}[\sqrt{Q}]=\{a+b\sqrt{Q}:a,b\in\mathbb{Z}\} (the smallest real number larger than 11 invertible in this ring; its logarithm log⁡εQ\log\varepsilon_Q is the regulator of the real quadratic field Q(Q)\mathbb{Q}(\sqrt{Q}), the standard measure of the size of its unit group): Cohn proved T(d)>log⁡εd/log⁡dT(d)>\log\varepsilon_d/\log d, while convergent denominators grow at least like Fibonacci numbers, so T(d)T(d) and log⁡εd\log\varepsilon_d agree up to a factor log⁡d\log d. Maximal-order questions about TT therefore contain, up to a logarithmic factor, the classical problem of how large regulators of real quadratic fields can be. For almost all real numbers, the Gauss–Kuz'min theorem asserts that the frequency of the partial quotient aa tends to ga=1log⁡2log⁡(1+1a(a+2))g_a=\frac{1}{\log 2}\log\left(1+\frac{1}{a(a+2)}\right). Arnold's program asks to what extent the periods of Q\sqrt{Q}, pooled over QQ, display the same statistics, and to what extent they are constrained. He observed empirically that T(Q)≤CQlog⁡QT(Q)\le C\sqrt{Q}\log Q; that the mean period element λ(Q)=Σ(Q)/T(Q)\lambda(Q)=\Sigma(Q)/T(Q), where Σ(Q)\Sigma(Q) is the sum of the period's elements, grows roughly like Q0.24Q^{0.24} (the exponent is observed for the equivalent family of roots of x2+x=Qx^2+x=Q, i.e. of numbers (1+4Q−1)/2(\sqrt{1+4Q}-1)/2); and he noted an entropy paradox: if the roughly XX integers Q≤XQ\le X all carried periods statistically indistinguishable from Gauss–Kuz'min-random words, then, since the Gauss map u↦{1/u}u\mapsto\{1/u\} generating continued fractions has entropy hh and admits only about ehTe^{hT} words of length TT, typical periods could not exceed length O(log⁡X)O(\log X), yet the mean period appears to grow of order about X\sqrt{X}. His 2008–2009 papers posed these observations as problems for theory, and they anchor the questions recorded below.

Problem Statement

Let T(Q)T(Q) denote the period length of the simple continued fraction of Q\sqrt{Q} (with T(Q)=0T(Q)=0 for perfect squares), let Σ(Q)\Sigma(Q) denote the sum of the elements of one period, and let λ(Q)=Σ(Q)/T(Q)\lambda(Q)=\Sigma(Q)/T(Q) be the mean period element. The common objective, in Arnold's formulation, is to replace the empirical regularities observed for the periods of Q\sqrt{Q} by theorems. The following parts of Arnold's program remain open. Parts (i), (ii) and (iii) are independent: each may be settled on its own, independently of the others; within (iii), the sub-parts (a), (b) and (c) are jointly required. (i) Average order. Determine the order of the Cesàro mean A(x)=1x∑Q≤xT(Q)A(x)=\frac{1}{x}\sum_{Q\le x}T(Q). This upper bound A(x)≤c1xA(x)\le c_1\sqrt{x} with explicit c1c_1 is known, and Arnold conjectured that the mean period over Q≤xQ\le x grows proportionally to x\sqrt{x} (in his notation T∼CRT\sim C\sqrt{R} for the mean over the disc of radius RR in the (p,q)(p,q)-plane of the family of roots of x2+px+q=0x^2+px+q=0; equivalently, for the Q\sqrt{Q} family, that ∑Q≤xT(Q)\sum_{Q\le x}T(Q) has order x3/2x^{3/2} — his conjecture α=3/2\alpha=3/2, for which he recorded that there is as yet no proof). Prove or disprove this conjectured average order, that is, whether A(x)≍xA(x)\asymp\sqrt{x} as x→∞x\to\infty. (ii) Large values and maximal order. The best published explicit family (Cohn's Q=22k+1Q=2^{2k+1}, whose fundamental unit is ε=(1+2)2k\varepsilon=(1+\sqrt{2})^{2^k}, so that log⁡ε≍Q\log\varepsilon\asymp\sqrt{Q}) yields only T(Q)≫Q/log⁡log⁡QT(Q)\gg\sqrt{Q}/\log\log Q, while the known upper bound is T(Q)≤72π2Qlog⁡Q+O(Qlog⁡log⁡Q)T(Q)\le\frac{7}{2\pi^2}\sqrt{Q}\log Q+O(\sqrt{Q}\log\log Q); a suggestion of Lehmer recorded by Cohn is that values near 1.8π2Qlog⁡Q\frac{1.8}{\pi^2}\sqrt{Q}\log Q occur infinitely often. Determine lim sup⁡Q→∞T(Q)/(Qlog⁡Q)\limsup_{Q\to\infty}T(Q)/(\sqrt{Q}\log Q), or at least whether lim sup⁡T(Q)/Q=∞\limsup T(Q)/\sqrt{Q}=\infty. Note that proving T(Q)=o(Qlog⁡Q)T(Q)=o(\sqrt{Q}\log Q) would imply log⁡εQ=o(Qlog⁡Q)\log\varepsilon_Q=o(\sqrt{Q}\log Q), a regulator bound long sought in vain. (iii) Gauss–Kuz'min behavior specific to Q\sqrt{Q}. Averaged Gauss–Kuz'min statistics are known for reduced quadratic irrationals ordered by regulator (Ustinov), which solved Arnold's problem in that ensemble, and for the periods of pxpx along large sets of primes pp for a fixed quadratic irrational xx (Aka). For the pooled family of square roots Q\sqrt{Q} with Q≤XQ\le X: (a) prove that the frequency of each fixed partial quotient aa among all period elements tends to the Gauss–Kuz'min value gag_a as X→∞X\to\infty; (b) prove that the mean period element λ(Q)\lambda(Q) tends to infinity along the Cesàro average — Arnold's observed growth of order about Q0.24Q^{0.24} (for the equivalent family of roots of x2+x=Qx^2+x=Q) is unproved in general — and determine the order of the Cesàro mean 1x∑Q≤xλ(Q)\frac1x\sum_{Q\le x}\lambda(Q); (c) resolve Arnold's entropy paradox by identifying the structural constraint (palindromic or otherwise) that distinguishes the periods of Q\sqrt{Q} from Gauss–Kuz'min-random words of the same length: for each fixed partial quotient aa, set fa(L)=lim⁡X→∞f_a(L)=\lim_{X\to\infty} (frequency of aa among the period elements of the integers Q≤XQ\le X with T(Q)=LT(Q)=L), and prove or disprove the target proposition that fa(L)f_a(L) does not tend to the Gauss–Kuz'min value gag_a as L→∞L\to\infty, that is, that the convergence to the universal statistics in (a) cannot be uniform in the word length.

References

  1. Vladimir I. Arnold (2009), 'Lengths of periods of continued fractions of square roots of integers', Functional Analysis and Other Mathematics 2, pp. 151-164. DOI: 10.1007/s11853-009-0031-x, https://doi.org/10.1007/s11853-009-0031-x
  2. V. I. Arnold (2008), 'Statistics of the periods of continued fractions for quadratic irrationals', Izvestiya: Mathematics 72(1), pp. 1-34. DOI: 10.1070/IM2008v072n01ABEH002389, https://www.mathnet.ru/eng/im2686
  3. K. E. Hirst (1972), 'The length of periodic continued fractions', Monatshefte für Mathematik 76, pp. 428-435. DOI: 10.1007/BF01297306, https://doi.org/10.1007/BF01297306
  4. Dean Hickerson (1973), 'Length of period simple continued fraction expansion of d\sqrt{d}', Pacific Journal of Mathematics 46(2), pp. 429-432. DOI: 10.2140/pjm.1973.46.429, https://doi.org/10.2140/pjm.1973.46.429
  5. R. G. Stanton, C. Sudler, Jr., and H. C. Williams (1976), 'An upper bound for the period of the simple continued fraction for D\sqrt{D}', Pacific Journal of Mathematics 67(2), pp. 525-536. DOI: 10.2140/pjm.1976.67.525, https://doi.org/10.2140/pjm.1976.67.525
  6. J. H. E. Cohn (1977), 'The length of the period of the simple continued fraction of d1/2d^{1/2}', Pacific Journal of Mathematics 71(1), pp. 21-32. DOI: 10.2140/pjm.1977.71.21, https://doi.org/10.2140/pjm.1977.71.21
  7. H. C. Williams (1981), 'A numerical investigation into the length of the period of the continued fraction expansion of D\sqrt{D}', Mathematics of Computation 36, pp. 593-601. DOI: 10.1090/S0025-5718-1981-0606518-7, https://doi.org/10.1090/S0025-5718-1981-0606518-7
  8. E. V. Podsypanin (1982), 'Length of the period of a quadratic irrational', Journal of Soviet Mathematics 18, pp. 919-923. DOI: 10.1007/BF01763963, https://doi.org/10.1007/BF01763963
  9. A. M. Rockett and P. Szüsz (1990), 'On the lengths of the periods of the continued fractions of square-roots of integers', Forum Mathematicum 2, pp. 119-123. DOI: 10.1515/form.1990.2.119, https://doi.org/10.1515/form.1990.2.119
  10. Peter Stevenhagen (1993), 'The number of real quadratic fields having units of negative norm', Experimental Mathematics 2(2), pp. 121-136. DOI: 10.1080/10586458.1993.10504272, https://doi.org/10.1080/10586458.1993.10504272
  11. Étienne Fouvry and Jürgen Klüners (2010), 'On the negative Pell equation', Annals of Mathematics 172, pp. 2035-2104. DOI: 10.4007/annals.2010.172.2035, https://doi.org/10.4007/annals.2010.172.2035
  12. Peter Koymans and Carlo Pagano (2025), 'On Stevenhagen's conjecture', Acta Mathematica, to appear. arXiv:2201.13424, https://arxiv.org/abs/2201.13424
  13. A. V. Ustinov (2013), 'Spin chains and Arnold's problem on the Gauss–Kuz'min statistics for quadratic irrationals', Sbornik: Mathematics 204(5), pp. 762-779. DOI: 10.1070/SM2013v204n05ABEH004319, https://www.mathnet.ru/eng/sm8123
  14. Yan Li and Lianrong Ma (2010), 'On the elements of the continued fractions of quadratic irrationals', The Fibonacci Quarterly 48(2), pp. 129-136. DOI: 10.1080/00150517.2010.12428113, https://fq.math.ca/Papers1/48-2/Li_Ma.pdf
  15. Francesca Aicardi (2010), 'The continued fractions of the square roots of integers: on the parity of the length of their period', Functional Analysis and Other Mathematics 3, pp. 1-19 (published online 6 January 2009). DOI: 10.1007/s11853-008-0028-x, https://doi.org/10.1007/s11853-008-0028-x
  16. Hanka Řada and Štěpán Starosta (2020), 'Bounds on the period of the continued fraction after a Möbius transformation', Journal of Number Theory 212, pp. 122-172. DOI: 10.1016/j.jnt.2019.10.027, arXiv:1901.01383, https://arxiv.org/abs/1901.01383
  17. Lubomíra Balková and Aranka Hrušková (2013), 'Continued fractions of square roots of natural numbers', Acta Polytechnica 53(4), pp. 322-328. DOI: 10.14311/1821, https://doi.org/10.14311/1821
  18. Francesco Battistoni, Loïc Grenié, and Giuseppe Molteni (2024), 'The first and second moments for the length of the period of the continued fraction expansion for d\sqrt{d}', Mathematika 70(4), article e12273. DOI: 10.1112/mtk.12273, arXiv:2401.13118, https://arxiv.org/abs/2401.13118
  19. M. A. Korolev (2025), 'On the period of the continued fraction expansion for d\sqrt{d}', Izvestiya: Mathematics 89(1), pp. 26-49 (preprint arXiv:2403.08616 circulated under the title 'An upper bound for the second moment of the length of the period of the continued fraction expansion for d\sqrt{d}'). DOI: 10.4213/im9587e, https://www.mathnet.ru/eng/im9587e
  20. Florin P. Boca (2007), 'Products of matrices and the distribution of reduced quadratic irrationals', Journal für die reine und angewandte Mathematik 606, pp. 149-165. DOI: 10.1515/crelle.2007.038, https://doi.org/10.1515/crelle.2007.038
  21. Menny Aka (2020), 'Continued fractions of arithmetic sequences of quadratics', Expositiones Mathematicae 38(3), pp. 397-406. DOI: 10.1016/j.exmath.2019.05.004, https://doi.org/10.1016/j.exmath.2019.05.004
  22. Jordan S. Ellenberg (2026), 'Recent Progress around Cohen-Lenstra Heuristics', Séminaire Bourbaki, 78e année (2025-2026), exposé no. 1251. arXiv:2606.06024, https://arxiv.org/abs/2606.06024
  23. Sébastien Riche (2024), 'Parity of the central partial quotient of the continued fraction expansion of D\sqrt{D}', preprint, Cambridge Open Engage. DOI: 10.33774/coe-2024-mmbtl, https://doi.org/10.33774/coe-2024-mmbtl