Unisequences and nearest integer continued fraction midpoint criteria for Pell s equation

Size: px
Start display at page:

Download "Unisequences and nearest integer continued fraction midpoint criteria for Pell s equation"

Transcription

1 Unisequences and nearest integer continued fraction midpoint criteria for Pell s equation Keith R. Matthews Department of Mathematics University of Queensland Brisbane Australia 4072 and Centre for Mathematics and its Applications Australian National University Canberra ACT 0200, Australia keithmatt@gmail.com Abstract. The nearest integer continued fractions of Hurwitz, Minnegerode (NICF-H) and in Perron s book Die Lehre von den Kettenbrüchen (NICF-P) are closely related. Midpoint criteria for solving Pell s equation x 2 Dy 2 = ±1 in terms of the NICF-H expansion of D were derived by H. C. Williams using singular continued fractions. We derive these criteria without the use of singular continued fractions. We use an algorithm for converting the regular continued fraction expansion of D to its NICF-P expansion. 1. Introduction In Perron s book [7, p. 143], a nearest integer continued fraction (Kettenbruch nach nächsten Ganzen) expansion (NICF-P) of an irrational number ξ 0 is defined recursively by ξ n = q n + ǫ n+1 ξ n+1, 1 2 < ξ n q n < 1 2, (1.1) where ǫ n+1 = ±1, q n is an integer (the nearest integer to ξ n ) and sign(ǫ n+1 ) = sign(ξ n q n ). Then we have the expansion where ξ 0 = q 0 + ǫ 1 q ǫ n q n + (1.2) q n 2, q n + ǫ n+1 2 for n 1. (1.3) (Satz 10, [7, p. 169]). A. Hurwitz [1] and B. Minnegerode [6] defined a related nearest integer continued fraction (NICF-H) by ξ n = q n 1, ξ n+1 1 < 2 ξ n q n < 1, (1.4) 2 1

2 where q n is an integer. Then ξ 0 = q 0 1 q 1 1 q n (1.5) and we have q n 2 for n 1. Also if one of q 1,q 2,..., say q n, equals 2 (resp. 2), then q n+1 < 0 (resp. q n+1 > 0) (Hurwitz [1, p. 372]). Section 2 relates the two types of continued fraction. In 1980, H. C. Williams gave six midpoint criteria for solving Pell s equation x 2 Dy 2 = ±1 in terms of the NICF-H expansion of D (see Theorems 6 and 7, [9, pp ]). His proof made extensive use of the singular continued fraction expansion of D. Theorem 1 of section 3 of our paper gives the corresponding criteria for the NICF-P expansion of D. In an attempt to give a derivation of the latter criteria without the use of singular continued fractions, the author studied the conversion of the regular continued fraction (RCF) expansion of D to the NICF given by Lemma 2 of section 5, where the RCF is defined recursively by ξ n = a n + 1 ξ n+1, with a n = ξ n, the integer part of ξ n. Theorem 2 of section 4 shows that the central part of a least period determines which of the criteria hold. Finally, Theorem 3, section 7, describes the case where there are only odd-length unisequences, i.e., consecutive sequences of partial quotients equal to 1, in the RCF expansion of D; in this case the NICF-P expansion of D exhibits the usual symmetry properties of the RCF expansion. 2. Connections between the NICF-H and NICF-P expansions of an irrational number. Lemma 1. Let q n,ξ n,a n/b n denote the n-th partial denominator, complete quotient and convergent of the NICF-H expansion of an irrational number ξ 0 and q n,ǫ n,ξ n,a n /B n denote the n-th partial denominator, partial numerator, complete quotient and convergent of the NICF-P expansion of ξ 0, where A 1 = 1 = A 1, B 1 = 0 = B 1, A 2 = 0 = A 2, B 2 = 1 = B 2. and for n 1, A n+1 = q n+1 A n + ǫ n+1 A n 1, A n+1 = q n+1a n A n 1, B n+1 = q n+1 B n + ǫ n+1 B n 1 B n+1 = q n+1b n B n 1, where ǫ 0 = 1. Then q n = t n q n, ξ n = t n ξ n, n 0, (2.1) where t 0 = 1 and t n = ( 1) n ǫ 1 ǫ n, if n 1. A n = s n A n, B n = s n B n, n 2, (2.2) where s 2 = 1,s 1 = 1 and s n+1 = s n 1 ǫ n+1 for n 1. 2

3 Remark. It follows that s 0 = 1 and s 2i = ( 1) i ǫ 2i ǫ 2i 2 ǫ 2, if i 1, (2.3) s 2i+1 = ( 1) i+1 ǫ 2i+1 ǫ 2i 1 ǫ 1, if i 0, (2.4) s n+1 s n = t n+1, if n 1. (2.5) Proof. We prove (2.1) by induction on n 0. These are true when n = 0. So we assume that n 0 and (2.1) hold. Then ξ n+1 1 =, ξ q n ξ n n+1 = ǫ n+1, (2.6) q n ξ n q n = [ξ n], q n = [ξ n ], (2.7) where [x] denotes the nearest integer to x. Then ξ n+1 1 = t n q n t n ξ n = t n q n ξ n = t n ( ǫ n+1 ξ n+1 ) = t n+1 ξ n+1. Next, q n+1 = [ξ n+1] = [t n+1 ξ n+1 ] = t n+1 [ξ n+1 ] = t n+1 q n+1. Finally, we prove (2.2) by induction on n 2. These hold for n = 2 and 1. So we assume n 1 and Then A n 1 = s n 1 A n 1, B n 1 = s n 1 B n 1, A n = s n A n, B n = s n B n. Similarly B n+1 = s n+1 B n+1. A n+1 = q n+1a n A n 1 = (t n+1 q n+1 )(s n A n ) s n 1 A n 1 = q n+1 s n+1 A n ( s n+1 ǫ n+1 )A n 1 = s n+1 (q n+1 A n + ǫ n+1 A n 1 ) = s n+1 A n+1. Corollary 1. Suppose ξ n,...,ξ n+k 1 is a least period of NICF-P complete quotients for a quadratic irrational ξ 0. (a) If ǫ n+1 ǫ n+k = ( 1) k, then ξ n,...,ξ n+k 1 is a least period of NICF-H complete quotients for ξ 0. (b) If ǫ n+1 ǫ n+k = ( 1) k+1, then ξ n,...,ξ n+k 1, ξ n,..., ξ n+k 1 (2.8) is a least period of NICF-H complete quotients for ξ 0. Moreover ξ 0 = q 0 1 q 1 1 q n 1 q n+k q n 1 q n+k 1,

4 where the asterisks correspond to the least period (2.8). Proof. Suppose ξ n,...,ξ n+k 1 is a least period of NICF-P complete quotients for ξ 0. Then ξ n = ξ n+k. Hence from (2.1), t n ξ n = t n+k ξ n+k ( 1) n ǫ 1 ǫ n ξ n = ( 1) n+k ǫ 1 ǫ n+k ξ n+k (a) Suppose ǫ n+1 ǫ n+k = ( 1) k. Then (2.9) gives ξ n = ( 1) k ǫ n+1 ǫ n+k ξ n+k. (2.9) ξ n = ξ n+k. Then because ξ n,...,ξ n+k 1 are distinct, they form a least period of complete quotients for the NICF-H expansion of ξ 0. (b) Suppose ǫ n+1 ǫ n+k = ( 1) k+1. Then (2.9) gives Similarly ξ n = ξ n+k. ξ n+1 = ξ n+k+1,...,ξ n+k 1 = ξ n+2k 1. Also ξ n = ξ n+k = ( ξ n+2k ) = ξ n+2k. Hence ξ n,...,ξ n+k 1,ξ n+k,...,ξ n+2k 1 (2.10) form a period of complete quotients for the NICF-H expansion of ξ 0. However sequence (2.10) is identical with ξ n,...,ξ n+k 1, ξ n,..., ξ n+k 1, whose members are distinct. Hence (2.10) form a least period of complete quotients for the NICF-H expansion of ξ 0. Corollary 2. Let k and p be the period-lengths of the NICF-P and RCF expansions of a quadratic irrational ξ 0 not equivalent to (1 + 5)/2. Then (a) if p is even, the period-length of the NICF-H expansion of ξ 0 is equal to k; (b) if p is odd, the period-length of the NICF-H expansion of ξ 0 is equal to 2k and the NICF-H expansion has the form ξ 0 = q 0 1 q 1 1 q n 1 q n+k 1 1 q n 1 q n+k 1 Proof. Let ξ n,...,ξ n+k 1 be a least period of NICF-P complete quotients. Suppose that r of the partial numerators ǫ n+1,...,ǫ n+k of the NICF-P expansion of ξ 0 are equal to 1. Now by Theorem 4 of Matthews and Robertson [5], p = k + r and hence ǫ n+1 ǫ n+k = ( 1) r = ( 1) k+p. Then according as p is even or odd, ǫ n+1 ǫ n+k = ( 1) k or ( 1) k+1 and Corollary 1 applies. Remark. This result was obtained by Hurwitz and Minnegerode for the special case ξ 0 = D. We give some examples. 4.

5 Table 1. NICF-P expansion for ( )/16 i ξ i ǫ i b i A i /B i / / / / / / Table 2. NICF-H expansion for ( )/16 i ξ i ǫ i b i A i /B i / / / / / / Table 3. NICF-P expansion for (5 + 13)/4 i ξ i ǫ i b i A i /B i / / / /33 4 (1) ξ 0 = ( )/16, (Tables 1 and 2). Here k = 4,r = 2, ξ 1,ξ 2,ξ 3,ξ 4 form a period of NICF-P complete quotients, ǫ 2 ǫ 3 ǫ 4 ǫ 5 = ( 1)(1)( 1)(1) = 1 = ( 1) k and the NICF-P and NICF-H expansions have the same period-length. Also p = 6. (2) ξ 0 = (5 + 13)/4, (Table 3 and 4). Here k = 3,r = 2 and ξ 0,ξ 1,ξ 2 form a period of NICF-P complete quotients, ǫ 1 ǫ 2 ǫ 3 = (1)( 1)( 1) = 1 = ( 1) k+1 and the NICF-H period-length is twice the NICF-P period-length. Also p = NICF-P midpoint criteria for Pell s equation Theorem 1. Let k and p be the respective period-lengths of NICF-P and RCF expansions of D. Then precisely one of the following must hold for the NICF-P expansion of D: 1) P ρ = P ρ+1, k = 2ρ,p = 2h. Then A k 1 = B ρ 1 A ρ + ǫ ρ A ρ 1 B ρ 2, B k 1 = B ρ 1 (B ρ + ǫ ρ B ρ 2 ). 5

