The Ostrowski Expansions Revealed

Similar documents
Irrational Base Counting

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Infinite Continued Fractions

Problem Set 5 Solutions

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Solutions to Assignment 1

NOTES ON SIMPLE NUMBER THEORY

CHAPTER 8: EXPLORING R

We want to show P (n) is true for all integers

27 th Annual ARML Scrimmage

Notes on Continued Fractions for Math 4400

Continued fractions for complex numbers and values of binary quadratic forms

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

Series of Error Terms for Rational Approximations of Irrational Numbers

The Real Number System

arxiv: v1 [math.gm] 1 Oct 2015

Trajectories of rotations

EDULABZ INTERNATIONAL NUMBER SYSTEM

MATH 271 Summer 2016 Practice problem solutions Week 1

Math 1 Variable Manipulation Part 4 Student

3 Finite continued fractions

Chapter 5. Number Theory. 5.1 Base b representations

Standard forms for writing numbers

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

INITIAL POWERS OF STURMIAN SEQUENCES

Ch 3.2: Direct proofs

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

NAME DATE PERIOD. A negative exponent is the result of repeated division. Extending the pattern below shows that 4 1 = 1 4 or 1. Example: 6 4 = 1 6 4

MAT115A-21 COMPLETE LECTURE NOTES

MATH10040: Numbers and Functions Homework 1: Solutions

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

What is Zeckendorf s Theorem?

Foundations of Discrete Mathematics

Math 110 HW 3 solutions

Necessary and Sufficient Conditions for the Central Norm to Equal 2 h in the Simple Continued Fraction Expansion of 2 h c for Any Odd Non-Square c > 1

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

On the possible quantities of Fibonacci numbers that occur in some type of intervals

Mathematical Induction

Solutions for Homework Assignment 2

PELL S EQUATION NATIONAL INSTITUTE OF TECHNOLOGY ROURKELA, ODISHA

MATH 131A: REAL ANALYSIS (BIG IDEAS)

Miller Objectives Alignment Math

CHAPTER 1 REAL NUMBERS KEY POINTS

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

REAL NUMBERS. Any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b.

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

MA131 - Analysis 1. Workbook 6 Completeness II

1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).

Proofs. Chapter 2 P P Q Q

CSE 20. Final Review. CSE 20: Final Review

Day 6: 6.4 Solving Polynomial Equations Warm Up: Factor. 1. x 2-2x x 2-9x x 2 + 6x + 5

Parent Guide. Number System. Diocese of Cleveland

In N we can do addition, but in order to do subtraction we need to extend N to the integers

GENERALIZED PALINDROMIC CONTINUED FRACTIONS

Open Problems with Factorials

ON THE POSSIBLE QUANTITIES OF FIBONACCI NUMBERS THAT OCCUR IN SOME TYPES OF INTERVALS

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. Introductory Notes in Discrete Mathematics Solution Guide

arxiv: v1 [math.co] 27 Aug 2015

5: The Integers (An introduction to Number Theory)

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

Factorizations of the Fibonacci Infinite Word

Question 1: Is zero a rational number? Can you write it in the form p, where p and q are integers and q 0?

Mathematics Pacing. Instruction: 9/7/17 10/31/17 Assessment: 11/1/17 11/8/17. # STUDENT LEARNING OBJECTIVES NJSLS Resources

ON THE DECIMAL EXPANSION OF ALGEBRAIC NUMBERS

Divisibility. Chapter Divisors and Residues

1 Numbers. exponential functions, such as x 7! a x ; where a; x 2 R; trigonometric functions, such as x 7! sin x; where x 2 R; ffiffi x ; where x 0:

Mathematical Induction

Solving Diophantine Equations With Unique Factorization

Fundamentals of Mathematics (MATH 1510)

Properties of Rational and Irrational Numbers

MATH FINAL EXAM REVIEW HINTS

SVETLANA KATOK AND ILIE UGARCOVICI (Communicated by Jens Marklof)

