Continued Fractions and Pell s Equation

Similar documents
CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

arxiv: v1 [math.co] 3 Feb 2013

3 Gauss map and continued fractions

PROBLEM SET 5 SOLUTIONS 126 = , 37 = , 15 = , 7 = 7 1.

V. Adamchik 1. Recursions. Victor Adamchik Fall of x n1. x n 2. Here are a few first values of the above sequence (coded in Mathematica)

Solutions to Math 347 Practice Problems for the final

Roger Apéry's proof that zeta(3) is irrational

Read carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book.

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

Topics. Homework Problems. MATH 301 Introduction to Analysis Chapter Four Sequences. 1. Definition of convergence of sequences.

Math 220A Fall 2007 Homework #2. Will Garner A

Sequence A sequence is a function whose domain of definition is the set of natural numbers.

SOME TRIBONACCI IDENTITIES

MA131 - Analysis 1. Workbook 3 Sequences II

M17 MAT25-21 HOMEWORK 5 SOLUTIONS

Limit superior and limit inferior c Prof. Philip Pennance 1 -Draft: April 17, 2017

Infinite Sequences and Series

MATH 304: MIDTERM EXAM SOLUTIONS

Linear recurrence sequences and periodicity of multidimensional continued fractions

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O

CHAPTER 1 SEQUENCES AND INFINITE SERIES

Pellian sequence relationships among π, e, 2

A Study on Some Integer Sequences

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime.

Infinite Series. Definition. An infinite series is an expression of the form. Where the numbers u k are called the terms of the series.

... and realizing that as n goes to infinity the two integrals should be equal. This yields the Wallis result-

A LIMITED ARITHMETIC ON SIMPLE CONTINUED FRACTIONS - II 1. INTRODUCTION

Seunghee Ye Ma 8: Week 5 Oct 28

MAT1026 Calculus II Basic Convergence Tests for Series

Ma 530 Introduction to Power Series

6.3 Testing Series With Positive Terms

E. Incorrect! Plug n = 1, 2, 3, & 4 into the general term formula. n =, then the first four terms are found by

MATH 324 Summer 2006 Elementary Number Theory Solutions to Assignment 2 Due: Thursday July 27, 2006

Math 299 Supplement: Real Analysis Nov 2013

Some sufficient conditions of a given. series with rational terms converging to an irrational number or a transcdental number

MA541 : Real Analysis. Tutorial and Practice Problems - 1 Hints and Solutions

Subject: Differential Equations & Mathematical Modeling -III. Lesson: Power series solutions of Differential Equations. about ordinary points

Mathematics review for CSCI 303 Spring Department of Computer Science College of William & Mary Robert Michael Lewis

Assignment 5: Solutions

MATH 112: HOMEWORK 6 SOLUTIONS. Problem 1: Rudin, Chapter 3, Problem s k < s k < 2 + s k+1

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms.

Q-BINOMIALS AND THE GREATEST COMMON DIVISOR. Keith R. Slavin 8474 SW Chevy Place, Beaverton, Oregon 97008, USA.

International Baccalaureate LECTURE NOTES MATHEMATICS HL FURTHER MATHEMATICS HL Christos Nikolaidis TOPIC NUMBER THEORY

Subject: Differential Equations & Mathematical Modeling-III

1 Lecture 2: Sequence, Series and power series (8/14/2012)

(2) F j+2 = F J+1 + F., F ^ = 0, F Q = 1 (j = -1, 0, 1, 2, ). Editorial notes This is not our standard Fibonacci sequence.

Alternating Series. 1 n 0 2 n n THEOREM 9.14 Alternating Series Test Let a n > 0. The alternating series. 1 n a n.

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

n=1 a n is the sequence (s n ) n 1 n=1 a n converges to s. We write a n = s, n=1 n=1 a n

IRRATIONALITY MEASURES, IRRATIONALITY BASES, AND A THEOREM OF JARNÍK 1. INTRODUCTION

k-generalized FIBONACCI NUMBERS CLOSE TO THE FORM 2 a + 3 b + 5 c 1. Introduction

CHAPTER 10 INFINITE SEQUENCES AND SERIES

LESSON 2: SIMPLIFYING RADICALS

FLOOR AND ROOF FUNCTION ANALOGS OF THE BELL NUMBERS. H. W. Gould Department of Mathematics, West Virginia University, Morgantown, WV 26506, USA