6 Table 4. NICF-H expansion for (5 + 13)/4 i ξ i ǫ i b i A i /B i / / / / / / / ) P ρ+1 = P ρ + Q ρ, k = 2ρ,p = 2h. Then 3) Q ρ = Q ρ+1 and Then A k 1 = B ρ 1 A ρ + A ρ 1 B ρ 2 A ρ 1 B ρ 1, B k 1 = B ρ 1 (B ρ + B ρ 2 B ρ 1 ). (a) ǫ ρ+1 = 1,k = 2ρ + 1,p = 2h, or (b) ǫ ρ+1 = 1,k = 2ρ + 1,p = 2h 1. A k 1 = A ρ B ρ + ǫ ρ+1 A ρ 1 B ρ 1, B k 1 = B 2 ρ + ǫ ρ+1 B 2 ρ 1. 4) P ρ+1 = Q ρ Q ρ+1,ǫ ρ+1 = 1,k = 2ρ + 1,p = 2h 1. Then A k 1 = A ρ B ρ + 2A ρ 1 B ρ 1 (A ρ B ρ 1 + B ρ A ρ 1 ), B k 1 = B 2 ρ + 2B 2 ρ 1 2B ρ B ρ 1. 5) P ρ = Q ρ Q ρ 1,ǫ ρ = 1,k = 2ρ,p = 2h 1. Then A k 1 = 2A ρ 1 B ρ 1 + A ρ 2 B ρ 2 (A ρ 1 B ρ 2 + B ρ 1 A ρ 2 ) B k 1 = 2B 2 ρ 1 + B 2 ρ 2 2B ρ 1 B ρ 2. Proof. We only exhibit the calculations for criterion 1) of Theorem 1. This corresponds to criterion 1) of Theorem 6, Williams [9, p. 12], which states that P ρ = P ρ+1, k = 2ρ, p = 2h and Then from equations (2.2), A k 1 = B ρ 1A ρ A ρ 1B ρ 2, (3.1) B k 1 = B ρ 1(B ρ B ρ 2). (3.2) B ρ 1A ρ A ρ 1B ρ 2 = s ρ 1 s ρ B ρ 1 A ρ s ρ 1 s ρ 2 A ρ 1 B ρ 2 = t ρ B ρ 1 A ρ t ρ 1 A ρ 1 B ρ 2 = t ρ 1 ǫ ρ B ρ 1 A ρ t ρ 1 A ρ 1 B ρ 2 = t ρ 1 ǫ ρ (B ρ 1 A ρ + ǫ ρ A ρ 1 B ρ 2 ). 6

