Long-Period Runs: Domain-Specific Persistence
- Long-period runs are persistence phenomena defined differently across domains, from repeated partial quotients in continued fractions to maximal repetitions in strings.
- In continued fractions, they are analyzed via prescribed longest-run constructions that yield full-dimensional exceptional sets with logarithmic or polynomial growth laws.
- In time series and stochastic models, long-period runs capture contiguous intervals of persistent deviation, informing analyses of turbulence and gambler’s ruin.
Searching arXiv for the cited paper and closely related work on longest runs in continued fractions and run theory. Long-period runs are studied in several technically distinct senses. In continued-fraction dynamics, they are longest blocks of repeated partial quotients, either for a fixed symbol or after maximization over all symbols. In combinatorics on words, they are maximal repetitions whose minimal period exceeds a prescribed threshold. In irregularly sampled time-series analysis, they are contiguous intervals during which a locally estimated period or amplitude remains persistently displaced from a baseline value. Related stochastic work treats long runs of persistent increments in gambler’s ruin, while fluid-dynamical work on turbulence uses the adjacent notion of a longest-period periodic orbit rather than a run statistic in the combinatorial sense (Lee, 30 May 2026).
1. Domain-specific meanings and basic distinctions
The literature does not use a single universal definition of “long-period runs.” Instead, the object depends on the ambient structure being analyzed.
| Setting | Run object | Principal statistic |
|---|---|---|
| Continued fractions | consecutive repeated partial quotients | , |
| Strings | maximal repetition with minimal period | , threshold |
| Running-Sines time series | contiguous interval of persistent local period or amplitude excursion | segments |
| Persistent gambler’s ruin | maximal consecutive or increments | , , 0 |
A recurrent source of confusion is to identify these objects with one another. The continued-fraction problem concerns constant-symbol blocks in a countable-alphabet symbolic expansion. The string-theoretic problem concerns maximal periodic substrings with arbitrary minimal period. The Running-Sines formulation does not define a run at the symbol level at all; it defines a run as a contiguous interval in a trajectory of locally estimated parameters. These distinctions are structural rather than terminological.
A second distinction concerns typical versus exceptional behavior. In continued fractions, one line of work establishes almost-sure logarithmic laws for longest runs, while another constructs full Hausdorff dimensional exceptional sets on which a prescribed digit realizes the overall maximum at an admissible growth scale. The same object is therefore studied both metrically and dimensionally.
2. Continued fractions: prescribed longest runs
For every irrational 1, the continued-fraction expansion is
2
where
3
Fix 4. A run of length 5 of 6 in 7 is a string of 8 consecutive entries equal to 9. The fixed-symbol longest-run up to time 0 is 1, the maximal block-length of 2 among the first 3 partial quotients, and the overall longest-run is
4
An admissible growth scale is a function 5 that is non-decreasing, unbounded, and self-neglecting in the sense that
6
The central result shows that both the growth rate and the maximizing symbol can be prescribed in advance (Lee, 30 May 2026). For
7
one has
8
This simultaneously yields three full-dimensional exceptional-set statements: fixed-symbol exact growth, overall exact growth, and prescribed dominance. In particular, the maximizing symbol in the overall longest-run problem can be fixed in advance without any loss of Hausdorff dimension.
The construction is carried out inside bounded-digit Cantor sets
9
whose dimension tends to 0 as 1. With parameters 2 and 3, stage 4 begins at time 5, sets a target run length 6, introduces a free block of length 7, inserts the separator 8 repeatedly, and then forces a run of 9 of length 0. Another separator terminates the stage. By design, the forced 1-run has the prescribed scale, while accidental runs of 2 or of any other symbol outside the forced blocks are broken by separators and have length at most 3. The resulting Cantor-type set 4 satisfies
5
and letting 6 and 7 yields full dimension.
The admissible scales include logarithmic and polynomial examples. When 8, one recovers full-dimensional sets with longest run growing like 9. When 0 for 1, one obtains full-dimensional sets with polynomial longest-run growth. In every case, no other symbol ever matches the length of the 2-runs at any finite stage.
3. Quantitative longest-run laws for partial quotients
The exceptional-set theorem is complemented by quantitative almost-sure laws for continued fractions. In a general ergodic, measure-preserving system with a countable-alphabet observable 3, the fixed-symbol longest-run 4 and the maximized run 5 are studied under three hypotheses: quantitative mixing, an exponential cylinder estimate for one distinguished symbol, and a summed cylinder bound over all symbols (Lee, 12 Feb 2026).
Under these assumptions, for every 6 and almost every 7, there is 8 such that
9
for all large 0. If the summed cylinder bound also holds, then the same two-sided estimate applies to 1 with the same centring constant.
For the Gauss dynamical system on 2, the observable is 3, the 4th partial quotient. The explicit centring constants are
5
for a fixed digit 6, and
7
for the overall longest run. The almost-sure first-order laws are
8
The refinement is the double-logarithmic error bound: for every 9 and almost every 0, there exists 1 such that for all 2,
3
These results quantify the statement that, for almost every continued-fraction expansion, the longest constant block among the first 4 digits is of order 5. In conjunction with the prescribed-realization theorem, they separate typical logarithmic behavior from full-dimensional exceptional behavior at arbitrary admissible scales.
4. Long-period runs in strings
In combinatorics on words, a run is a maximal repetition rather than a constant-symbol block. For a string 6, an integer 7 is a period of 8 if
9
If 0 is the smallest period, the exponent is
1
A run, or maximal repetition, is a triple 2 such that 3 has minimal period 4, length at least 5, and cannot be extended while preserving that period (Bannai et al., 2014).
Two fundamental bounds govern the global combinatorics of runs: 6 where 7 is the maximum number of runs in a length-8 string and 9 is the maximum sum of run exponents. More generally, for runs of exponent at least 0, one has
1
The structural characterization uses Lyndon words under two opposite total orders 2. Each run “owns” at least one longest Lyndon interval beginning strictly inside the run, and no two distinct runs can claim the same starting position. This disjoint-claim mechanism yields the linear bounds. It also leads to a linear-time algorithm for listing all runs: compute, for both orders, the longest Lyndon word starting at each position; then use longest-common-extension queries to extend each candidate locally and test whether it lies in a run. The procedure is linear-time and, unlike earlier linear-time algorithms, does not utilize the Lempel–Ziv factorization.
Within this framework, “long-period runs” are runs whose minimal period exceeds a threshold 3. Once all runs are listed in 4 time, filtering those with 5 is immediate in 6. If threshold queries are repeated, runs can be sorted by period, and counts or summed exponents above a threshold can be answered via binary search and prefix sums, or via a segment tree or Fenwick tree. This usage differs sharply from the continued-fraction longest-run problem: the period is intrinsic to the repeated word, not to a cycle-length estimate or to a constant symbol.
5. Running-Sines analysis of quasi-periodic time series
In the time-series literature on nearly periodic signals with irregular sampling, “long-period runs” refer to extended excursions in local period, phase, or amplitude estimated by a sliding local sinusoidal fit (Andronov et al., 2013). Given data 7, a nominal period 8, and central times 9, one selects a window half-width 00, retains only points with 01, and defines weights
02
With the rectangular filter, 03 for 04. The local model is
05
equivalently
06
with
07
The coefficients are obtained by minimizing the weighted least-squares criterion 08, with normal equations 09, 10, and solution 11. Formal uncertainties follow from 12, where 13.
If period drift is suspected, the fit may be repeated over a small grid of trial periods around 14, choosing the period that minimizes 15. In practice, only small fractional deviations 16–17 are usually allowed for stability. The extraction of long-period runs proceeds by computing a global periodogram, choosing 18 typically near 19, and then examining the local trajectories 20, 21, and possibly 22. A run may be defined as a contiguous interval 23 during which 24 stays 25 or 26 for at least 27–28 cycles, with significance above the 29 error bars. Amplitude runs are defined analogously.
The method was illustrated on a signal with linearly varying period, where 30 runs from 31 to 32 over 33, and on AF Cyg, using 34 AFOEV visual magnitudes with 35, 36, and 37. For AF Cyg, the baseline 38 exhibits four slow waves of period 39 at the start of the data set; these are the long-period runs. The local amplitude 40 sometimes falls to zero, indicating temporary cessation of the 41 oscillation.
This formulation makes clear that the “period” in long-period runs is not a substring period, as in string algorithms, but a local cycle length in a fitted oscillatory process. The advantages and limitations are correspondingly different: the method is designed for nearly periodic signals in irregularly sampled data, provides formal error bars, and is robust to gaps in the sense that only the local window matters, but noise, asymmetric windows near gaps, and secular trends can bias the local estimates.
6. Persistent runs in stochastic paths and adjacent dynamical notions
In a persistent gambler’s-ruin model with two strata, the path 42 evolves on 43, starts at 44, and stops on first hitting 45. The increments 46 take values 47, and the persistence probabilities depend on both the previous sign and the current level: 48 for 49 and 50 for 51, with 52, 53 (Morrow, 2017). Along any nearest-neighbor lattice path, a run is a maximal sequence of consecutive 54's or 55's, and a long run is one of length at least 56. In the meander after the last visit to the origin, the statistics are
57
The paper develops generating-function identities for these quantities and proves a limit theorem for the scaled combination
58
equivalently, in the asymptotic analysis section,
59
Its characteristic function converges to an explicit non-Gaussian limit determined by 60. In the classical fair-walk case 61 and 62, the limit is the 63-law with characteristic function 64.
A nearby but distinct use of “long-period” arises in turbulence. There, the object is not a run statistic but the longest periodic solution extracted numerically from high-symmetry forced box turbulence. The longest orbit is the period-5 solution with
65
that is, roughly two to three times the large-eddy-turnover time. It has low-activity and high-activity intervals, and turbulent trajectories approach its low-activity part roughly once every few 66 (Veen et al., 2018). This suggests an important conceptual boundary: in some dynamical-systems settings, long-period organization is carried by unstable periodic motion rather than by a run count or a longest-block statistic.
Taken together, these lines of work show that “long-period runs” is best treated as a family of domain-specific persistence phenomena. In continued fractions, the main issue is whether a prescribed digit can dominate the overall longest-run problem at a prescribed scale; in strings, the issue is maximal periodic structure and its algorithmic extraction; in time-series analysis, it is the localization of persistent period excursions; and in stochastic persistence models, it is the fluctuation theory of clustered increments.