586 Index. vertex, 369 disjoint, 236 pairwise, 272, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws

Numbers and their divisors

Solutions to Practice Final

Mathematical Induction

CONTINUED FRACTIONS Lecture notes, R. M. Dudley, Math Lecture Series, January 15, 2014

CHAPTER 1. REVIEW: NUMBERS

Chapter 1 The Real Numbers

On a quantitative refinement of the Lagrange spectrum

DR.RUPNATHJI( DR.RUPAK NATH )

Math /Foundations of Algebra/Fall 2017 Foundations of the Foundations: Proofs

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

Trinity Christian School Curriculum Guide

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

Rational Approximation by Continued Fractions

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

Math 109 HW 9 Solutions

Climbing an Infinite Ladder

Midterm Preparation Problems

Winter Camp 2009 Number Theory Tips and Tricks

Outline Goals and Assumptions Real Numbers Rational and Irrational. L11: Numbers. Alice E. Fischer

Review Sheet for the Final Exam of MATH Fall 2009

West Windsor-Plainsboro Regional School District Math A&E Grade 7

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

A Level. A Level Mathematics. Proof by Contradiction (Answers) AQA, Edexcel, OCR. Name: Total Marks:

MyMathLab for School Precalculus Graphical, Numerical, Algebraic Common Core Edition 2016

,... We would like to compare this with the sequence y n = 1 n

FIFTH ROOTS OF FIBONACCI FRACTIONS. Christopher P. French Grinnell College, Grinnell, IA (Submitted June 2004-Final Revision September 2004)

SEVENTH EDITION and EXPANDED SEVENTH EDITION

Transcription:

arxiv:605.07992v4 [math.nt] 7 Jun 206 June 9, 206 Abstract We provide algorithms for the absolute and alternating Ostrowski Expansions of the continuum and provide proofs for their uniqueness. Introduction The various algorithms that construe the Ostrowski Expansions rely on the continued fraction expansion of a fixed irrational number α in the interval in order to represent other real numbers base α and base ( α). They are utilized in a broad range of applications, ranging from Diophantine Approximation [, 4] to symbolic dynamics and coding theory [5, 6], for a through survey refer to [2]. Given r R, we define the floor r of the real numberr to be the largest integer smaller than or equal tor and expand r as a continued fraction using the following iteration scheme: Algorithm : continued fraction expansion input : r R output: l N := Z { }, a 0 Z, a k l Z seta 0 := r, α 0 := r a 0, l :=, k := ; 2 while α k > 0 do 3 seta k := /α k ; 4 setα k := /α k a k [0,); 5 setk := k +; 6 end 7 setl := k ; The proof of the existence and uniqueness for this expansion as well as the assertion of the rest of the claims made in this section can be found in the classical exposition [3]. This iteration process will terminate with a finite value l precisely when α is rational. The assignment of the digit a k in line 3 yields the inequality a k α k < (a k +)α k, k < l+, ()

(where + := = l when applicable). After we rewrite the assignment in line 4 as α k = (a k +α k ), we obtain the expansion r = a 0 +α 0 = a 0 + a +α = a 0 + =... = a 0 + a + a + a 2 +α 2 a 2 + whose truncation at the k < l + step yields the convergent a 3 +..., p k q k := a 0 + a + a 2 +...+. a k We fixα (0,)\Q throughout and, after we plug it as input in the algorithm, we obtain the value a 0 = 0 and the infinite digit sequence a k. We end this section by quoting two well known facts about the resulting sequence of convergents p k /q k 0, namely the recursion equation q = p 0 := 0, p = q 0 :=, p k = a k p k +p k 2, q k = a k q k +q k 2, k (2) and the inequality α p k q k <, k 0. (3) qk 2 2 Basic definitions and identities The base α and base ( α) Ostrowski Expansions are dot products of two sequences: a digit sequence and a sequence of certain coefficients depending on α, which will we now define and study. After applying algorithm and letting p k /q k be as in equation (2), we define the coefficients θ k := q k α p k, k. (4) Utilizing this definition and the equations (2) in an induction argument, we arrive at the recursion equations θ =, θ 0 = α, θ k = θ k 2 +a k θ k, θ k = θ k 2 a k θ k, k. (5) Multiplying both sides of the inequality (3) byq k yields the inequality θ k < q k, k 0. (6) 2