7 Hence B ρ 1A ρ A ρ 1B ρ 2 = B ρ 1 A ρ + ǫ ρ A ρ 1 B ρ 2 (3.3) as B ρ 1 A ρ A ρ 1 B ρ 2. Hence (3.1) and (3.3) give the first result of criterion 1) above. Next, B ρ 1(B ρ B ρ 2) = s ρ 1 B ρ 1 (s ρ B ρ s ρ 2 B ρ 2 ) = B ρ 1 (t ρ B ρ t ρ 1 B ρ 2 ) = B ρ 1 ( t ρ 1 ǫ ρ B ρ t ρ 1 B ρ 2 ) = t ρ 1 ǫ ρ B ρ 1 (B ρ + ǫ ρ B ρ 2 ). Hence B ρ 1(B ρ B ρ 2) = B ρ 1 (B ρ + ǫ ρ B ρ 2 ) (3.4) and (3.2) and (3.4) give the second result of criterion 1) above. Remark. John Robertson in an to the author, dated November 26, 2007, noted the following errors in Williams [9, pp ]: (i) Criterion 3), Theorem 6, page 12, should be A π 1 = A ρb ρ A ρ 1B ρ 1, B π 1 = B ρ 2 B 2 ρ 1. (ii) Criterion 6), Theorem 7, page 13, should be A π 1 = 2A ρ 1B ρ 1 + A ρ 2B ρ 2 A ρ 1B ρ 2 + B ρ 1A ρ 2, B π 1 = 2B 2 ρ 1 + B 2 ρ 2 2 B ρ 2B ρ Midpoint criteria in terms of unisequences The RCF of D, with period-length p, has the form D = { [a0,a 1,...,a h 1,a h 1...,a 1, 2a 0 ] if p = 2h 1; [a 0,a 1,...,a h 1,a h,a h 1,...,a 1, 2a 0 ] if p = 2h. (4.1) We have Euler s midpoint formulae for solving Pell s equation x 2 Dy 2 = ±1 using the regular continued fraction (see Dickson [3, p. 358]): if p = 2h 1; Q h 1 = Q h, A 2h 2 = A h 1 B h 1 + A h 2 B h 2, B 2h 2 = B 2 h 1 + B 2 h 2, P h = P h+1, A 2h 1 = A h B h 1 + A h 1 B h 2, B 2h 1 = B h 1 (B h + B h 2 ), 7

8 if p = 2h. We also need the following symmetry properties from Perron [7, p. 81]: a t = a p t, t = 1, 2,...,p 1, (4.2) P t+1 = P p t, t = 0, 1,...,p 1, (4.3) Q t = Q p t, t = 0, 1,...,p. (4.4) Theorem 2. Using the notation of (4.1), in relation to Theorem 1, we have (1) If p = 2h 1,h > 1 and a h 1 > 1, or p = 1, we get criterion 3). (2) If p = 2h,h > 1 and a h 1 > 1,a h > 1, or p = 2 and a 1 > 1, we get criterion 1). (3) Suppose p = 2h and a h 1 = 1,a h > 1, so that a h is enclosed by two M-unisequences. Then (a) if M 2 is even, we get criterion 2). (b) if M is odd, we get criterion 1). (4) Suppose the centre of a period contains an M-unisequence, M 1. (a) If M is odd, then p = 2h and we get criterion 1) if M = 4t + 3, criterion 3) if M = 4t + 1. (b) If M is even, then p = 2h 1 and we get criterion 4) if M = 4t, criterion 5) if M = 4t + 2. Before we can prove Theorem 2, we need some results on the RCF to NICF-P conversion. Lemma 2. Let ξ 0 = P 0+ D Q 0 5. The RCF to NICF-P conversion and its properties have NICF-P and RCF expansions: ξ 0 = a 0 + ǫ 1 + = a a , 1 a 1 with complete quotients ξ m,ξ m, respectively. Define f(m) recursively for m 0 by f(0) = 0 and { f(m) + 1, if ǫ m+1 = 1; f(m + 1) = (5.1) f(m) + 2, if ǫ m+1 = 1. Then for m 0, { 1, if a f(m)+1 > 1; ǫ m+1 = 1, if a f(m)+1 = 1, { ξ m ξ f(m), if ǫ m = 1; = ξ f(m) + 1, if ǫ m = 1, a f(m), if ǫ m = 1 and ǫ m+1 = 1; a m = a f(m) + 1, if ǫ m ǫ m+1 = 1; a f(m) + 2, if ǫ m = 1 and ǫ m+1 = 1. Proof. See Theorem 2, Matthews and Robertson [5]. (5.2) (5.3) (5.4) Remark. By virtue of (5.1) and (5.3), we say that the ξ m are obtained from the ξ n in jumps of 1 or 2. 8

9 Lemma 3. Let ξ 0 = (a 0,a 1,...) be an RCF expansion. Then if [x] denotes the nearest integer to x, we have { a n, if a n+1 > 1; [ξ n ] = a n + 1, if a n+1 = 1. Proof. If [ξ n ] = a n + 1, then ξ n > a n + 1 and hence a 2 n+1 = 1, whereas if [ξ n ] = a n, then ξ n < a n + 1 and hence a 2 n+1 > 1. Lemma 4. Let ξ 0 = P 0+ D Q 0 Then have NICF-P expansion A m = ξ 0 = a 0 + ǫ 1 +. a 1 { A f(m) if ǫ m+1 = 1; A f(m)+1 if ǫ m+1 = 1, (5.5) where f(m) is defined by (5.1). Equivalently, in the notation of Bosma [2, p. 372], if n(k) = f(k + 1) 1 for k 1, then { n(k 1) + 1, if ǫ k+1 = 1; n(k) = (5.6) n(k 1) + 2, if ǫ k+1 = 1 and (5.5) has the simpler form A k = A n(k) for k 0. (5.7) Remark. From (5.2) and (5.6), we see that ǫ m+1 = 1 implies a n(m) = 1. Proof. (by induction). We first prove (5.7) for k = 0. We use Lemma 3. ǫ 1 = 1 = a 1 > 1 = [ξ 0 ] = a 0 = A 0 = A 0. ǫ 1 = 1 = a 1 = 1 = [ξ 0 ] = a = a 0 a = A 0 = A 1. We next prove (5.7) for k = 1. We have to prove { A A f(1) if ǫ 2 = 1; 1 = A f(1)+1 if ǫ 2 = 1, where i.e., f(1) = { 1 if ǫ 1 = 1; 2 if ǫ 1 = 1. A 1 if ǫ 1 = 1,ǫ 2 = 1; A 1 = A 2 if ǫ 1 ǫ 2 = 1; A 3 if ǫ 1 = 1,ǫ 2 = 1. 9

10 Now A 1 = a 0a 1 + ǫ 1. We have and Hence a 0 = { a 0 if ǫ 1 = 1; a if ǫ 1 = 1 a f(1) if ǫ 1 = 1 = ǫ 2 ; a 1 = a f(1) + 1 if ǫ 1 ǫ 2 = 1; a f(1) + 2 if ǫ 1 = 1 = ǫ 2. a 1 if ǫ 1 = 1 = ǫ 2 ; a a if ǫ 1 = 1,ǫ 2 = 1; 1 = a if ǫ 1 = 1,ǫ 2 = 1; a if ǫ 1 = 1,ǫ 2 = 1. Case 1. ǫ 1 = 1 = ǫ 2. Then A 1 = a 0 a = A 1. Case 2. ǫ 1 = 1,ǫ 2 = 1. Then a 2 = 1 and A 1 = a 0 (a 1 + 1) + 1, Case 3. ǫ 1 = 1,ǫ 2 = 1. Then a 1 = 1 and A 2 = (a 0 a 1 + 1)a 2 + a 0 = a 0 a a 0 = A 1. A 1 = (a 0 + 1)(a 2 + 1) 1 = a 0 a 2 + a 0 + a 2, A 2 = (a 0 a 1 + 1)a 2 + a 0 Case 4. ǫ 1 = 1 = ǫ 2. Then a 1 = 1 = a 3 and Also = (a 0 + 1)a 2 + a 0 = A 1. A 1 = (a 0 + 1)(a 2 + 2) 1 A 3 = a 3 A 2 + A 1 = a 0 a 2 + a 2 + 2a = A 2 + A 1 = ((a 0 a 1 + 1)a 2 + a 0 ) + (a 0 a 1 + 1) = ((a 0 + 1)a 2 + a 0 ) + (a 0 + 1) = A 1. Finally, let k 0 and assume (5.7) holds for k and k + 1 and use the equation A k+2 = a k+2a k+1 + ǫ k+2 A k. Then from (5.4), with j = n(k + 1) + 1, we have a j if ǫ k+2 = 1,ǫ k+3 = 1; a k+2 = a j + 1 if ǫ k+2 ǫ k+3 = 1; a j = 2 if ǫ k+2 = 1 = ǫ k (5.8)

11 Case 1. Suppose ǫ k+2 = 1 = ǫ k+3 = 1. Then n(k + 1) = n(k) + 1 = j 1, n(k + 2) = n(k + 1) + 1 = j and A k+2 = a j A j 1 + A j 2 = A j = A n(k+2). Case 2. Suppose ǫ k+2 = 1,ǫ k+3 = 1. Then n(k + 1) = n(k) + 1 = j 1, n(k + 2) = n(k + 1) + 2 = j + 1 and A k+2 = (a j + 1)A j 1 + A j 2. Now ǫ k+3 = 1 implies 1 = a n(k+2) = a j+1, so A j+1 = A j + A j 1. Hence Case 3. Suppose ǫ k+2 = 1,ǫ k+3 = 1. Then n(k + 1) = n(k) + 2 = j 1, A k+2 = A j+1 = A n(k+2). n(k + 2) = n(k + 1) + 1 = j and A k+2 = (a j + 1)A j 1 A j 3. Now ǫ k+2 = 1 implies 1 = a n(k+1) = a j 1, so A j 1 = A j 2 + A j 3. Hence Case 4. Suppose ǫ k+2 = 1 = ǫ k+3. Then A k+2 = a j A j 1 + A j 2 = A j = A n(k+2). n(k + 1) = n(k) + 2 = j 1, n(k + 2) = n(k + 1) + 2 = j + 1 and A k+2 = (a j + 2)A j 1 A j 3. Now ǫ k+3 = 1 = 1 = a n(k+2) = a j+1 and ǫ k+2 = 1 = 1 = a n(k+1) = a j 1, so Hence A j+1 = A j + A j 1 and A j 1 = A j 2 + A j 3. A k+2 = (a j + 2)A j 1 (A j 1 A j 2 ) = A j + A j 1 = A j+1 = A n(k+2). Lemma 5. Each a n > 1, n 1 will be visited by the algorithm of Lemma 2, i.e., there exists an m such that n = f(m). Proof. Let a n > 1 and f(m) n < f(m + 1). If f(m) < n, then f(m + 1) = f(m) + 2 and ǫ m+1 = 1; also n = f(m) + 1. Then from (5.2), a n = a f(m)+1 = 1. Note that in the RCF to NICF-P transformation, we have f(k) = p, where k is the NICF-P period-length. Lemma 6. Suppose that RCF partial quotients a r and a s satisfy a r > 1,a s > 1,r < s. Then the number J of jumps in the RCF to NICF-P transformation when starting from a r and finishing at a s is J = (s r + E)/2, where E is the number of even unisequences in the interval [a r,a s ]. Here we include zero unisequences [a i,a i+1 ], where a i > 1 and a i+1 > 1. 11

12 Proof. Suppose the unisequences in [a r,a s ] have lengths m 1,...,m N and let j i be the number of jumps occurring in a unisequence of length m i. Then { j i = m i e i 0 if m i is odd;, where e i = 2 1 if m i is even. Then J = N j i = i=1 N i=1 m i e i 2 = 1(N + N m 2 i ) + E 2 = s r 2 i=1 + E 2 = s r + E. 2 Corollary 3. The number of jumps in the interval [a 0,a r ], a r > 1, equals the number in the interval [a p r,a p ], where p is the period-length and r p/2. Proof. This follows from Lemma 6 and the symmetry of an RCF period. 6. Proof of Theorem 2 We use the notation of Lemmas 2 and 4. Case (1)(i). Assume p = 2h 1,h > 1 and there is an even length unisequence, or no unisequence, on each side of a h 1 > 1,a h > 1, e.g., 73 = [8, 1, 1, 5, 5, 1, 1, 16 ] or 89 = [9, 2, 3, 3, 2, 18 ]. Let f(m) = h 1, where m is the number of jumps in [a 0,a h 1 ]. Then f(m + 1) = h and ξ m = ξ h 1, ǫ m = 1, ξ m+1 = ξ h, ǫ m+1 = 1. By Corollary 3, m is also the number of jumps in [a h,a p ]. There is also one jump in [a h 1,a h ]. Hence k = 2m + 1. As Q h 1 = Q h, we have Q m = Q m+1, which is criterion 3) of Theorem 1. Also ǫ m = 1 = f(m) = f(m 1) + 1, A m 1 = A f(m 1), ǫ m+1 = 1 = f(m + 1) = f(m) + 1, A m = A f(m). Hence A m 1 = A h 2, A m = A h 1, B m 1 = B h 2, B m = B h 1 and A p 1 = A h 1 B h 1 + A h 2 B h 2 = A mb m + A m 1B m 1 = A mb m + ǫ m+1 A m 1B m 1. 12

13 Also B p 1 = B 2 h 1 + B 2 h 2 = B 2 m + B 2 m 1 = B 2 m + ǫ m+1 B 2 m 1. If p = 1, D = [a, 2a] and the NICF and RCF expansions are identical. Also Q 0 = Q 1 = 1,ǫ 1 = 1 and we have criterion 3). Case (1)(ii). Assume p = 2h 1, with an odd length unisequence on each side of a h 1 > 1,a h > 1, e.g., 113 = [10, 1, 1, 1, 2, 2, 1, 1, 1, 20 ]. Let f(m) = h 1. Then f(m+1) = h and ξ m = ξ h 1 + 1, ǫ m = 1, ξ m+1 = ξ h, ǫ m+1 = 1, and as in Case (1)(i), k = 2m + 1. As Q h 1 = Q h, we have Q m = Q m+1, which is criterion 3). Also ǫ m = 1 = f(m) = f(m 1) + 2, A m 1 = A f(m 1)+1, ǫ m+1 = 1 = f(m + 1) = f(m) + 1, A m = A f(m). Hence A m 1 = A h 2, A m = A h 1 and B m 1 = B h 2, B m = B h 1. Then as in Case (1)(i), we get A mb m + ǫ m+1 A m 1B m 1 = A p 1 and B 2 m + ǫ m+1 B 2 m 1 = B p 1. Case (2) Assume p = 2h,h > 1,a h 1 > 1,a h > 1, e.g., 92 = [9, 1, 1, 2, 4, 2, 1, 1, 18 ]. Let f(m) = h. Then f(m + 1) = h + 1 and ξ m = ξ h, ǫ m = 1, ξ m+1 = ξ h+1, ǫ m+1 = 1, Also by Corollary 3, m is the number of jumps in [a h,a p ]. Hence k = 2m. Then P h = P h+1 gives P m = P m+1 and we have criterion 1) of Theorem 1. Also ǫ m = 1 = f(m) = f(m 1) + 1, A m 1 = A f(m 1), ǫ m+1 = 1 = f(m + 1) = f(m) + 1, A m = A f(m). Hence A m 1 = A h 1, A m = A h and B m 1 = B h 1, B m = B h. Then A p 1 = A h B h 1 + A h 1 B h 2 = A mb m 1 + A m 1B h 2. (6.1) But B h 2 = B h a h B h 1 = B m a mb m 1 = B m 2. Hence (6.1) gives Also A p 1 = A mb m 1 + A m 1B m 2 = A mb m 1 + ǫ m A m 1B m 2. B p 1 = B h 1 (B h + B h 2 ) = B m 1(B m + B m 2). 13

14 Case (3)(a). Assume p = 2h, with an even length unisequence each side of a h > 1, e.g., 21 = [4, 1, 1, 2, 1, 1, 8 ]. Let f(m) = h. Then f(m + 1) = h + 2. As in Case(2), k = 2m. Also Then ξ m = ξ h, ǫ m = 1, ξ m+1 = ξ h+2 + 1, ǫ m+1 = 1. ǫ m = 1 = f(m) = f(m 1) + 1, A m 1 = A f(m 1), ǫ m+1 = 1 = f(m + 1) = f(m) + 2, A m = A f(m)+1. Hence A m 1 = A h 1, A m = A h+1 and B m 1 = B h 1, B m = B h+1. We prove criterion 2) of Theorem 1, P m+1 = P m + Q m, i.e., P h+2 + Q h+2 = P h + Q h. We note from Theorem 10.19, Rosen [8], that a h+1 = 1 implies P h+2 + P h+1 = Q h+1. Also Hence Hence We next prove P 2 h+2 = D Q h+1 Q h+2, P 2 h+1 = D Q h Q h+1. P 2 h+2 P 2 h+1 = Q h+1 (Q h Q h+2 ) = (P h+2 + P h+1 )(Q h Q h+2 ). P h+2 P h+1 = Q h Q h+2, P h+2 + Q h+2 = P h+1 + Q h = P h + Q h (6.2) A p 1 = B m 1(A m A m 1) + A m 1B m 2, (6.3) B p 1 = B m 1(B m B m 1 + B m 2). (6.4) First note that by equations (5.4), ǫ m = 1 and ǫ m+1 = 1 imply a m = a f(m) + 1 = a h + 1. Also a h+1 = 1 implies B h+1 = B h + B h 1, i.e., B m = B h + B m 1. Hence B h 2 = B h a h B h 1 Then proving (6.3). Also = (B m B m 1) (a m 1)B m 1 = B m a mb m 1 = B m 2. A p 1 = A h B h 1 + A h 1 B h 2 = (A m A m 1)B m 1 + A m 1B m 2, B p 1 = B h 1 (B h + B h 2 ) = B m 1(B m B m 1 + B m 2), 14

15 proving (6.4). If p = 2 and a 1 > 1, then D = a 2 + b, 1 < b < 2a,b dividing 2a (Rosen [8, p. 389]). Then D = [a, 2a/b, 2a] and the NICF and RCF expansions are identical. Then ξ 1 = a+ D,ξ b 2 = a + D,P 1 = P 2 = a,ǫ 1 = 1 and we have criterion 1). Case (3)(b). Assume p = 2h, with an odd length unisequence each side of a h > 1, e.g., 14 = [3, 1, 2, 1, 6]. Let f(m) = h. Then f(m + 1) = h + 2 and k = 2m. Then Then ξ m = ξ h + 1, ǫ m = 1, ξ m+1 = ξ h+2 + 1, ǫ m+1 = 1. ǫ m = 1 = f(m) = f(m 1) + 2, A m 1 = A f(m 1)+1, ǫ m+1 = 1 = f(m + 1) = f(m) + 2, A m = A f(m)+1. We have A m 1 = A h 1, A m = A h+1, B m 1 = B h 1, B m = B h+1. Then using (6.2), we get which is criterion 1) of Theorem 1. As ǫ m = 1, it remains to prove P m+1 = P h+2 + Q h+2 = P h + Q h = P m, A p 1 = B m 1A m A m 1B m 2 B p 1 = B m 1(B m B m 2). First, a h+1 = 1 implies A h+1 = A h + A h 1, i.e., A m = A h + A h 1. Also ǫ m = 1 = ǫ m+1 implies a m = a f(m) + 2 = a h + 2. Hence B m 2 = ǫ m B m 2 = B m a mb m 1 = (B h + B h 1 ) (a h + 2)B h 1 Hence Finally, = B h B h 1 a h B h 1 = B h 2 B h 1. B m 1A m A m 1B m 2 = B h 1 (A h + A h 1 ) A h 1 (B h 1 B h 2 ) = B h 1 A h + A h 1 B h 2 = A p 1. B m 1(B m B m 2) = B h 1 ((B h + B h 1 ) + (B h 2 B h 1 )) = B h 1 (B h + B h 2 ) = B p 1. Case (4)(a). Assume p = 2h with an M-unisequence, M odd, at the centre of a period. There are two cases: 15

16 M = 4t + 3, e.g., 88 = [9, 2, 1, 1, 1, 2, 18 ]. Let f(m) = h. Then f(m + 1) = h + 2 and ξ m = ξ h + 1, ǫ m = 1; ξ m+1 = ξ h+2 + 1, ǫ m+1 = 1. and as with case (3)(b), we have criterion 1) of Theorem 1. Now m is the number of jumps in [a 0,a h ]. Then we have a central unisequence [a r,a p r ] of length 4t + 3. There are t + 1 jumps of 2 in [a r,a h ], so r + 2t + 2 = h. Let J be the number of jumps in [a 0,a r ]. Hence m = J + (t + 1). There are t + 1 jumps of 2 in [a h,a p r ] and J jumps in [a p r,a p ]. Hence k = (J + t + 1) + (t + 1) + J = 2(J + t + 1) = 2m. M = 4t + 1, e.g., 91 = [9, 1, 1, 5, 1, 5, 1, 1, 18 ]. Let f(m) = h 1. Then f(m + 1) = h + 1 and ξ m+1 = ξ h+1 + 1, ǫ m+1 = 1. Also ξ m = ξ h 1 or ξ h We have a central unisequence [a r,a p r ] of length 4t + 1. There are t jumps of 2 in [a r,a h 1 ], so r + 2t = h 1. Let J be the number of jumps in [a 0,a r ]. Hence m, being the number of jumps in [a 0,a h 1 ] satisfies m = J +t. There is also one jump in [a h 1,a h+1 ], t jumps of 2 in [a h+1,a p r ] and J jumps in [a p r,a p ]. Hence k = (J + t) t + J = 2(J + t) + 1 = 2m + 1. Then Q m+1 = Q h+1 and Q m = Q h 1, so Q h 1 = Q h+1 implies Q m = Q m+1 and we have criterion 3) of Theorem 1. We have A m = A f(m)+1 = A h. Also, regardless of the sign of ǫ m, we have A m 1 = A h 2. We now prove A k 1 = A mb m A m 1B m 1, (6.5) B k 1 = B 2 m B 2 m 1. (6.6) Noting that a h = 1 gives A h = A h 1 + A h 2 and B h = B h 1 + B h 2, we have A mb m A m 1B m 1 = A h B h A h 2 B h 2 = A h (B h 1 + B h 2 ) (A h A h 1 )B h 2 Also = A h B h 1 + A h 1 B h 2 = A p 1. B 2 m B 2 m 1 = B 2 h B 2 h 2 = (B h B h 2 )(B h + B h 2 ) = B h 1 (B h + B h 2 ) = B p 1. Case (4)(b) Assume p = 2h 1 with an M-unisequence, M even, at the centre of a period. There are two cases: M = 4t, e.g., 13 = [3, 1, 1, 1, 1, 6 ]. Let f(m) = h 1. Then f(m + 1) = h + 1 and ξ m = ξ h 1 + 1, ǫ m = 1, ξ m+1 = ξ h+1 + 1, ǫ m+1 = 1. 16

17 We have a central unisequence [a r,a p r ] of length 4t with r + 2t = h 1. Let J be the number of jumps in [a 0,a r ]. There are t jumps of 2 in [a r,a h 1 ]. Hence m, being the number of jumps in [a 0,a h 1 ] satisfies m = J + t. There are also t jumps of 2 in [a h 1,a p r 1 ], one jump in [a p r 1,a p r ] and J jumps in [a p r,a p ]. Hence Then k = (J + t) + t J = 2(J + t) + 1 = 2m + 1. ǫ m = 1 = f(m) = f(m 1) + 2, A m 1 = A f(m 1)+1, ǫ m+1 = 1 = f(m + 1) = f(m) + 2, A m = A f(m)+1. We have A m 1 = A h 2, A m = A h. We now verify criterion 4) of Theorem 1. We note that a h = 1 implies P h+1 = Q h P h. Then P m+1 = Q m Q m+1. (6.7) Also Hence (6.7) holds if and only if However Next we prove Let P m+1 = P h+1 + Q h+1 = Q h P h + Q h+1. Q m Q m+1 = Q h Q h+1. Q h P h + Q h+1 = Q h Q h+1, i.e., Q h 1 P h + Q h+1 = Q h Q h+1, i.e., P h = 1 2 Q h+1. P 2 h = D Q h 1 Q h, P 2 h+1 = D Q h Q h+1, P 2 h P 2 h+1 = Q h (Q h+1 Q h 1 ), P h P h+1 = Q h+1 Q h 1, P h (Q h P h ) = Q h+1 Q h, 2P h = Q h+1. A p 1 = A mb m + 2A m 1B m 1 (A mb m 1 + B ma m 1), (6.8) B p 1 = B 2 m + 2B 2 m 1 2B mb m 1. (6.9) T = A mb m + 2A m 1B m 1 (A mb m 1 + B ma m 1). 17