A Note on the Symmetric Powers of the Standard Representation of S n

n n 2 n n + 1 +

Definition An infinite sequence of numbers is an ordered set of real numbers.

Roberto s Notes on Infinite Series Chapter 1: Sequences and series Section 3. Geometric series

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

Some Basic Diophantine Equations

Math 113 Exam 3 Practice

MATH 1910 Workshop Solution

Context-free grammars and. Basics of string generation methods

ENGI Series Page 6-01

7 Sequences of real numbers

On Some Properties of Digital Roots

Sequences. Notation. Convergence of a Sequence

University of Colorado Denver Dept. Math. & Stat. Sciences Applied Analysis Preliminary Exam 13 January 2012, 10:00 am 2:00 pm. Good luck!

Once we have a sequence of numbers, the next thing to do is to sum them up. Given a sequence (a n ) n=1

1+x 1 + α+x. x = 2(α x2 ) 1+x

Sequences and Series

[ 47 ] then T ( m ) is true for all n a. 2. The greatest integer function : [ ] is defined by selling [ x]

arxiv: v1 [math.co] 23 Mar 2016

TEACHER CERTIFICATION STUDY GUIDE

d) If the sequence of partial sums converges to a limit L, we say that the series converges and its

x x x Using a second Taylor polynomial with remainder, find the best constant C so that for x 0,

We are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n

1 Generating functions for balls in boxes

The Phi Power Series

1. Introduction. Notice that we have taken the terms of the harmonic series, and subtracted them from

arxiv: v1 [math.fa] 3 Apr 2016

Math 2112 Solutions Assignment 5

Find a formula for the exponential function whose graph is given , 1 2,16 1, 6

MA131 - Analysis 1. Workbook 9 Series III

Abstract Vector Spaces. Abstract Vector Spaces

Math 475, Problem Set #12: Answers

Metric Space Properties

Chapter 10: Power Series

4x 2. (n+1) x 3 n+1. = lim. 4x 2 n+1 n3 n. n 4x 2 = lim = 3

Series III. Chapter Alternating Series

#A46 INTEGERS 18 (2018) JACOBI-TYPE CONTINUED FRACTIONS AND CONGRUENCES FOR BINOMIAL COEFFICIENTS

The Boolean Ring of Intervals

Mini Lecture 10.1 Radical Expressions and Functions. 81x d. x 4x 4

Chapter 4. Fourier Series

REAL ANALYSIS II: PROBLEM SET 1 - SOLUTIONS

Sequences, Sums, and Products

NEW FAST CONVERGENT SEQUENCES OF EULER-MASCHERONI TYPE

Notes 19 Bessel Functions

Math 2412 Review 3(answers) kt

Transcription:

Max Lah Joatha Spiegel May, 06 Abstract Cotiued fractios provide a useful, ad arguably more atural, way to uderstad ad represet real umbers as a alterative to decimal expasios I this paper, we eumerate some of the most saliet qualities of simple cotiued fractio represetatios of real umbers, classify the periodic cotiued fractios as the quadratic irratioals, ad use simple cotiued fractios to fid the iteger solutios x, y) Z to the geeralized Pell s equatio x Dy = ) m To begi, let us defie a fiite simple cotiued fractio { Fiite simple cotiued fractios are a } a method for represetig the ratioal umbers Q = b : a, b Z ; b 0, ad Defiitio Fiite simple cotiued fractio) Let N be a atural umber, ad let a i ) = a 0,, a ) be a fiite sequece of atural umbers a 0,, a N The fiite simple cotiued fractio geerated by a i ), deoted a i, is defied as follows a i = a 0 + a + a Now, we use the Euclidea algorithm to geerate a fiite simple cotiued fractio represetatio for ay ratioal umber Recall that the Euclidea algorithm recursively geerates sequeces q i ) =0 of quotiets q i N ad r i ) =0 of remaiders r i N from two iteger iputs a, b N, ad termiates with r = gcd a, b) ad r = 0 Example Let a b Q be a ratioal umber Let q i) be the fiite sequece of atural umbers q,, q N geerated by the quotiets i the Euclidea algorithm applied to a ad b The For example, let a = 38 ad b = 9 Note that q i = a b 38 = 4) 9) + ; 9 = 4) ) + ; = ) ) + 0