Assuming that θ k = θ k α k for some k N, where α k is as in line 4 of algorithm, we use this recursion relationship to obtain the equality θ k+ = θ k +a k+ θ k = θ k ( a k+ α k ) = θ k α k ( α k a k+ ) = θ k α k+. Since we have θ 0 = α = θ α, that is, the assumption holds for k = 0, we have just proved by induction that θ k = θ k α k = ( ) k α 0 α...α k, k 0, (7) In particular, this shows that the sequence θ k is alternating as in In tandem with the inequality (), we obtain the inequality θ k = ( ) k θ k, k. (8) a k+ θ k θ k = a k+ α k < < (a k+ +)α k = (a k+ +) θ k, θ k that is, a k+ θ k < θ k < (a k+ +) θ k, k 0. (9) Since by definition (5), we have θ 0 < θ and since α k < by its definition in line 4 of algorithm, the formula (7) also asserts that the sequence θ k is strictly decreasing to zero, that is, θ k+ < θ k 0, as k. (0) While, by the alternating series test, this is enough to assert the convergence of the series k:= a kθ k, this series, in fact, converges absolutely: Proposition 2.. The infinite series k:= a k θ k converges for all α. Proof. By the inequality (9), we see that a k θ k < k= θ k and by the recursion equation (2) and the inequality (6) we have θ k+ θ k < q k q k+ = q k <, k 0. a k+ q k +q k a k+ Thus, as long as limsup a k 2, we conclude convergence from the simple comparison k a k =, then α must be a noble number, whose continued and ratio tests. When limsup k fraction expansion ends with a tail of s. By the limit comparison test, we need only establish the convergence for this tail, that is for α where a k = for all k. After using the assignments of line 3 and line 4 in algorithm, we write α k = +α k+ = + +... = +α k, k 0. 3

The solution for the resulting quadratic equation is the golden section φ := α k =.5( + 5.5 ).68. Then the identity (7) and the geometric sum formula assert that a k θ k = θ k = α 0 α...α k = φ k+ = +φ, which proves convergence for this case as well. After fixing a finite indexn, we can now use formula (5) to rewrite the tail k:=n a k θ k as the telescoping series a n θ n +a n+ θ n +... = ( θ n 2 θ n )+( θ n θ n+ )+... = θ n 2 + θ n. () After plugging n := and plugging the values for θ and θ 0 as in the equation (5), we use this identity to explicitly evaluate the sum a k θ k = +α. (2) We use the relationship (5) again, we can write k:= a kθ k as the telescopic series a θ 0 +a 2 θ +a 3 θ 2 +... = (θ θ )+(θ 2 θ 0 )+(θ 3 θ )+... = θ θ 0, and evaluate this sum as a k θ k = α. (3) Subtracting the sum (3) from the sum (2) and dividing by two yields the self representations α = a 2k θ 2k = a 2k θ 2k. (4) Adding the sum (3) to the sum (2) and then dividing by two yields the expansion of unity = a 2k+ θ 2k = a 2k+ θ 2k. (5) 3 The Absolute Ostrowski Expansion The base α Absolute Ostowski Expansion is a sum of the form d k θ k, where 0 d k a k along with all its finite truncations. While a simple comparison to the convergent series in proposition 2. proves its existence, it is by no means unique. For instance, using the definition (5) of θ 0 := α we see that after setting l = d :=, we obtain the selfexpansion, which is different from formula (4). To achieve uniqueness, we will require the digit sequence to adhere to the so called Markov Conditions. We say that the sequence b k isα admissible when: 4