18 Then T = A h B h + 2A h 2 B h 2 (A h B h 2 + B h A h 2 ) = A h (B h B h 2 ) + A h 2 (B h 2 B h ) + A h 2 B h 2 = A h B h 1 A h 2 B h 1 + A h 2 B h 2 = A h B h 1 + A h 2 (B h 2 B h 1 ) = (A h 1 + A h 2 )B h 1 + A h 2 (B h 2 B h 1 ) = A h 1 B h 1 + A h 2 B h 2 = A p 1. Also B 2 m + 2B 2 m 1 2B mb m 1 = B 2 h + 2B 2 h 2 2B h B h 2 = B h (B h 2B h 2 ) + 2B 2 h 2 = (B h 1 + B h 2 )(B h 1 B h 2 ) + 2B 2 h 2 = B 2 h 1 B 2 h 2 + 2B 2 h 2 = B 2 h 1 + B 2 h 2 = B p 1. M = 4t+2, e.g., 29 = [5, 2, 1, 1, 2, 10 ]. Let f(m) = h. Then ǫ m = 1 and ξ m = ξ h +1. Also f(m) = f(m 1) + 2, so A m 1 = A f(m 1)+1 = A h 1. Then we have a central unisequence [a r,a p r ] of length 4t + 2. There are t + 1 jumps in [a r,a h ], so r + 2t + 2 = h. Let J be the number of jumps in [a 0,a r ]. Hence m, being the number of jumps in [a 0,a h ] satisfies m = J + t + 1. There are also t jumps of 2 in [a h,a p r 1 ], one jump in [a p r 1,a p r ] and J jumps in [a p r,a p ]. Hence k = (J + t + 1) + t J = 2(J + t + 1) = 2m. We now verify Case 5) of the midpoint criteria: Then, as ξ m 1 = ξ h 2 or ξ h 2 + 1, we have Q m 1 = Q h 2 and P m = Q m Q m 1. (6.10) P m = Q m Q m 1 P h + Q h = Q h Q h 2 P h = 1 2 Q h 2. But a h 1 = 1 implies P h = Q h 1 P h 1. Hence P 2 h 1 P 2 h = (D Q h 2 Q h 1 ) (D Q h 1 Q h ), (P h 1 P h )Q h 1 = Q h 1 (Q h Q h 2 ), P h 1 P h = Q h Q h 2, Q h 1 2P h = Q h 1 Q h 2, 2P h = Q h 2. 18

19 Next we prove A p 1 = 2A m 1B m 1 + A m 2B m 2 (A m 1B m 2 + B m 1A m 2), (6.11) B p 1 = 2B 2 m 1 + B 2 m 2 2B m 1B m 2. (6.12) Note that regardless of the sign of ǫ m 1, we have A m 2 = A h 3. To prove (6.11), let Then Finally, we prove (6.12). T = 2A m 1B m 1 + A m 2B m 2 (A m 1B m 2 + B m 1A m 2). T = 2A h 1 B h 1 + A h 3 B h 3 (A h 1 B h 3 + B h 1 A h 3 ) = 2A h 1 B h 1 + (A h 1 A h 2 )(B h 1 B h 2 ) A h 1 (B h 1 B h 2 ) B h 1 (A h 1 A h 2 ) = A h 1 B h 1 + A h 2 B h 2 = A p 1. 2B 2 m 1 + B 2 m 2 2B m 1B m 2 = 2B 2 h 1 + B 2 h 3 2B h 1 B h 3 = 2B 2 h 1 + (B h 1 B h 2 ) 2 2B h 1 (B h 1 B h 2 ) This completes the proof of Theorem 2. = B 2 h 1 + B 2 h 2 = B p RCF periods with only odd length unisequences Lemma 7. Suppose there are no even length ( 2) unisequences in an RCF period of length p for D. If k is the NICF period-length and 0 t k/2, then f(k t) = p f(t), (7.1) Proof. Let f(t) = r. Then we have t jumps on [a 0,a r ]. Because of the symmetry of the partial quotients and the absence of even length unisequences, we get the same t jumps but in reverse order on [a p r,a p ]. There are k jumps on [a 0,a p ] and hence k t jumps on [a 0,a p r ]. Hence f(k t) = p r = p f(t). Theorem 3. Suppose there are no even length ( 2) unisequences in a RCF period of length p for D. Then if k is the NICF period-length, for 1 t k/2, we have (i) ǫ t = ǫ k+1 t ; (ii) P t = P k+1 t ; (iii) Q t = Q k t ; (iv) a t = a k t, where ξ t = P t + D is the t-th complete quotient of the NICF-P expansion of D. Q t Remark. In particular, if k = 2h, then (ii) implies P h = P h+1 and we have criterion 1) of Theorem 1; while if k = 2h + 1, then (iii) implies Q h = Q h+1 and we have criterion 3) of Theorem 1. 19