So, lettig a i ) 39 = 4, 4, ), we have that 9 = a i = 4 + 4 + I this way, we have a caoical way of represetig ay ratioal umber a as a fiite simple b cotiued fractio Moreover, it ca be show that every oiteger) ratioal umber has precisely two fiite simple cotiued fractio represetatios, each differig oly i the last two terms of the fiite geeratig sequeces For example, let b i ) 3 = 4, 4,, ), ad ote that 38 9 = a i = 4 + 4 + = 4 + 4 + = 3 b i + Defiitio Ifiite simple cotiued fractio) Let a i ) be a ifiite sequece of atural umbers a 0, a, a, N The ifiite simple cotiued fractio geerated by a i ), deoted a i, is defied to be the limit of the partial simple cotiued fractios a i = lim a i ) For ay ifiite sequece a i ) of atural ) umbers a i N, we have defied a ifiite sequece of fiite simple cotiued fractios a i, where a i is called the th coverget However, it =0 remais to show that such a sequece must coverge to a limitig value Covergece of Simple Cotiued Fractios Theorem ) Let a i ) be a ifiite sequece of atural umbers a i N The the sequece a i of covergets a i coverges to a real umber a i R =0 Proof Let p ad q be the umerator ad deomiator of the th coverget a i Lemma The ifiite sequeces p ) =0 ad q ) =0 satisfy the followig recursio relatios a 0, if = 0; p = a a 0 +, if = ; ad ) a p + p, otherwise, ad, if = 0; q = a, if = ; ad a q + q, otherwise 3)

Proof By iductio o N Base cases: For the first base case, suppose that = 0 Note that p 0 q 0 = 0 a i = a i = a 0, For the secod base case, suppose that = Note that p q = a i = a 0 + a = a a 0 + a, Iductive step: Suppose for the iductive hypothesis that the lemma holds for all < k, for some atural umber k > Let a i) k be the fiite sequece of atural umbers a i N defied as follows a i) k = a,, a k, a k + ) a k+ Note that k a i = k+ a i By the iductio hypothesis, ) p k+ = p k q k+ q k = a k p k + p a k + k a k+ p k + p k a k q k + = ) q k a k + a k+ q k + q k = a k+ a k p k + p k ) + p k a k+ a k q k + q k ) + q k = a k+p k + p k a k+ q k + q k, Lemma p q p q = ) q q for all atural umbers N Proof By iductio o N Base case: Suppose that = The p 0 p = a 0 q 0 q a a 0 + = =, a a q 0 q Iductive step: Suppose for the iductive hypothesis that The p q p q = ) q q p q p q = ) p q p q = p a q + q ) a p + p ) q = p q p q = ) p q p q = ) q q, 3

Therefore, sice q ) =0 is a strictly icreasig sequece of itegers, for all atural umbers m > N, m a i a i = p m p q m q m i=+ approaches 0 as m,, sice q i grows liearly ) p q =0 is a Cauchy sequece of ratioal umbers p i p i q i = q i m i=+ q i q i 0 Therefore, the covergets umber a i R, sice the real umbers R form a complete metric space a i ) =0 a i Q, ad so coverges to some real = Cotiued Fractio Represetatios of Real Numbers I may ways, cotiued fractios are a more atural way to represet real umbers tha decimal expasios As show above, the geeratig sequece of the simple cotiued fractio of the ratio of two umbers is the quotiet sequece costructed by the Euclidea algorithm, ad so the simple cotiued fractio represetatio of a ratioal umber cotais a vast wealth of iformatio about the umber, whereas the decimal expasios ideed, the -ary expasios for ay base N) of may simple fractios obscure such iformatio The Euclidea algorithm techique demostrated above ca be geeralized to fid the cotiued fractio represetatio of a irratioal umber x R \ Q i the same maer However, such a algorithm is ot guarateed to termiate as it is i the case of the ratioal umbers Q I fact, if a umber x R \ Q is irratioal, such a process caot possibly termiate, sice termiatio would imply that there is a fiite simple cotiued fractio represetatio for x, which would imply that x were ratioal As show below, the simple cotiued fractio represetatios of some irratioal umbers have iterestig ad beautiful forms We will see a example of such beauty, ad the we will see a theorem about those irratioal umbers whose simple cotiued fractio represetatios repeat Example Let ϕ = + 5 be the golde ratio ϕ has cotiued fractio represetatio ϕ = = + + + 4) Proof Cosider the simple cotiued fractio Sice it repeats with a period of, we have the simple recurrece relatio = +, which follows immediately from Equatio 4) This 4