(i) for allk we have 0 b k a k not all zero. (ii) ifb k = a k, then b k+ = 0. (iii) for infinitely many odd and even indexesk we have b k a k. We then expand this definition to the finite digit sequence b k l with l < and b l by testing these conditions against the infinite sequence b k obtained by letting b k := 0 for all k l+. Theorem 3.. For alll N andα admissible digit sequences b k l, we have l b k θ k (0,). Furthermore, for every real number β (0,), there exists a unique limit l N and an α admissible digit sequence b k l (with b l when l is finite) such that β = l b k θ k. Proof. Given a limit l N and an α admissible digit sequence b k l, we first show that l k:= b k θ k (0,). When l = 0 we obtain the vacuous expansion of nullity and when l < we first pad this sequence with a tail of zeros and obtain the α admissible sequence b k. If b a then we use the identity (2) as well as condition (i) to obtain the inequality 0 < b k θ k b k θ k (a )θ 0 + = (a )θ 0 a θ 0 + b k θ k < (a )θ 0 + k=2 a k θ k k=2 a k θ k = (a )θ 0 a θ 0 +(+α) =. If b = a, then by condition (ii), we must have b 2 = 0. Let n be the first index for which b 2n+ a 2n+, so that b 2k = a 2k and b 2k = 0 for all k n (the existence of n is guaranteed by condition (iii)). Using the recursive equation (5), we evaluate the finite sum 2n a k θ k = 2n a 2k θ 2k 2 = a θ 0 +a 3 θ 2 +...+a 2n θ 2n 2 = ( θ θ )+( θ θ 3 )+...+( θ 2n θ 2n+ ) = θ θ 2n = θ 2n+. In tandem with formula (), we obtain the desired inequalities 0 < b k θ k = 2n a 2k θ 2k 2 +b 2n+ θ 2n + k=2n+2 b k θ k n a 2k θ 2k 2 +(a 2n+ ) θ 2n + b k θ k k=2n+2 n < a 2k θ 2k 2 +a 2n+ θ 2n θ 2n + a k θ k k=2n+2 5

= ( θ 2n )+( θ 2n θ 2n+ ) θ 2n +( θ 2n + θ 2n+ ) = and conclude that l b k θ k (0,). Given β (0,) we obtain the limitland the sequence b k l using the following iteration scheme: Algorithm 2: Absolute Ostrowski Expansion input : the base α (0, )\Q, the initial seed β (0, ) output: the limit l Z 0, the α admissible digit sequence b k use algorithm and formula (5) to obtain the sequence θ k 0 ; 2 setβ 0 := β,l :=, k = ; 3 while β k > 0 do 4 setb k := β k / θ k ; 5 setβ k := β k b k θ k ; 6 setk := k +; 7 end 8 setl := k ; Since β 0 > 0, we must have b k at least once. The assignment of b k in line 4 yields the inequality b k θ k β k < (b k +) θ k, k < l+. (6) By the assignments of line 4 and line 5, we have β k θ k = b k + β k θ k = βk + β k θ k θ k, k < l+, that is, b k and β k are the quotient and remainder of the division of β k by θ k, hence β k < θ k. This inequality and the inequalities (9) and (6) imply that b k θ k β k < θ k 2 < (a k +) θ k, k < l+. Then for all k we have 0 b k a k and, since the sequence θ k 0 is strictly decreasing to zero, we must also have b k at least once, thus satisfying condition (i). A simple comparison of the the sum β = β 0 = b θ 0 +β = b θ 0 +b 2 θ +β 2 =... = b k θ k to the convergent series in proposition 2., establishes its convergence and confirms that β = l b k θ k. Furthermore, the Archemedean property of the field of real numbers asserts the uniqueness of the quotient b k and remainder β k in each iteration. Since this iteration terminates precisely when l is finite, β l > 0 and β l = 0, the limit l must be unique with b l whenever it is finite. 6