20 Proof. (i) We use (5.1) and Lemma 7 ǫ t = 1 f(t) = f(t 1) + 1 p f(k t) = p f(k t + 1) + 1 f(k t + 1) = f(k t) + 1 ǫ k t+1 = 1. (ii) (a) Assume ǫ t = 1. Then ǫ k+1 t = 1 and f(t) = f(t 1) + 1. Hence ξ t = ξ f(t) = P f(t)+ D Q f(t) and ξ k+1 t = ξ f(k+1 t) = ξ p f(t 1) = ξ p+1 f(t) = P p+1 f(t) + D Q p+1 f(t) = P f(t) + D Q f(t) 1. Hence P t = P f(t) = P k+1 t. (b) Assume ǫ t = 1. Then ǫ k+1 t = 1 and f(t) = f(t 1) + 2. Hence ξ t = ξ f(t) + 1 = P f(t)+q f(t) + D Q f(t) and Hence ξ k+1 t = ξ f(k+1 t) + 1 = ξ p f(t 1) + 1 = P p f(t 1) + D + 1 = P f(t 1)+1 + Q f(t 1) + D. Q p f(t 1) Q f(t 1) P t = P f(t) + Q f(t), P k+1 t = P f(t 1)+1 + Q f(t 1) = P f(t) 1 + Q f(t) 2. For brevity, write r = f(t) 1. We have to prove P t = P k+1 t, i.e., We have P r + Q r 1 = P r+1 + Q r+1. (7.2) P 2 r+1 P 2 r = (D Q r Q r+1 ) (D Q r 1 Q r ) = Q r (Q r 1 Q r+1 ). (7.3) Now ǫ t = 1 implies a f(t 1)+1 = 1 = a f(t) 1 = a r and hence P r+1 + P r = a r Q r = Q r. Then (7.3) gives P r+1 P r = Q r 1 Q r+1 and hence (7.2). (iii) To prove Q t = Q k t, we observe that ξ t = ξ f(t) or ξ f(t) + 1, ξ k t = ξ f(k t) or ξ f(k t)

21 Then (iv) Q k t = Q f(k t) = Q p f(t) = Q f(t) = Q t. a f(t) if (ǫ t,ǫ t+1 ) = (1, 1); a t = a f(t) + 1 if (ǫ t,ǫ t+1 ) = (1, 1) or ( 1, 1); a f(t) + 2 if (ǫ t,ǫ t+1 ) = ( 1, 1). a f(k t) if (ǫ k t,ǫ k t+1 ) = (1, 1); a k t = a f(k t) + 1 if (ǫ k t,ǫ k t+1 ) = (1, 1) or ( 1, 1); a f(k t) + 2 if (ǫ k t,ǫ k t+1 ) = ( 1, 1). Then as (ǫ t,ǫ t+1 ) = (ǫ k+1 t,ǫ k t ) and a f(k t) = a p f(t) = a f(t), it follows that a t = a k t. We give examples of even and odd NICF period-length in which only odd length unisequences occur. (a) 1532 = [39, 7, 9, 1, 1, 1, 3, 1, 18, 1, 3, 1, 1, 1, 9, 7, 78] Here p = 16,k = 10,P 5 = P 6. (b) = = [16, 1, 1, 1, 4, 10, 1, 7, 2, 2, 3, 3, 2, 2, 7, 1, 10, 4, 1, 1, 1, 32 ] = Here p = 21,k = 15,Q 7 = Q Acknowledgements The author thanks John Robertson and Jim White for helpful remarks on the paper of H. C. Williams. The author also thanks Alan Offer for his help with the graphics package pstricks. References [1] A. Hurwitz, Über eine besondere Art der Kettenbruch-Entwicklung reeller Grössen, Acta Math., 12 (1889), [2] W. Bosma, Optimal continued fractions, Indag. Math. 49 (1987), [3] L. E. Dickson, History of the Theory of Numbers, Vol. 2, Chelsea AMS reprint [4] K. R. Matthews, J. P. Robertson, J. White, Midpoint criteria for solving Pell s equation using the nearest square continued fraction, to appear in Math. Comp. [5] K. R. Matthews, J. P. Robertson, Equality of quadratic surd period-lengths for NICF and NSCF, (submitted) [6] B. Minnegerode, Über eine neue Methode, die Pellische Gleichung aufzulösen, Gött. Nachr., 23 (1873), [7] O. Perron, Die Lehre von den Kettenbrüchen, Band 1, Teubner, [8] K. Rosen, Introduction to number theory and its applications, Addison-Wesley,

22 [9] H. C. Williams, Some results concerning the nearest integer continued fraction expansion of D, J. Reine Angew. Math. 315, 1980, Mathematics Subject Classification: Primary 11A55, 11Y65. Keywords: nearest integer continued fraction, period length, midpoint criteria, unisequence. 22

Solving Pell s equation using the nearest square continued fraction

Solving Pell s equation using the nearest square continued fraction Solving Pell s equation using the nearest square continued fraction Keith Matthews 12th June 2008 Abstract This talk is about the nearest square continued fraction of A.A.K. Ayyangar (1941) and its use

More information

On the continued fraction expansion of 2 2n+1

On the continued fraction expansion of 2 2n+1 On the continued fraction expansion of n+1 Keith Matthews February 6, 007 Abstract We derive limited information about the period of the continued fraction expansion of n+1 : The period-length is a multiple

More information

Series of Error Terms for Rational Approximations of Irrational Numbers

Series of Error Terms for Rational Approximations of Irrational Numbers 2 3 47 6 23 Journal of Integer Sequences, Vol. 4 20, Article..4 Series of Error Terms for Rational Approximations of Irrational Numbers Carsten Elsner Fachhochschule für die Wirtschaft Hannover Freundallee

More information

Notes on Continued Fractions for Math 4400

Notes on Continued Fractions for Math 4400 . Continued fractions. Notes on Continued Fractions for Math 4400 The continued fraction expansion converts a positive real number α into a sequence of natural numbers. Conversely, a sequence of natural

More information

POLYNOMIAL SOLUTIONS OF PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS

POLYNOMIAL SOLUTIONS OF PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS J. London Math. Soc. 67 (2003) 16 28 C 2003 London Mathematical Society DOI: 10.1112/S002461070200371X POLYNOMIAL SOLUTIONS OF PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS J. MCLAUGHLIN

More information

ALTERNATIVE DERIVATION OF SOME REGULAR CONTINUED FRACTIONS

ALTERNATIVE DERIVATION OF SOME REGULAR CONTINUED FRACTIONS ALTERNATIVE DERIVATION OF SOME REGULAR CONTINUED FRACTIONS R. F. C. WALTERS (Received 21 July 1966, revised 20 February 1967) In this paper we find an expression for g* as the limit of quotients associated

More information

COMPLEX NUMBERS WITH BOUNDED PARTIAL QUOTIENTS

COMPLEX NUMBERS WITH BOUNDED PARTIAL QUOTIENTS COMPLEX NUMBERS WITH BOUNDED PARTIAL QUOTIENTS WIEB BOSMA AND DAVID GRUENEWALD Abstract. Conjecturally, the only real algebraic numbers with bounded partial quotients in their regular continued fraction

More information

Extending Theorems of Serret and Pavone

Extending Theorems of Serret and Pavone 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 20 (2017), Article 17.10.5 Extending Theorems of Serret and Pavone Keith R. Matthews School of Mathematics and Physics University of Queensland Brisbane

More information

POLYNOMIAL SOLUTIONS TO PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS arxiv: v1 [math.nt] 27 Dec 2018

POLYNOMIAL SOLUTIONS TO PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS arxiv: v1 [math.nt] 27 Dec 2018 POLYNOMIAL SOLUTIONS TO PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS arxiv:1812.10828v1 [math.nt] 27 Dec 2018 J. MC LAUGHLIN Abstract. Finding polynomial solutions to Pell s equation

More information

Fibonacci Sequence and Continued Fraction Expansions in Real Quadratic Number Fields

Fibonacci Sequence and Continued Fraction Expansions in Real Quadratic Number Fields Malaysian Journal of Mathematical Sciences (): 97-8 (07) MALAYSIAN JOURNAL OF MATHEMATICAL SCIENCES Journal homepage: http://einspem.upm.edu.my/journal Fibonacci Sequence and Continued Fraction Expansions

More information

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

CONTINUED FRACTIONS Lecture notes, R. M. Dudley, Math Lecture Series, January 15, 2014 CONTINUED FRACTIONS Lecture notes, R. M. Dudley, Math Lecture Series, January 5, 204. Basic definitions and facts A continued fraction is given by two sequences of numbers {b n } n 0 and {a n } n. One

More information

A Note on Jacobi Symbols and Continued Fractions

A Note on Jacobi Symbols and Continued Fractions Reprinted from: The American Mathematical Monthly Volume 06, Number, pp 52 56 January, 999 A Note on Jacobi Symbols and Continued Fractions A. J. van der Poorten and P. G. Walsh. INTRODUCTION. It is well

More information

ON DENJOY S CANONICAL CONTINUED FRACTION EXPANSION

