Search arXivSearch

arXiv · 1409.0729

A rigorous version of R. P. Brent's model for the binary Euclidean algorithm

Abstract

The binary Euclidean algorithm is a modification of the classical Euclidean algorithm for computation of greatest common divisors which avoids ordinary integer division in favour of division by powers of two only. The expectation of the number of steps taken by the binary Euclidean algorithm when applied to pairs of integers of bounded size was first investigated by R. P. Brent in 1976 via a heuristic model of the algorithm as a random dynamical system. Based on numerical investigations of the expectation of the associated Ruelle transfer operator, Brent obtained a conjectural asymptotic expression for the mean number of steps performed by the algorithm when processing pairs of odd integers whose size is bounded by a large integer. In 1998 B. Vallée modified Brent's model via an induction scheme to rigorously prove an asymptotic formula for the average number of steps performed by the algorithm; however, the relationship of this result with Brent's heuristics remains conjectural. In this article we establish previously conjectural properties of Brent's transfer operator, showing directly that it possesses a spectral gap and preserves a unique continuous density. This density is shown to extend holomorphically to the complex right half-plane and to have a logarithmic singularity at zero. By combining these results with methods from classical analytic number theory we prove the correctness of three conjectured formulae for the expected number of steps, resolving several open questions promoted by D. E. Knuth in The Art of Computer Programming.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Ian D. Morris. 2014-09-02. A rigorous version of R. P. Brent's model for the binary Euclidean algorithm. https://arxiv.org/abs/1409.0729

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Pivoting technique for the circle homeomorphism group

We adapt Gou{ë}zel's pivoting technique to the circle homeomorphism group. As an application, we give different proofs of Gilabert Vio's probabilistic Tits alternative and Malicet's exponential synchronization.

math.DS

Asymmetry of a class of Mellin transforms

We introduce the quantity $μ_η$, defined for every complex $s$ in the critical strip, as a transformation of the Mellin transform associated to the functions $η$. We establish a sufficient condition on $η$ under which $μ_η(s)$ and $μ_η(1-s)$ cannot both vanish outside the critical line. An application is given to the case in which $η$ is the fractional part function, and the zeros of $μ_η$ coincide with the zeros of the Riemann zeta function.

math.DS

Infinite Set of Resonances in the Linear Damped Oscillator Subject to Harmonic Forcing with Non-standard Frequency Modulation

It is shown that harmonic signals incorporating a type of weak non-standard frequency modulation (wNSFM) have interesting spectral properties, namely, time-dependent bandwidths that become increasingly broader with increasing time. As such, they represent a class of signals with frequency-time coupling in their spectra. Specifically, the weakly damped oscillator exhibits always two transient resonance captures involving two distinct harmonics possessing relatively high amplitudes over finite time intervals, while the overall response decays as $~t^{-1/2}$ as $t\rightarrow\infty$. Considering the undamped oscillator, it possesses two types of resonances, referred to as simple and non-simple resonances. Simple resonances correspond to finite-amplitude steady-state responses caused by two sustained resonance captures, in the form of two distinct modulated quasi-periodic responses, which, however are "activated" at different time instances. The necessary and sufficient conditions for non-simple resonances are given in the form of a theorem which predicts the existence of resonant harmonics and specifies the special phase conditions that the resonant harmonics must satisfy for constructive interference; the resulting undamped non-simple resonance grows unboundedly as $~t^{-1/2}$ as $t\rightarrow\infty$, in contrast to the classical resonance growth of the linear resonator with unmodulated harmonic excitation whose response grows as $~t$ as $t\rightarrow\infty$. These resonant responses are persistent to changes in the parameters of the wNSFM. Our results reveal interesting infinite sets of resonances in linear SDOF resonators under frequency-modulated excitations.

math.DS