To establish condition (ii), suppose b k = a k. Then we use the recursion formula (5) and the iterative definitions ofb k and β k in line 4 and line 5 to obtain the inequality β k = b k θ k +β k = a k θ k +β k = θ k θ k 2 +β k = θ k θ k 2 b k θ k 2 + β k 2 < θ k (b k +) θ k 2 +(b k +) θ k 2 = θ k. Thusβ k / θ k < so that in line 4 of the next iteration we must assignb k+ := 0 as desired. Finally, to establish condition (iii), we assume by contradiction that b k a k for only finitely many odd indexesk. Then we must havel = and there is some indexn for which b 2k+ = a 2k+ for all k n. After we apply algorithm 2 to the inputs α := α n and β := β n, we use the unitary representation (5) to arrive at the contradiction = a 2k+ θ 2k = b 2k+ θ 2k b k θ k = β <. k:= Thusb k a k for infinitely many odd indexesk. To show this is true for infinitely many even indexes as well, we simply rewriteβ 0 := β so that all even indexes now become odd and repeat the previous argument. Corollary 3.2. Every real numberr can be uniquely expanded base α as r = b k θ k, where l Z 0,b 0 Z and b k l is an α admissible digit sequence. Proof. If r is an integer we set l := 0, b 0 := r so that, by the definition of θ = in the recursive formula (5), we obtain the vacuous expansion r = b 0 θ. Furthermore, since l b k θ k (0,) for allα admissible digit sequences b k, this expansion is unique. Otherwise, we setb 0 := r and apply the theorem toβ 0 := r b 0 θ = r r (0,) and obtain the desired expansion. If b k l 0 is another α expansion for r, then l b k θ k (0,), hence we must have b 0 = b 0 = r. The uniqueness of this expansion now guarantees that l = l and b k = b k for all k < l. 4 The Alternating Ostrowski Expansion The base ( α) Alternating Ostowski Expansion is a sum of the form k:= d kθ k, where 0 d k a k along with all its finite truncations. As in the absolute case, uniqueness is not guaranteed. For instance, after setting l :=, c := a, c 2k+ := a 2k+ and c 2k = 0 for all k, we use the definition (4) ofθ 0 := α and the identity (5) to see that c k θ k = c 2k+ θ 2k = 7 a 2k+ θ 2k θ 0 = α

is a different expansion than the one in the identity (3). To achieve uniqueness, we will require the digit sequence to satisfy a refinement of the Markov Conditions. Givenl N and a sequence c k l, we say this sequence is ( α) admissible when it is α admissible and: (i) ifc k+ = 0 then c k = a k for all k < l. (ii) ifl = then c k for infinitely many odd and even indexesk. Theorem 4.. For alll Z 0 and( α) admissible digit sequences c k, we have c kθ k ( α,). Furthermore, for every real number γ ( α,), there exists a unique limit l Z 0 and a ( α) admissible digit sequence c k l (with c l when l is finite) such that γ = l c kθ k. Proof. Given a limitl N and a( α) admissible digit sequence c k l, we use condition (i), condition (iii) and the identities (8), (4) and (5) to obtain the inequality α = a 2k θ 2k < c k θ k c 2k+ θ 2k < a 2k+ θ 2k = and assert that l c kθ k ( α,). Define the ceiling r of the real number r to be the smallest integer larger than or equal to r. Given γ ( α,), we obtain the index l and the sequence c k l using the following iteration scheme: Algorithm 3: Alternating Ostrowski Expansion input : the base α (0, )\Q, the initial seed γ ( α, ) output: the limit l Z 0, the ( α) admissible digit sequence c k l use algorithm and formula (5) to obtain the sequence θ k 0 ; 2 setγ 0 := γ,l :=,k := ; 3 while γ k 0 do 4 setc k := min{ γ k /θ k,a k }; 5 setγ k := γ k c k θ k ; 6 setk := k +; 7 end 8 setl := k ; This iteration may terminate with a positive finite value for l or continue indefinitely in which case l =. We define the parity ρ(k) ofk to be one (zero) precisely when k is odd (even), that is, ρ(k) := k/2 k/2. We will first prove by induction that γ k ( θ k ρ(k), θ k +ρ(k) ), 0 k < l. (7) By the definitions (5) ofθ = andθ 0 = α, the definition ofγ in the hypothesis and the assignment of line 2, we have γ 0 = γ ( α,) = ( θ 0, θ ), hence the base case k = 0 8

