Diophantine Approximation, Ostrowski Numeration and the Double-Base Number System

A partition of $x > 0$ of the form $x = \sum_i 2^{a_i}3^{b_i}$ with distinct parts is called a double-base expansion of $x$. Such a representation can be obtained using a greedy approach, assuming one can efficiently compute the largest \mbox{$\{2,3\}$-integer}, i.e., a number of the form $2^a3^b$, less than or equal to $x$. In order to solve this problem, we propose an algorithm based on continued fractions in the vein of the Ostrowski number system, we prove its correctness and we analyse its complexity. In a second part, we present some experimental results on the length of double-base expansions when only a few iterations of our algorithm are performed.

[1]  G. Chudnovsky On applications of diophantine approximations. , 1984, Proceedings of the National Academy of Sciences of the United States of America.

[2]  Valérie Berthé,et al.  Autour du système de numération d'Ostrowski , 2001 .

[3]  J. Cassels,et al.  An Introduction to Diophantine Approximation , 1957 .

[4]  Vincent Lefèvre,et al.  An Algorithm that Computes a Lower Bound on the Distance Between a Segment and ℤ2 , 1998, SCAN.

[5]  A. Barvinok,et al.  An Algorithmic Theory of Lattice Points in Polyhedra , 1999 .

[6]  G. Andrews Congruence properties of the m-ary partition function , 1971 .

[7]  Laurent Imbert,et al.  Efficient and Secure Elliptic Curve Point Multiplication Using Double-Base Chains , 2005, ASIACRYPT.

[8]  J. Shallit,et al.  Automatic Sequences: Frequency of Letters , 2003 .

[9]  Graham A. Jullien,et al.  An Algorithm for Modular Exponentiation , 1998, Inf. Process. Lett..

[10]  Graham A. Jullien,et al.  Theory and Applications of the Double-Base Number System , 1999, IEEE Trans. Computers.

[11]  Vincent Lefèvre,et al.  New Results on the Distance between a Segment and Z². Application to the Exact Rounding , 2005, 17th IEEE Symposium on Computer Arithmetic (ARITH'05).

[12]  Approximations of real numbers by the sequence {nα} and their metrical theory , 1988 .

[13]  Damian Słota,et al.  δ-Fibonacci numbers , 2009 .

[14]  Robert Tijdeman Some Applications of Diophantine Approximation , 2000 .

[15]  V. Sós On the theory of diophantine approximations. II (inhomogeneous problems) , 1958 .

[16]  N. B. Slater,et al.  Gaps and steps for the sequence nθ mod 1 , 1967, Mathematical Proceedings of the Cambridge Philosophical Society.

[17]  Laurent Imbert,et al.  The double-base number system and its application to elliptic curve cryptography , 2007, Math. Comput..

[18]  Vera T. Sós On a problem of S. Hartman about normal forms , 1960 .

[19]  R. Tijdeman,et al.  On the maximal distance between integers composed of small primes , 1974 .

[20]  Jacques Sakarovitch,et al.  Powers of rationals modulo 1 and rational base number systems , 2008 .

[21]  Laurent Imbert,et al.  Extended Double-Base Number System with Applications to Elliptic Curve Cryptography , 2006, INDOCRYPT.

[22]  Laurent Imbert,et al.  On converting numbers to the double-base number system , 2004, SPIE Optics + Photonics.

[23]  Sébastien Ferenczi,et al.  Covering numbers: Arithmetics and dynamics for rotations and interval exchanges , 1999 .

[24]  Mukarram Ahmad,et al.  Continued fractions , 2019, Quadratic Number Theory.

[25]  A. Ostrowski Bemerkungen zur Theorie der Diophantischen Approximationen , 1922 .