implies that From our defiitio of desired ) 0 = = ± 5 i Equatio 4), we kow that >, so = + 5 = ϕ, as The above techique may be geeralized ad used to show that ay repeatig simple cotiued fractio is a irratioal solutio to a quadratic equatio with iteger coefficiets, by solvig the recurrece relatio geerated by the repetitio We offer the followig theorem without proof Theorem Let a i ) i= be a ifiite sequece of atural umbers a i N If a i ) i= evetually repeats, the α = a i is a irratioal solutio to a quadratic equatio with iteger coefficiets Proof Suppose that a i ) i= evetually repeats It suffices to show that α = i= a i is a quadratic irratioal i the case where a i ) i= is purely periodic Therefore, let a i) i= = a 0,, a ) So α = a 0 + a + + a + α We may reduce this to α = uα + v, for some positive itegers u, v, w, z N So wα + z α wα + z) = uα + v wα + zα = uα + v wα + z u) α v = 0 So α is a solutio to the quadratic equatio wx + z u) x v = 0 Moreover, sice α = a i is a ifiite simple cotiued fractio, α R \ Q is irratioal So α is a quadratic irratioal, as desired 3 Pell s Equatio Let D N be a atural umber, ad suppose that D is ot a perfect square; that is, there does ot exist a iteger k Z such that k = D The Diophatie equatio x Dy = 5) 5

is kow as Pell s equatio, ad we ca use the simple cotiued fractio represetatio of D to solve it Theorem 3 Let D N be a atural umber, ad suppose that D is ot a perfect square D has simple cotiued fractio represetatio geerated by the repeatig sequece a 0, a,, a m ) Let p q = m a i The x, y) = p, q) Z are the smallest iteger solutios to the geeralized Pell s equatio, x Dy = ) m 6) Example 3 Cosider Pell s equatio i the case D =, x y = 7) Note that has cotiued fractio represetatio = 4,,,,,, 8 ), so m = 6 m = 5, ad the 5 th coverget is 4,,,,, ) = 4 + + + + = 55 + So x, y) = 55, ) is the smallest solutio i itegers to the geeralized Pell s equatio, Equatio 7), x y = ) m =, Moreover, the solutio set S to Pell s equatio is as follows { S = x k, y k ) Z : 55 + ) } k = xk + y k k= Example 4 We may still solve Pell s equatio i the case where m is odd, by squarig the solutios Cosider Pell s equatio i the case D = 9, x 9y = 8) Note that 9 has cotiued fractio represetatio 9 = 5,,,,, 0 ), so m = 5 m = 4, ad the 4 th coverget is 5,,,, ) = 5 + + + + = 70 3 So x, y) = 70, 3) is the smallest solutio i itegers to the geeralized Pell s equatio, x 9y = ) m =, So, squarig both sides of the geeralized Pell s equatio, the smallest ) solutio i itegers to Pell s equatio, Equatio 8), is x, y) = 70 + 9 3), 70) 3) = 980, 80) Moreover, the solutio set S to Pell s equatio is as follows { S = x k, y k ) Z : 980 + 80 ) } k 9 = xk + y k 6 k=

Cotiued fractios provide a atural ad useful way to approach represetig real umbers The geeratig sequeces of simple cotiued fractios are iterestigly coected to the Euclidea algorithm, which stems from the atural associatio of ratioal umbers ad greatest commo divisors Moreover, the simple cotiued fractio represetatios of the quadratic irratioals provide a quick ad easy way to solve Pell s equatio, which would otherwise prove difficult Refereces [] Joseph H Silverma, A Friedly Itroductio to Number Theory, Pearso Educatio, Ic, New York, 4th editio, 0 [] Seug Hyu Yag, Cotiued Fractios ad Pell s Equatio, Uiversity of Chicago, 008 [3] Peter houry ad Gerard D offi, Cotiued Fractios ad their Applicatio to Solvig Pell s Equatios, Uiversity of Massachusetts, Bosto, 009 [4] Ahmet Tekca, Cotiued Fractios Expasio of D ad Pell s Equatio x Dy =, Mathematica Moravica, Uiversity of ragujevac, Volume 8-, 04 [5] Eva Dummit, Cotiued Fractios ad Diophatie Equatios, Uiversity of Rochester, New York, Volume, 04 7