holds. After we assume its validity for k, we prove it is also true for k by considering the two cases ρ(k) {0, } separately. If ρ(k) = 0, then, by the induction assumption, we have θ k 2 < γ k < θ k. If in line 4, we setc k = γ k /θ k, then from from formula (8) and the assignments of line 5 we obtain γ k θ k = γ k = c k γ k γk = γ k 0. θ k θ k θ k θ k hence γ k 0. We use this inequality to obtain < γ k γk = γ k c k = γ k = γ k θ k θ k θ k θ k θ k and conclude that 0 γ k < θ k. Ifc k = a k γ k /θ k, then γ k θ k = a k γ k γk γ k 0, θ k θ k hence γ k 0. The recursion formula (5), the assignment of line 5 and the induction assumption will now yield θ k 0 γ k = a k θ k γ k < a k θ k +θ k 2 = θ k. Conclude that θ k < γ k < θ k, which is the desired statement for the even indexk. If ρ(k) =, then, by the induction assumption, we have θ k < γ k < θ k 2. If in line 4, we set c k = γ k /θ k, then from formula (8) and the assignments of line 5 we obtain γ k θ k = γ k = γ k c k = γ k γk 0, θ k θ k θ k θ k hence γ k 0. We use this inequality to obtain < γ k γk = γ k c k = γ k = γ k θ k θ k θ k θ k θ k and conclude that θ k < γ k 0. Ifc k = a k γ k /θ k, then γ k θ k = γ k a k γ k γk + 0, θ k θ k hence γ k 0. The recursion formula (5), the assignment of line 5 and the induction assumption will now yield θ k 0 γ k = γ k a k θ k < θ k 2 a k θ k = θ k. Conclude that θ k < γ k < θ k for this case, which is the desired statement for the odd indexk. This concludes the proof and asserts the validity of formula (7). 9