ON DENJOY S CANONICAL CONTINUED FRACTION EXPANSION Iosifescu, M. Kraaikamp, C. Osaka J. Math. 40 (2003, 235 244 ON DENJOY S CANONICAL CONTINUED FRACTION EXPANSION M. IOSIFESCU C. KRAAIKAMP (Received September 0, 200. Introduction Let be a real non-integer

More information

Complex Continued Fractions with Constraints on Their Partial Quotients

Complex Continued Fractions with Constraints on Their Partial Quotients Complex Continued Fractions with Constraints on Their Partial Quotients Complex Continued Fractions with Constraints on Their Partial Quotients Hans Höngesberg (Wien, Austria) Nicola Oswald (Wuppertal

More information

Newton s formula and continued fraction expansion of d

Newton s formula and continued fraction expansion of d Newton s formula and continued fraction expansion of d ANDREJ DUJELLA Abstract It is known that if the period s(d) of the continued fraction expansion of d satisfies s(d), then all Newton s approximants

More information

ON THE ELEMENTS OF THE CONTINUED FRACTIONS OF QUADRATIC IRRATIONALS

ON THE ELEMENTS OF THE CONTINUED FRACTIONS OF QUADRATIC IRRATIONALS ON THE ELEMENTS OF THE CONTINUED FRACTIONS OF QUADRATIC IRRATIONALS YAN LI AND LIANRONG MA Abstract In this paper, we study the elements of the continued fractions of Q and ( 1 + 4Q + 1)/2 (Q N) We prove

More information

SOME RESULTS ON SPECIAL CONTINUED FRACTION EXPANSIONS IN REAL QUADRATIC NUMBER FIELDS

SOME RESULTS ON SPECIAL CONTINUED FRACTION EXPANSIONS IN REAL QUADRATIC NUMBER FIELDS Journal of Mathematical Analysis ISSN: 7-34, URL: http://ilirias.com/jma Volume 7 Issue 4(6), Pages 98-7. SOME RESULTS ON SPECIAL CONTINUED FRACTION EXPANSIONS IN REAL QUADRATIC NUMBER FIELDS ÖZEN ÖZER,

More information

On a special case of the Diophantine equation ax 2 + bx + c = dy n

On a special case of the Diophantine equation ax 2 + bx + c = dy n Sciencia Acta Xaveriana Vol. 2 No. 1 An International Science Journal pp. 59 71 ISSN. 0976-1152 March 2011 On a special case of the Diophantine equation ax 2 + bx + c = dy n Lionel Bapoungué Université

More information

ON DIFFERENCES OF TWO SQUARES IN SOME QUADRATIC FIELDS

ON DIFFERENCES OF TWO SQUARES IN SOME QUADRATIC FIELDS ON DIFFERENCES OF TWO SQUARES IN SOME QUADRATIC FIELDS ANDREJ DUJELLA AND ZRINKA FRANUŠIĆ Abstract. It this paper, we study the problem of determining the elements in the rings of integers of quadratic

More information

arxiv: v2 [math.nt] 7 May 2013

arxiv: v2 [math.nt] 7 May 2013 arxiv:107.5831v [math.nt] 7 May 013 On Eisenstein s formula for the Fermat quotient Contents John Blythe Dobson (j.dobson@uwinnipeg.ca) November 5, 018 1 Introduction Eisenstein s congruence and Fermat

More information

Largest Values of the Stern Sequence, Alternating Binary Expansions and Continuants

Largest Values of the Stern Sequence, Alternating Binary Expansions and Continuants 1 3 47 6 3 11 Journal of Integer Sequences, Vol. 0 (017), Article 17..8 Largest Values of the Stern Sequence, Alternating Binary Expansions Continuants Rol Paulin Max-Planck-Institut für Mathematik Vivatsgasse

More information

Best Lower and Upper Approximates to Irrational Numbers

Best Lower and Upper Approximates to Irrational Numbers Elem. Math. 52 (1997) 122 126 0013-6018/97/030122-5 $ 1.50+0.20/0 c Birkhäuser Verlag, Basel, 1997 Elemente der Mathematik Best Lower and Upper Approximates to Irrational Numbers Clark Kimberling Clark

More information

Continued Fraction Approximations of the Riemann Zeta Function MATH 336. Shawn Apodaca

Continued Fraction Approximations of the Riemann Zeta Function MATH 336. Shawn Apodaca Continued Fraction Approximations of the Riemann Zeta Function MATH 336 Shawn Apodaca Introduction Continued fractions serve as a useful tool for approximation and as a field of their own. Here we will

More information

Dynamic Systems and Applications 12 (2003) THE EULER MINDING ANALOGON AND OTHER IDENTITIES FOR CONTINUED FRACTIONS IN BANACH SPACES

Dynamic Systems and Applications 12 (2003) THE EULER MINDING ANALOGON AND OTHER IDENTITIES FOR CONTINUED FRACTIONS IN BANACH SPACES Dynamic Systems Applications 12 (2003) 229-233 THE EULER MINDING ANALOGON AND OTHER IDENTITIES FOR CONTINUED FRACTIONS IN BANACH SPACES ANDREAS SCHELLING Carinthia Tech Institute, Villacher Strasse 1,

More information

Infinitely Many Quadratic Diophantine Equations Solvable Everywhere Locally, But Not Solvable Globally

Infinitely Many Quadratic Diophantine Equations Solvable Everywhere Locally, But Not Solvable Globally Infinitely Many Quadratic Diohantine Equations Solvable Everywhere Locally, But Not Solvable Globally R.A. Mollin Abstract We resent an infinite class of integers 2c, which turn out to be Richaud-Degert

More information

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

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 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 R.A. Mollin Abstract We look at the simple continued

More information

Journal of Integer Sequences, Vol. 5 (2002), Article

Journal of Integer Sequences, Vol. 5 (2002), Article 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 5 (2002), Article 02.2.7 ON SHANKS ALGORITHM FOR COMPUTING THE CONTINUED FRACTION OF log b a TERENCE JACKSON 1 AND KEITH MATTHEWS 2 1 Department of Mathematics

More information

Short multipliers for the extended gcd problem

Short multipliers for the extended gcd problem Short multipliers for the extended gcd problem Keith Matthews Abstract For given non zero integers s 1,, s m, the problem of finding integers a 1,, a m satisfying s = gcd (s 1,, s m ) = a 1 s 1 + + a m

More information

Finite Fields Appl. 8 (2002),

Finite Fields Appl. 8 (2002), On the permutation behaviour of Dickson polynomials of the second kind Finite Fields Appl. 8 (00), 519-530 Robert S. Coulter 1 Information Security Research Centre, Queensland University of Technology,

More information

PODSYPANIN S PAPER ON THE LENGTH OF THE PERIOD OF A QUADRATIC IRRATIONAL. Copyright 2007

PODSYPANIN S PAPER ON THE LENGTH OF THE PERIOD OF A QUADRATIC IRRATIONAL. Copyright 2007 PODSYPANIN S PAPER ON THE LENGTH OF THE PERIOD OF A QUADRATIC IRRATIONAL JOHN ROBERTSON Copyright 007 1. Introduction The major result in Podsypanin s paper Length of the period of a quadratic irrational

More information

On a diophantine equation of Andrej Dujella

On a diophantine equation of Andrej Dujella On a diophantine equation of Andrej Dujella Keith Matthews (joint work with John Robertson and Jim White published in Math. Glasnik, 48, number 2 (2013) 265-289.) The unicity conjecture (Dujella 2009)

More information

Closed form expressions for two harmonic continued fractions

Closed form expressions for two harmonic continued fractions University of Wollongong Research Online Faculty of Engineering and Information Sciences - Papers: Part B Faculty of Engineering and Information Sciences 07 Closed form expressions for two harmonic continued

More information

Solving x 2 Dy 2 = N in integers, where D > 0 is not a perfect square. Keith Matthews

Solving x 2 Dy 2 = N in integers, where D > 0 is not a perfect square. Keith Matthews Solving x 2 Dy 2 = N in integers, where D > 0 is not a perfect square. Keith Matthews Abstract We describe a neglected algorithm, based on simple continued fractions, due to Lagrange, for deciding the

More information

THE JACOBI SYMBOL AND A METHOD OF EISENSTEIN FOR CALCULATING IT

THE JACOBI SYMBOL AND A METHOD OF EISENSTEIN FOR CALCULATING IT THE JACOBI SYMBOL AND A METHOD OF EISENSTEIN FOR CALCULATING IT STEVEN H. WEINTRAUB ABSTRACT. We present an exposition of the asic properties of the Jacoi symol, with a method of calculating it due to

More information

MULTI-VARIABLE POLYNOMIAL SOLUTIONS TO PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS

MULTI-VARIABLE POLYNOMIAL SOLUTIONS TO PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS MULTI-VARIABLE POLYNOMIAL SOLUTIONS TO PELL S EQUATION AND FUNDAMENTAL UNITS IN REAL QUADRATIC FIELDS J. MC LAUGHLIN Abstract. Solving Pell s equation is of relevance in finding fundamental units in real

More information

QUARTIC POWER SERIES IN F 3 ((T 1 )) WITH BOUNDED PARTIAL QUOTIENTS. Alain Lasjaunias

QUARTIC POWER SERIES IN F 3 ((T 1 )) WITH BOUNDED PARTIAL QUOTIENTS. Alain Lasjaunias QUARTIC POWER SERIES IN F 3 ((T 1 )) WITH BOUNDED PARTIAL QUOTIENTS Alain Lasjaunias 1991 Mathematics Subject Classification: 11J61, 11J70. 1. Introduction. We are concerned with diophantine approximation

More information

Counting on Continued Fractions

Counting on Continued Fractions appeared in: Mathematics Magazine 73(2000), pp. 98-04. Copyright the Mathematical Association of America 999. All rights reserved. Counting on Continued Fractions Arthur T. Benjamin Francis Edward Su Harvey

More information

Badly approximable numbers over imaginary quadratic fields

Badly approximable numbers over imaginary quadratic fields Badly approximable numbers over imaginary quadratic fields Robert Hines University of Colorado, Boulder March 11, 2018 Simple continued fractions: Definitions 1 The Euclidean algorthim a = ba 0 + r 0,

More information

BADLY APPROXIMABLE NUMBERS OVER IMAGINARY QUADRATIC FIELDS

BADLY APPROXIMABLE NUMBERS OVER IMAGINARY QUADRATIC FIELDS BADLY APPROXIMABLE NUMBERS OVER IMAGINARY QUADRATIC FIELDS ROBERT HINES Abstract. We recall the notion of nearest integer continued fractions over the Euclidean imaginary quadratic fields K and characterize

More information

ON DIRICHLET S CONJECTURE ON RELATIVE CLASS NUMBER ONE

ON DIRICHLET S CONJECTURE ON RELATIVE CLASS NUMBER ONE ON DIRICHLET S CONJECTURE ON RELATIVE CLASS NUMBER ONE AMANDA FURNESS Abstract. We examine relative class numbers, associated to class numbers of quadratic fields Q( m) for m > 0 and square-free. The relative

More information

INDEFINITE QUADRATIC FORMS AND PELL EQUATIONS INVOLVING QUADRATIC IDEALS

INDEFINITE QUADRATIC FORMS AND PELL EQUATIONS INVOLVING QUADRATIC IDEALS INDEFINITE QUADRATIC FORMS AND PELL EQUATIONS INVOLVING QUADRATIC IDEALS AHMET TEKCAN Communicated by Alexandru Zaharescu Let p 1(mod 4) be a prime number, let γ P + p Q be a quadratic irrational, let

More information

The theory of continued fractions and the approximations of irrational numbers

The theory of continued fractions and the approximations of irrational numbers 교육학석사학위청구논문 연분수이론과무리수의근사 The theory of continued fractions and the approximations of irrational numbers 202 년 2 월 인하대학교교육대학원 수학교육전공 정미라 교육학석사학위청구논문 연분수이론과무리수의근사 The theory of continued fractions and the

More information

1. Introduction. Let P and Q be non-zero relatively prime integers, α and β (α > β) be the zeros of x 2 P x + Q, and, for n 0, let

1. Introduction. Let P and Q be non-zero relatively prime integers, α and β (α > β) be the zeros of x 2 P x + Q, and, for n 0, let C O L L O Q U I U M M A T H E M A T I C U M VOL. 78 1998 NO. 1 SQUARES IN LUCAS SEQUENCES HAVING AN EVEN FIRST PARAMETER BY PAULO R I B E N B O I M (KINGSTON, ONTARIO) AND WAYNE L. M c D A N I E L (ST.

More information

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction Math 4 Summer 01 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If

More information

Almost fifth powers in arithmetic progression

Almost fifth powers in arithmetic progression Almost fifth powers in arithmetic progression L. Hajdu and T. Kovács University of Debrecen, Institute of Mathematics and the Number Theory Research Group of the Hungarian Academy of Sciences Debrecen,

More information

Quadratic Diophantine Equations x 2 Dy 2 = c n

Quadratic Diophantine Equations x 2 Dy 2 = c n Irish Math. Soc. Bulletin 58 2006, 55 68 55 Quadratic Diophantine Equations x 2 Dy 2 c n RICHARD A. MOLLIN Abstract. We consider the Diophantine equation x 2 Dy 2 c n for non-square positive integers D

More information

R.A. Mollin Department of Mathematics and Statistics, University of Calgary, Calgary, Alberta, Canada, T2N 1N4

R.A. Mollin Department of Mathematics and Statistics, University of Calgary, Calgary, Alberta, Canada, T2N 1N4 PERIOD LENGTHS OF CONTINUED FRACTIONS INVOLVING FIBONACCI NUMBERS R.A. Mollin Department of Mathematics and Statistics, University of Calgary, Calgary, Alberta, Canada, TN 1N e-mail ramollin@math.ucalgary.ca

More information

USA Mathematical Talent Search Round 4 Solutions Year 20 Academic Year

USA Mathematical Talent Search Round 4 Solutions Year 20 Academic Year 1/4/20. Consider a sequence {a n } with a 1 = 2 and a n = a2 n 1 a n 2 for all n 3. If we know that a 2 and a 5 are positive integers and a 5 2009, then what are the possible values of a 5? Since a 1 and

More information

An Unusual Continued Fraction

An Unusual Continued Fraction An Unusual Continued Fraction arxiv:505.00667v [math.nt] 4 May 205 Dzmitry Badziahin Department of Mathematical Sciences Durham University Lower Mountjoy Stockton Rd Durham, DH 3LE United Kingdom dzmitry.badziahin@durham.ac.uk

More information

Palindromic continued fractions. 1. Introduction

Palindromic continued fractions. 1. Introduction Palindromic continued fractions Boris ADAMCZEWSKI (Lyon) & Yann BUGEAUD * (Strasbourg) 1. Introduction An old problem adressed by Khintchin [15] deals with the behaviour of the continued fraction expansion

More information

How fast does a continued fraction converge?

How fast does a continued fraction converge? How fast does a continued fraction converge? C. E. Falbo Sonoma State University Abstract Did you know that when the continued fraction a + a 2 + a 3 +::: converges, the in nite series P n= ja nj diverges?

More information

CONTINUED FRACTIONS, PELL S EQUATION, AND TRANSCENDENTAL NUMBERS

CONTINUED FRACTIONS, PELL S EQUATION, AND TRANSCENDENTAL NUMBERS CONTINUED FRACTIONS, PELL S EQUATION, AND TRANSCENDENTAL NUMBERS JEREMY BOOHER Continued fractions usually get short-changed at PROMYS, but they are interesting in their own right and useful in other areas

More information

ON THE CONTINUED FRACTION EXPANSION OF THE UNIQUE ROOT IN F(p) OF THE EQUATION x 4 + x 2 T x 1/12 = 0 AND OTHER RELATED HYPERQUADRATIC EXPANSIONS

ON THE CONTINUED FRACTION EXPANSION OF THE UNIQUE ROOT IN F(p) OF THE EQUATION x 4 + x 2 T x 1/12 = 0 AND OTHER RELATED HYPERQUADRATIC EXPANSIONS ON THE CONTINUED FRACTION EXPANSION OF THE UNIQUE ROOT IN F(p) OF THE EQUATION x 4 + x 2 T x 1/12 = 0 AND OTHER RELATED HYPERQUADRATIC EXPANSIONS by A. Lasjaunias Abstract.In 1986, Mills and Robbins observed

More information

Carmichael numbers with a totient of the form a 2 + nb 2

Carmichael numbers with a totient of the form a 2 + nb 2 Carmichael numbers with a totient of the form a 2 + nb 2 William D. Banks Department of Mathematics University of Missouri Columbia, MO 65211 USA bankswd@missouri.edu Abstract Let ϕ be the Euler function.

More information

Integer Solutions of the Equation y 2 = Ax 4 +B

Integer Solutions of the Equation y 2 = Ax 4 +B 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 18 (2015), Article 15.4.4 Integer Solutions of the Equation y 2 = Ax 4 +B Paraskevas K. Alvanos 1st Model and Experimental High School of Thessaloniki

More information

A METRIC RESULT CONCERNING THE APPROXIMATION OF REAL NUMBERS BY CONTINUED FRACTIONS 1. INTRODUCTION AND STATEMENT OF RESULTS

A METRIC RESULT CONCERNING THE APPROXIMATION OF REAL NUMBERS BY CONTINUED FRACTIONS 1. INTRODUCTION AND STATEMENT OF RESULTS A METRIC RESULT CONCERNING THE APPROXIMATION OF REAL NUMBERS BY CONTINUED FRACTIONS C. Eisner Institut fur Mathematik, Technische Universitat Hannover, Welfengarten 1, Hannover, Germany {Submitted October

More information

A family of quartic Thue inequalities

A family of quartic Thue inequalities A family of quartic Thue inequalities Andrej Dujella and Borka Jadrijević Abstract In this paper we prove that the only primitive solutions of the Thue inequality x 4 4cx 3 y + (6c + 2)x 2 y 2 + 4cxy 3

More information

Problem Set 1 Solutions

Problem Set 1 Solutions 18.014 Problem Set 1 Solutions Total: 4 points Problem 1: If ab = 0, then a = 0 or b = 0. Suppose ab = 0 and b = 0. By axiom 6, there exists a real number y such that by = 1. Hence, we have a = 1 a = a

More information

CHAPTER 1 REAL NUMBERS KEY POINTS

CHAPTER 1 REAL NUMBERS KEY POINTS CHAPTER 1 REAL NUMBERS 1. Euclid s division lemma : KEY POINTS For given positive integers a and b there exist unique whole numbers q and r satisfying the relation a = bq + r, 0 r < b. 2. Euclid s division

More information

Journal of Inequalities in Pure and Applied Mathematics

Journal of Inequalities in Pure and Applied Mathematics Journal of Inequalities in Pure and Applied Mathematics ASYMPTOTIC EXPANSION OF THE EQUIPOISE CURVE OF A POLYNOMIAL INEQUALITY ROGER B. EGGLETON AND WILLIAM P. GALVIN Department of Mathematics Illinois

More information

ON A SINE POLYNOMIAL OF TURÁN

ON A SINE POLYNOMIAL OF TURÁN ROCKY MOUNTAIN JOURNAL OF MATHEMATICS Volume 48, Number 1, 18 ON A SINE POLYNOMIAL OF TURÁN HORST ALZER AND MAN KAM KWONG ABSTRACT. In 1935, Turán proved that ( n + a j ) S n,a() = sin(j) >, n j n, a N,

More information

Decomposition of a recursive family of polynomials

Decomposition of a recursive family of polynomials Decomposition of a recursive family of polynomials Andrej Dujella and Ivica Gusić Abstract We describe decomposition of polynomials f n := f n,b,a defined by f 0 := B, f 1 (x := x, f n+1 (x = xf n (x af

More information

Complex Continued Fraction Algorithms

Complex Continued Fraction Algorithms Complex Continued Fraction Algorithms A thesis presented in partial fulfilment of the requirements for the degree of Master of Mathematics Author: Bastiaan Cijsouw (s3022706) Supervisor: Dr W Bosma Second

More information

A RECURRENCE RELATION FOR BERNOULLI NUMBERS

A RECURRENCE RELATION FOR BERNOULLI NUMBERS Hacettepe Journal of Mathematics and Statistics Volume 42 (4) (203), 39 329 A RECURRENCE RELATION FOR BERNOULLI NUMBERS Ömer Küçüksakallı Received : 06 : 202 : Accepted 4 : 0 : 203 Keywords: Abstract Inspired

More information

On the power-free parts of consecutive integers

On the power-free parts of consecutive integers ACTA ARITHMETICA XC4 (1999) On the power-free parts of consecutive integers by B M M de Weger (Krimpen aan den IJssel) and C E van de Woestijne (Leiden) 1 Introduction and main results Considering the

More information

RANK AND PERIOD OF PRIMES IN THE FIBONACCI SEQUENCE. A TRICHOTOMY

RANK AND PERIOD OF PRIMES IN THE FIBONACCI SEQUENCE. A TRICHOTOMY RANK AND PERIOD OF PRIMES IN THE FIBONACCI SEQUENCE. A TRICHOTOMY Christian Ballot Université de Caen, Caen 14032, France e-mail: ballot@math.unicaen.edu Michele Elia Politecnico di Torino, Torino 10129,

More information

ON THE LENGTH OF THE PERIOD OF A REAL QUADRATIC IRRATIONAL. N. Saradha

ON THE LENGTH OF THE PERIOD OF A REAL QUADRATIC IRRATIONAL. N. Saradha Indian J Pure Appl Math, 48(3): 311-31, September 017 c Indian National Science Academy DOI: 101007/s136-017-09-4 ON THE LENGTH OF THE PERIOD OF A REAL QUADRATIC IRRATIONAL N Saradha School of Mathematics,

More information

CONTINUED-FRACTION EXPANSIONS FOR THE RIEMANN ZETA FUNCTION AND POLYLOGARITHMS

CONTINUED-FRACTION EXPANSIONS FOR THE RIEMANN ZETA FUNCTION AND POLYLOGARITHMS PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 25, Number 9, September 997, Pages 2543 2550 S 0002-9939(97)0402-6 CONTINUED-FRACTION EXPANSIONS FOR THE RIEMANN ZETA FUNCTION AND POLYLOGARITHMS

More information

Fractional Parts of the Period of the Continued Fraction Expansion of Quadratic Integers. A. J. van der Poorten Macquarie University

Fractional Parts of the Period of the Continued Fraction Expansion of Quadratic Integers. A. J. van der Poorten Macquarie University Fractional Parts of the Period of the Continued Fraction Expansion of Quadratic Integers A J van der Poorten Macquarie University The elementary nature and simplicity of the theory of continued fractions

More information

1 Continued Fractions

1 Continued Fractions Continued Fractions To start off the course, we consider a generalization of the Euclidean Algorithm which has ancient historical roots and yet still has relevance and applications today.. Continued Fraction

More information

The Continuing Story of Zeta

The Continuing Story of Zeta The Continuing Story of Zeta Graham Everest, Christian Röttger and Tom Ward November 3, 2006. EULER S GHOST. We can only guess at the number of careers in mathematics which have been launched by the sheer

More information

FIBONACCI NUMBERS AND SEMISIMPLE CONTINUED FRACTION. and Ln

FIBONACCI NUMBERS AND SEMISIMPLE CONTINUED FRACTION. and Ln Commun Korean Math Soc 29 (204), No 3, pp 387 399 http://dxdoiorg/0434/ckms204293387 FIBONACCI NUMBERS AND SEMISIMPLE CONTINUED FRACTION Eunmi Choi Abstract The ratios of any two Fibonacci numbers are

More information

Minimal multipliers for consecutive Fibonacci numbers

Minimal multipliers for consecutive Fibonacci numbers ACTA ARITHMETICA LXXV3 (1996) Minimal multipliers for consecutive Fibonacci numbers by K R Matthews (Brisbane) 1 Introduction The Fibonacci and Lucas numbers F n, L n (see [2]) are defined by Since F 1

More information

Convergence Rates on Root Finding

Convergence Rates on Root Finding Convergence Rates on Root Finding Com S 477/577 Oct 5, 004 A sequence x i R converges to ξ if for each ǫ > 0, there exists an integer Nǫ) such that x l ξ > ǫ for all l Nǫ). The Cauchy convergence criterion

More information

Diophantine approximations and integer points of cones

Diophantine approximations and integer points of cones Diophantine approximations and integer points of cones Martin Henk Robert Weismantel Abstract The purpose of this note is to present a relation between directed best approximations of a rational vector

More information

A Collection of MTA ELTE GAC manuscripts

A Collection of MTA ELTE GAC manuscripts A Collection of MTA ELTE GAC manuscripts Katalin Gyarmati, András Sárközy On reducible and primitive subsets of F p, I 014 MTA ELTE Geometric and Algebraic Combinatorics Research Group Hungarian Academy

More information

ON THE FRACTIONAL PARTS OF LACUNARY SEQUENCES

ON THE FRACTIONAL PARTS OF LACUNARY SEQUENCES MATH. SCAND. 99 (2006), 136 146 ON THE FRACTIONAL PARTS OF LACUNARY SEQUENCES ARTŪRAS DUBICKAS Abstract In this paper, we prove that if t 0,t 1,t 2,... is a lacunary sequence, namely, t n+1 /t n 1 + r

More information

Continued Fractions Expansion of D and Pell Equation x 2 Dy 2 = 1

Continued Fractions Expansion of D and Pell Equation x 2 Dy 2 = 1 Mathematica Moravica Vol. 5-2 (20), 9 27 Continued Fractions Expansion of D and Pell Equation x 2 Dy 2 = Ahmet Tekcan Abstract. Let D be a positive non-square integer. In the first section, we give some

More information

Algorithms: Background

Algorithms: Background Algorithms: Background Amotz Bar-Noy CUNY Amotz Bar-Noy (CUNY) Algorithms: Background 1 / 66 What is a Proof? Definition I: The cogency of evidence that compels acceptance by the mind of a truth or a fact.

More information

Macquarie University

Macquarie University CONTINUED FRACTION EXPANSIONS OF VALUES OF THE EXPONENTIAL FUNCTION AND RELATED FUN WITH CONTINUED FRACTIONS A J van der Poorten Macquarie University It is well known that one can obtain explicit continued

More information

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1 MATH 4400 SOLUTIONS TO SOME EXERCISES 1.1.3. If a b and b c show that a c. 1. Chapter 1 Solution: a b means that b = na and b c that c = mb. Substituting b = na gives c = (mn)a, that is, a c. 1.2.1. Find

More information

Short proofs of the universality of certain diagonal quadratic forms

Short proofs of the universality of certain diagonal quadratic forms Arch. Math. 91 (008), 44 48 c 008 Birkhäuser Verlag Basel/Switzerland 0003/889X/010044-5, published online 008-06-5 DOI 10.1007/s00013-008-637-5 Archiv der Mathematik Short proofs of the universality of

More information

2 Series Solutions near a Regular Singular Point

2 Series Solutions near a Regular Singular Point McGill University Math 325A: Differential Equations LECTURE 17: SERIES SOLUTION OF LINEAR DIFFERENTIAL EQUATIONS II 1 Introduction Text: Chap. 8 In this lecture we investigate series solutions for the

More information

Computer Use in Continued Fraction Expansions*

Computer Use in Continued Fraction Expansions* Computer Use in Continued Fraction Expansions* By Evelyn Frank Abstract. In this study, the use of computers is demonstrated for the rapid expansion of a general regular continued fraction with rational

More information

NOTES ON ESPECIAL CONTINUED FRACTION EXPANSIONS AND REAL QUADRATIC NUMBER FIELDS

NOTES ON ESPECIAL CONTINUED FRACTION EXPANSIONS AND REAL QUADRATIC NUMBER FIELDS Ozer / Kirklareli University Journal of Engineering an Science (06) 74-89 NOTES ON ESPECIAL CONTINUED FRACTION EXPANSIONS AND REAL QUADRATIC NUMBER FIELDS Özen ÖZER Department of Mathematics, Faculty of

More information

数理解析研究所講究録別冊 = RIMS Kokyuroku Bessa (2012), B32:

数理解析研究所講究録別冊 = RIMS Kokyuroku Bessa (2012), B32: Imaginary quadratic fields whose ex Titleequal to two, II (Algebraic Number 010) Author(s) SHIMIZU, Kenichi Citation 数理解析研究所講究録別冊 = RIMS Kokyuroku Bessa (01), B3: 55-69 Issue Date 01-07 URL http://hdl.handle.net/33/19638

More information

SYMMETRY AND SPECIALIZABILITY IN THE CONTINUED FRACTION EXPANSIONS OF SOME INFINITE PRODUCTS

SYMMETRY AND SPECIALIZABILITY IN THE CONTINUED FRACTION EXPANSIONS OF SOME INFINITE PRODUCTS SYMMETRY AND SPECIALIZABILITY IN THE CONTINUED FRACTION EXPANSIONS OF SOME INFINITE PRODUCTS J MC LAUGHLIN Abstract Let fx Z[x] Set f 0x = x and for n 1 define f nx = ff n 1x We describe several infinite

More information

arxiv: v1 [math.nt] 24 Oct 2013

arxiv: v1 [math.nt] 24 Oct 2013 A SUPPLEMENT TO SCHOLZ S RECIPROCITY LAW arxiv:13106599v1 [mathnt] 24 Oct 2013 FRANZ LEMMERMEYER Abstract In this note we will present a supplement to Scholz s reciprocity law and discuss applications

More information

(e) Commutativity: a b = b a. (f) Distributivity of times over plus: a (b + c) = a b + a c and (b + c) a = b a + c a.

(e) Commutativity: a b = b a. (f) Distributivity of times over plus: a (b + c) = a b + a c and (b + c) a = b a + c a. Math 299 Midterm 2 Review Nov 4, 2013 Midterm Exam 2: Thu Nov 7, in Recitation class 5:00 6:20pm, Wells A-201. Topics 1. Methods of proof (can be combined) (a) Direct proof (b) Proof by cases (c) Proof

More information

arxiv:math/ v2 [math.nt] 18 Jun 1999

arxiv:math/ v2 [math.nt] 18 Jun 1999 arxiv:math/9906016v2 [math.nt] 18 Jun 1999 On periodic sequences for algebraic numbers Thomas Garrity Department of Mathematics Williams College Williamstown, MA 01267 email:tgarrity@williams.edu Abstract

More information

Jumping Sequences. Steve Butler Department of Mathematics University of California, Los Angeles Los Angeles, CA

Jumping Sequences. Steve Butler Department of Mathematics University of California, Los Angeles Los Angeles, CA 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 11 (2008), Article 08.4.5 Jumping Sequences Steve Butler Department of Mathematics University of California, Los Angeles Los Angeles, CA 90095 butler@math.ucla.edu

More information

arxiv:math/ v2 [math.nt] 1 Mar 2004

arxiv:math/ v2 [math.nt] 1 Mar 2004 arxiv:math/0402462v2 [mathnt] 1 Mar 2004 REAL NUMBERS WITH POLYNOMIAL CONTINUED FRACTION EXPANSIONS J MC LAUGHLIN AND NANCY J WYSHINSKI Abstract In this paper we show how to apply various techniques and

More information

Pell Equation x 2 Dy 2 = 2, II

Pell Equation x 2 Dy 2 = 2, II Irish Math Soc Bulletin 54 2004 73 89 73 Pell Equation x 2 Dy 2 2 II AHMET TEKCAN Abstract In this paper solutions of the Pell equation x 2 Dy 2 2 are formulated for a positive non-square integer D using

More information

CONGRUENCES FOR BERNOULLI - LUCAS SUMS

CONGRUENCES FOR BERNOULLI - LUCAS SUMS CONGRUENCES FOR BERNOULLI - LUCAS SUMS PAUL THOMAS YOUNG Abstract. We give strong congruences for sums of the form N BnVn+1 where Bn denotes the Bernoulli number and V n denotes a Lucas sequence of the

More information

Palindromic continued fractions

Palindromic continued fractions Palindromic continued fractions Boris Adamczewski, Yann Bugeaud To cite this version: Boris Adamczewski, Yann Bugeaud. Palindromic continued fractions. 2005. HAL Id: hal-00014969 https://hal.archives-ouvertes.fr/hal-00014969

More information

p-regular functions and congruences for Bernoulli and Euler numbers

p-regular functions and congruences for Bernoulli and Euler numbers p-regular functions and congruences for Bernoulli and Euler numbers Zhi-Hong Sun( Huaiyin Normal University Huaian, Jiangsu 223001, PR China http://www.hytc.edu.cn/xsjl/szh Notation: Z the set of integers,

More information

ON SUMS OF SEVEN CUBES

ON SUMS OF SEVEN CUBES MATHEMATICS OF COMPUTATION Volume 68, Number 7, Pages 10 110 S 005-5718(99)01071-6 Article electronically published on February 11, 1999 ON SUMS OF SEVEN CUBES F. BERTAULT, O. RAMARÉ, AND P. ZIMMERMANN

More information

The Connections Between Continued Fraction Representations of Units and Certain Hecke Groups

The Connections Between Continued Fraction Representations of Units and Certain Hecke Groups BULLETIN of the Malaysian Mathematical Sciences Society http://mathusmmy/bulletin Bull Malays Math Sci Soc (2) 33(2) (2010), 205 210 The Connections Between Continued Fraction Representations of Units

More information

Infinite Continued Fractions

Infinite Continued Fractions Infinite Continued Fractions 8-5-200 The value of an infinite continued fraction [a 0 ; a, a 2, ] is lim c k, where c k is the k-th convergent k If [a 0 ; a, a 2, ] is an infinite continued fraction with

More information

Linear Algebra and its Applications

Linear Algebra and its Applications Linear Algebra and its Applications 435 (011) 1845 1856 Contents lists available at ScienceDirect Linear Algebra and its Applications journal homepage: wwwelseviercom/locate/laa Hurwitz rational functions

More information