To establish condition (i), assume that l > 0. Clearly by its definition in line 4, we have c k a k. Furthermore, by formula (7) we either have have θ k = θ k < γ k when ρ(k) = 0 or γ k < θ k = θ k when ρ(k) =. In either case we see that γ k /θ k >, so by the definition of c k in line 4 we conclude that 0 c k a k for all k as desired. A simple comparison of the absolute terms in the the sum γ = γ 0 = c θ 0 +γ = c θ 0 +c 2 θ +γ 2 =... = c k θ k, to the convergent series in proposition 2., establishes its convergence and confirms that γ = l c kθ k. To prove uniqueness, we split γ into its positive and negative parts and invoke the uniqueness of the Absolute Ostrowski Expansion. More precisely, suppose c k l is a ( α) admissible sequence such thatγ = l c kθ k. We first pad this sequence with an infinite tail of zeros wheneverlis finite and then define the terms { { b 0 k := c k/2, ρ(k) = 0 0, ρ(k) =, b k := 0, ρ(k) = 0 c (k+)/2, ρ(k) = and the factors k:= γ + := c 2k+ θ 2k = l/2 b k θ k, γ := c 2k θ 2k = b 0 k θ k, so thatγ = γ + γ. If c k l is another ( α) admissible sequence such that γ = l c k θ k, then, we also pad it with a tail of zeros when applicable. Since both the sequences b 0 k and b k are α admissible, the uniqueness of the absolute expansion implies that γ + = c 2k+ θ 2k = b k θ k = c 2k+ θ 2k and γ = c 2k θ 2k = b 0 k θ k = c 2k θ 2k, hence c k = c k. Furthermore, we must have l = l for otherwise we will obtain two distinct representations for either γ + = l/2 c 2k+ θ 2k = l /2 c 2k+ θ 2k or γ = l/2 c 2k θ 2k = l /2 c 2k θ 2k, contrary to the uniqueness of the absolute expansion. Conclude that this alternating expansion is also unique. 0

To establish condition (ii), suppose c k+ = 0. Then by it assignment in line 4, we must have γ k γk < = c k+ = 0 θ k θ k so that, using formulas (8), we obtain that γ k > 0 precisely when k is odd. Since θ k > 0 precisely whenk is even, by the assignment of line 5, we will have γk. c k = c kθ k θ k < γ k +c k θ k θ k = γ k θ k Therefore, by its definition in line 4, we conclude that c k = a k. Finally, to establish condition (iii), we assume by contradiction that c k for only finitely many odd indexes k. Then we must have l = and there is some index n for which c 2k+ = 0 for all k n. Then by condition-(ii) we must have c 2k = a 2k for all k n. After we apply algorithm 3 to the inputs α := α n and γ := γ n, we use the self representation (4) to arrive at the contradiction α < γ = c k θ k = c 2k+ θ 2k + c 2k θ 2k = a 2k θ 2k = α. If c k for only finitely many even indexes k, then we must have l = and there is some index n for which c 2k = 0 for all k n. Then by condition-(ii) we must have c 2k = a 2k for all k n. After we apply algorithm 3 to the inputs α := α n and γ := γ n, we use the unitary representation (5) to arrive at the contradiction = a 2k+ θ 2k = c 2k+ θ 2k = c 2k+ θ 2k + c 2k θ 2k = c k θ k = γ <. θ k Corollary 4.2. Every real numberr can be uniquely expanded base ( α) as r = c k θ k, where l Z 0, c 0 Z and c k l is a( α) admissible digit sequence with c. Proof. If r is an integer we set l := 0, c 0 := r and use the definition of θ := in the recursive formula (5) to obtain the unique vacuous expansion r = c 0 θ. Otherwise, we setc 0 := r and apply the theorem toγ 0 := r c 0 θ = r r (0,). Sinceγ 0 /θ 0 > 0, by its definition in line 4 of algorithm 3 we set c and derive the desired expansion. If c k l is another ( α) admissible with c then so is the sequence obtained from the concatenation of c with c k l 2. If we are further supplied with an integer c 0 such that r = l c k θ k, then by the theorem we have α = θ 0 < (c )θ 0 + c k θ k <, hence l c k θ k (0,). Thus we must have c 0 = c 0 = r and then the uniqueness for this expansion guarantees that l = l and c k = c k for all k < l. k=2

5 Acknowledgments This work could have not been completed without the ongoing guidance, encouragement and good company of Robbie Robinson from George Washington University. References [] V. Berth, Diophantine approximation, Ostrowski numeration and the double-base number system, Discrete Math Theory & Theoretical Computer Science : (2009), 53 72. [2], Autour du systme de numration d Ostrowski, Journes Montoises d Informatique Thorique, Bull. Belg. Math. Soc. Simon Stevin 8:2 (200), 209 239. [3] A. Ya. Khintchine, Continued fractions, P. Noordhoff Ltd. Groningen (963). [4] S. Ito, H. Nakada, Approximations of real numbers by the sequence{na} and their metrical theory, Acta. Math. Hung. 52: 2 (988), 9 00. [5] A. Robinson, Sturmian Expansions and Entropy, Integers (electronic journal) B (20). [6] L. Schaeffer, Ostrowski numeration and the local period of Sturmian words (English Summery), Language and Automata Theory and Applications, Springer, Heidelberg (203), 493 503 [7] D. Xavier, J. Jacques, P. Giuseppe Episturmian words and some constructions of de Luca and Rauzy. (English summary), Theoretical Computer Science 255: 2 (200), 539 553. 2