• No results found

The Pell Equation X2 Dy2 = ± k2

N/A
N/A
Protected

Academic year: 2020

Share "The Pell Equation X2 Dy2 = ± k2"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

doi:10.4236/apm.2011.12005 Published Online March 2011 (http://www.SciRP.org/journal/apm)

The Pell Equation

x

2

Dy

2

=

k

2

Amara Chandoul

Institut supérieur d’Informatique et de Multimedia de Sfax, Sfax, Tunisia E-mail: [email protected]

Received January 9, 2011; revised January 29, 2011; accepted February 5, 2011

Abstract

Let D1 be a positive non-square integer and k2 be any fixed integer. Extending the work of A. Tek-can, here we obtain some formulas for the integer solutions of the Pell equation x2Dy2 =k2.

Keywords:Pell’s Equation, Solutions of Pell’s Equation

1. Introduction

The equation x2Dy2 =N

, with given integers D and N and unknowns x and y, is called Pell’s equation. If D is negative, it can have only a finite number of solutions. If D is a perfect square, say D=a2, the equation reduces to

xay



xay

=N and again there is only a finite number of solutions. The most interesting case of the equation arises when D1 be a positive non-square.

Although J. Pell contributed very little to the analysis of the equation, it bears his name because of a mistake by Euler.

Pell’s equation x2Dy2 = 1

was solved by Lagrange in terms of simple continued fractions. Lagrange was the first to prove that x2Dy2 = 1

has infinitly many solu- tions in integers if D1 is a fixed positive non-square integer. If the lenght of the periode of D is 1, all po- sitive solutions are given by x=P2vk1 and y=Q2vk1

if k is odd, and by x=Pvk1 and y=Qvk1 if k is

even, where v= 1, 2, and n n P

Q denotes the nth con-

vergent of the continued fraction expansion of D Inci- dentally, x=P2v1k1 and y=Q2v1k1, v= 1, 2,, are the positive solutions of 2 2

= 1

xDy  provided that 1 is odd.

There is no solution of x2Dy2 = 1 other than , : = 1, 2,

v v

x y v  given by

1 1

=

v

v v

xD y xD y ,

where x1, y1 is the least positive solution called the

fundamental solution, which there are different method for finding it. The reader can find many references in the subject in the book [7].

For completeness we recall that there are many papers in which are considered different types of Pell's equation. Many authors such as Tekcan [1], Kaplan and Williams [2], Matthews [3], Mollin, Poorten and Williams [4], Stevenhagen [5] and the others consider eome specific Pell equations and their integer solutions. A. Tekcan in [1], considered the equation x2Dy2 = 4 , and he ob- tained some formulas for its integer solutions. He mentioned two conjecture which was proved by A. S. Shabani [6]. In this paper we extend the work of A. Tek- can by considering the Pell equation x2Dy2 =k2 when D1 be a positive non-square and k2, we obtain some formulas for its integer solutions.

2. The Pell Equation

x

2

Dy

2

=

k

2

In this section, we consider the solutions of Pell's equation x2Dy2 =k2

when k2.

Theorem 2.1 Let

x y1, 1

be the fundamental solu- tion of the Pell equation x2Dy2 =k2, and let

1 1

1 1 1

0

n n

n

u x Dy

v y x

             

 

  (1) for n1. Then the integer solutions of the Pell equation

2 2 = 2

xDy k are

x yn, n

, where

,

= 1, 1

n n

n n n n

u v

x y

kk

 

 

  (2)

Proof. We prove the theorem using the method of mathematical induction. For n= 1, we have from (1),

u v1, 1

 

= x y1, 1

which is the fundamental solution of

2 2 = 2

xDy k . Now, we assume that the Pell equation

2 2 2

=

(2)

2 2

2 2 1 1 2

1 1 = 2 4 =

n n

n n n

u Dv

x Dy k

k

 

  

 (3)

and we show that it holds for

x yn, n

. Indeed, by (1), it is easy to prove that

1 1 1 1

1 1 1 1 =

. =

n n n

n n n

u x u Dy v

v y u x v

 

 

 

 (4) Hence,

2 2 2 2 2 2 2 2

1 1 1 1 1 1 1 1

2 2

2 2 2 2 2

1 1 1 1 1 1 1 1

2 2

2 2 2 2

1 1 1 1 1 1 1 1

2 2 2 1 2 2 = n n

n n n

n n n n

n

n n n n

n

n n n n

n

n u Dv x Dy

k

x u Dy v D y u x v

k

x u x u Dy v D y v

k

D y u y u x v x v

k x u                              



2 2 2 2 2

1 1 1 1 1

2 2

2 2

1 1

2 2

1 1 2 2

=

n n n

n

n n

n

Dv Dy u Dv

k u Dv x Dy k            

Applying (3), it is easily seen that

2 2 2 4 2 2 2

1 1= =

n n

n n

u Dv kk k  .

hence we conclude that

2 2 2 2 2

1 1

= = .

n n

xDy xDy k

Therefore

x yn, n

is also a solution of the Pell equa- tion x2Dy2 =k2. Since n is arbitrary, we get all in- teger solutions of the Pell equation x2Dy2 =k2.

Corollary 2.2 Let

x x1, 2

is the fundamental solu-

tion of the Pell equation x2Dy2 =k2, then 1 1 1 1 1 1 1 1

= n n , = n n

n n

x x Dy y y x x y

x y k k       (5) and 1 1 1 1 . n n n n x x ky x y   

  (6)

Proof. By (1), we have un=x u1 n1Dy v1 n1 and 1 1 1 1

=

n n n

v y u x v by (2), we have un =kn 1xn

and

1

= n

n n

v ky . We get

1 1 1 1

= ,

n n n

u x u  Dy v

then,

1 2 2

1 1 1 1

=

n k n

n n n

kx x kx Dy ky witch gives

1 1 1 1

= n n .

n

x x Dy y x

k

  

In the other hand, we have

1 1 1 1

= ,

n n n

v y ux v

so

1 2 2

1 1 1 1

= ,

n k n

n n n

ky y kxx ky

witch implies

1 1 1 1

= n n .

n

y x x y y k    and hence 1 1 1 1

1 1 1 1 1 1 1 1

1 1

2 2

1 1 1 1 1 1 1 1 1 1

2 2

1 1 1

1 = = ( ) = = . n n

n n n n n n

n n n n

n n

n n n n n n

n n

x x

x y y x

y y

x x Dy y y x x y

y x

k k

x x y Dy y y x x x y

k

y x Dy

k ky                             

Theorem 2.3 Let

x y1, 1

be the fundamental solu-

tion of the Pell equation x2Dy2 =k2, then

x yn, n

satisfy the following recurrence relations

1 1 2 3

1 1 2 3

2

= 1

2

= 1

n n n n

n n n n

x x x x x

k

y x y y y

k                   (7)

for n4.

Proof. The proof will be by induction on n. Using (5), we have

2 2 2 2 2 2 1 1 1 1

2 1

2 1 1

2

2 =

x Dy x x k

x x k

k k k

y x y

k

  

   

(8)

Using (5) and (8), we get

2 2

1 1 1 1

1 2 1 2

3

2

2 2

2 2

1 1

1 1 1

2 2

1 1

2

1 2 1

2 2

1 1 1 1

2 1 2 1 2

3 1 2 1

2 2 2 2 2 2 2 = 2 3 2 2 4

= = 3

2 2

4

= = = 1

x x k Dy x

x x Dy y k k

x

k k

k

x x k

x x Dy k

k k k k k k x x k x x k k

y x k x y

y x x y k k

y y x

k k k

(3)

Then by (5) and (9), we find x4 and y4.

1 3 1 3 4

2 2 2 2

1 2 1 1 2 1

2 2 2 2 2

1 2 1 1 2 1

4 2 1 1 3

1 3 1 3 4

2 2

1 1 2 1 1 1 2 1

2 1 1 3 1

4 4

3 1

4 4

3 ( ) 1

8 8

4 4

3 1

8 4

x x Dy y x

k

x x Dy x

k k

k

x x x k x

k k

k

x x k

k k y x x y y

k

y x x x y x

k k

k

x y x

k k

 

   

   

   

   

  

 

   

   

 

 

So, we obtained

4 2

4 3 1 1

2

4 1 1 3 1

8 8

8 4

x x x k

k k

y x y x

k k

   



(10)

Now, replacing (8) and (9) in (7), one obtains

4 1 3 2 1

2 2

1 1 2 1 1 1

3 2

1 2 1 1 1 1

4 2 1 1 3

2

1 ( )

2 4 2

1 3

2 4 2

1 3

8 8

.

x x x x x

k

x x x x k x

k k k

x x x x k x

k k k

x x k

k k

 

 

 

 

     

  

     

  

   

  

  

and

4 1 3 2 1

2

1 1 2 1 1 1 1

2 1 1 3 1

2

1 ( )

2 4 2

1 1

8 4

.

y x y y y

k

x y x x y y

k k k

x y x

k k

 

 

 

 

   

 

    

 

 

which are the same formulas as in (10). Therefore (7) holds for n= 4.

Now, we assume that (7) holds for n4 and we show that it holds for n1.

Indeed, by (5) and by hypothesis we have

1 1

1

1 1 1 2 3

1 1 1 2 3

1 1 1 1 1 2 1 2 1

1 3 1 3

1

2

1 ( )

2

1 ( )

2 = 1

2 = 1

n n

n

n n n

n n n

n n n n

n n

x x Dy y x

k

x x x x x

k

k

Dy x y y y

k

k

x x Dy y x x Dy y

x

k k k

x x Dy y k

x k

  

  

   

 

 



 

 



 

 

 

 

   

   

 

xn xn1

xn2.

 

1 1 1

1 1 1 2 3

1 1 1 2 3

1 1 1 1 1 2 1 2 1

1 3 1 3

1

=

2

1 ( )

=

2

1 ( )

2 = 1

2 = 1

n n

n

n n n

n n n

n n n n

n n

y x x y y

k

y x x x x

k

k

x x y y y

k

k

y x x y y x x y

x

k k k

y x x y

k

x k

  

  

   

 



 

 



 

 

 

 

   

   

 

yn yn1

yn2

 

completing the proof.

3. The Negative Pell Equation

2 2 2

=

x

Dy

k

Theorem 3.1 Let

x y1, 1

be the fundamental solution

of the Pell equation x2Dy2 =k2, then the other so- lutions are

x2n1,y2n1

, where

2 1 2 1 2 1, 2 1 = 2 , 2 ,

n n

n n n n

u v

x y

k k

 

   

  (11)

for n0.

Proof. We prove the theorem using the method of mathematical induction. For n= 0, we have from (11),

u v1, 1

 

= x y1, 1

which is the fundamental solution of

2 2 2

=

xDyk . Now, we assume that the Pell equation

2 2 = 2

xDyk is satisfied for n0. So,

x2n1,y2n1

,

(4)

2 2

2 2 2 1 2 1 2

2 1 2 1= 4 =

n n

n n n

u Dv

x Dy k

k

 

 

  (12)

and we show that it holds for n1. Indeed, by (1), it is easily to seen that

2 3

2 3 1 1

2 3 1 1

2 2 1

1 1 1 1

1 1 1 1

2 2

2 1

1 1 1 1

2 2

2 1

1 1 1 1

2 2

1 1 2 1 1 1

1 0 1 0 1 2 0 2 2 n n n n n n n

u x Dy

v y x

x Dy x Dy

y x y x

u

x Dy Dx y

v

x y x Dy

x Dy u Dx y v

                                                               

2 1 2 2

1 1 2 1 1 1 2 1

2

n

n n

x y u x Dy v

           (13)

Hence, by (*), we have (x2n2)4D y( 2n2)4  k4

Therefore

x2n 1 1 ,y2n 1 1

=

x2n3,y2n3

is also a

solution of the Pell equation x2Dy2 =k2

. Since n

is arbitrary, we get all integer solutions of the Pell equa- tion x2Dy2 =k2

.

Corollary 3.2 Let

x x1, 2

is the fundamental solu-

tion of the Pell equation x2Dy2 =k2

, then

2 2

1 1 2 1 1 1 2 1

2 1 2

2 2

1 1 2 1 1 1 2 1

2 1 2

( ) 2

= ,

2 ( )

=

n n

n

n n

n

x Dy x Dx y y

x

k

x y x x Dy y

y k        

  (14)

and

2 1 2 1 1 1 2 1 2 1

= 2 .

n n n n x x x y y y     (15)

Proof. Using (1), we have

2 2

2n1= 1 1 2n1 2 1 1 2n1 uxDy u   Dx y v  and

2 2

2n1= 2 1 1 2n1 1 1 2n1

vx y u   xDy v  . By (11), we have

2

2 1= 2 1

n

n n

uk x  and 2 1= 2 2 1

n

n n

vk y  . We get

2 2

2n1= 1 1 2n1 2 1 1 2n1 uxDy u   Dx y v

then,

2 2 2 2 2 2 2

2 1= 1 1 2 1 2 1 1 2 1

n n n

n n n

k xxDy kx   Dx y ky

witch gives

2 2

1 1 2 1 1 1 2 1

2 1 2

2

= n n .

n

x Dy x Dx y y

x

k

 

 

In the other hand, we have

2 2

2n1= 2 1 1 2n1 1 1 2n1, vx y u   xDy v

so

2 2 2 2 2 2 2

2 1= 2 1 1 2 1 1 1 2 1,

n n n

n n n

k yx y kx   xDy ky

witch implies

2 2

1 1 2 1 1 1 2 1

2 1 2

2

= n n .

n

x y x x Dy y

y k      and hence

2 1 1

2 1 2 1 2 1 2 1

2 1 1

2 2

1 1 2 1 1 1 2 1

2 1 2

2 2

1 1 2 1 1 1 2 1

2 1 2

2 2

2 1 2 1

1 1 2

2 2 = 2 n n

n n n n

n n n n n n n n n n x x

x y y x

y y

x Dy x Dx y y

y k

x y x x Dy y

x k Dy x x y k                         

 

2

1 1 2

1 1

= 2

= 2 . k x y k x y  

 

2 2

2 2 2 2

2 2

1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1

2 2 2 3 2 3

2 3 2 3 4 4 4 4 4 4

2

2 2 2 2 2 2 2 2 2

1 1 2 1 1 1 1 1 2 1 2 1 1 1 2 1 4 4 2 2 * 4 4 =

n n n n

n n

n n n n n

n n n n

n

x Dy u Dx y v D x y u x Dy v

u Dv

x Dy

k k k

x Dy u Dx y x Dy u v D x y v

k                             

 

2

2 2 2 2 2 2 2 2

1 1 2 1 1 1 1 1 2 1 2 1 1 1 2 1 4 4

2 2 2 2

2 2

2 2 2 2 2 1 2 1 2 2 2 1 2 1

1 1 1 1 4 4 1 1 4 4

2 2

2

2 2 1 2 1 4

4 4

= 4 =

=

n n n n

n

n n n n

n n

n n

n

x Dy v Dx y x Dy u v Dx y u

k

u Dv u Dv

x Dy Dx y x Dy

k k u Dv k k                        

 4

 

2 2

4 4

1 1

=k k = k

(5)

Theorem 3.3 Let

x y1, 1

be the fundamental solu-

tion of the Pell equation x2Dy2 =k2, then

x yn, n

satisfy the following recurrence relations

2

2 1 2 1 2 1 2 3 2 5

2

2 1 2 1 2 1 2 3 2 5

4

= 1

4

= 1

n n n n

n n n n

x x x x x

k

y x y y y

k

   

   

 

 

  

 

(16)

for n3.

Proof. The proof will be by induction on n. Using (14), we have

2 2 2 2 2

1 1 1 1 1 1 1 1

3 2 2

2 2 2

1 1 1 2

1 1

2 2

2 3

= =

3 3 4

= = 3

x Dy x Dx y x x Dy

x

k k

x x x k

x x

k k

  

 

 

 

(17)

2 2 2 2 2 2

1 1 1 1 1 1 1 1 1

3 2 2

2 2

1 1 2

1 1

2 2

2 2

=

4 4

= = 1

x y x Dy y y x x Dy

y

k k

y x k

y x

k k

   

 

 

(18)

Using (14), (17) and (18), we get

2 2

2 2 2

2 2 1 1 1 2 1 1 1 2 1 2

1 1 3 1 1 3 4

5 2 2 2 1 2 1 1

4 4

3 2 1

2 4 4

= = = 5 5

4

x Dy x x Dx y x

x Dy x Dx y y k k k

x x x x

k k k k

   

 

 

 

 . (19)

2 2

2 2

2

2 2 1 1 1 1 1 1 1 2

2 2

1 1 3 1 1 3 4 2

5 2 2 2 1 2 1 1

4 4

2 3 1

2 4 4

= = = 3

4

x y x x Dy y x

x y x x Dy y k k k

y y x x

k k k k

   

 

 

 

 . (20)

Then by (19) and (20), we find x7 and y7.

2

2 2 4

2 2 1 1 2 1 2 1 1

1 1 5 1 1 5

7 2 2

2

4 2

1 1 2 1 2 1 1 2

6 4 2

1 1 1 1

2 2 4 2

4 4

5 5

2 4

4 4

2 3

4 4 16 28

= 14 7

4

k

x Dy x x x

x Dy x Dx y y k k

x

k k

k

Dx y y x x

k k k

x x x x

k k k k

  

 

 

 

  

 

  

 

 

 

  

 

2 4

2 2 1 1 2 1 2 1 1

1 1 5 1 1 5

7 2 2

2

2 2 4 2

1 1 2 1 2 1 1 2

6 4 2

1 1 1 1

2 2 4 2

4 4

2 5 5

2 4

=

4 4

3

4 4 16 4

= 5 6

4 k

x y x x x

x y x x Dy y k k

y

k k

k

x Dy y x x

k k k

y x x x

k k k k

  

 

  

 

  

 

 

 

 

  

 

So, we obtained

2

6 4 2

7 2 1 4 1 2 1 1

2

6 4 2

7 2 1 4 1 2 1 1

4 16 28

= 14 7

4

4 16 4

= 5 6

4 k

x x x x x

k k k

k

y y x x x

k k k

  

  

  

  

 

 

(21)

Now, replacing (17), (18), (19) and (20) in (16), one obtains

2

2 2 4 2

7 2 1 5 3 1 2 1 2 1 2 1 1 1 2 1 1

2

6 4 2

1 1 1 1

2 4 2

4 4 4 4 4

1 1 5 5 3

4

4 16 28

14 7

4

k

x x x x x x x x x x x x

k k k k k

k

x x x x

k k k

   

     

    

       

 

  

(6)

and

2

2 2 4 2 2

7 2 1 5 3 1 2 1 2 1 2 1 1 1 2 1 1

2

6 4 2

1 1 1 1

2 4 2

4 4 4 4 4

= 1 = 1 3 1

4

4 16 4

= 5 6

4

k

y x y y y x y x x y x y

k k k k k

k

y x x x

k k k

   

   

     

       

 

  

 

 

which are the same formulas as in (21). Therefore (16) holds for n= 3

Now, we assume that (16) holds for n3 and we show that it holds for n1.

Indeed, by (14) and by hypothesis we have

2 2

1 1 2 1 1 1 2 1

2 3 2

2 2 2 2

1 1 2 1 2 1 2 3 2 5 1 1 2 1 2 1 2 3 2 5

2 2

2 2 2

1 1 2 1 2 3 1 1 2 1 2 3 1 2

1

2 2

2

4 4

1 2 1

2 4

= 1

n n

n

n n n n n n

n n n n

x Dy x Dx y y

x

k

x Dy x x x x Dx y x y y y

k k

k k

x Dy x x Dx y y y x

x

k k

 

     

   

 

     

   

   

   

 

    

 

 

2

1 2 5 1 1 2 5 2

2 2 2 2

1 1 2 1 1 1 2 1 1 1 2 3 1 1 2 3

2 2

1 1

2 2 2 2

2 2 2 2

1 1 2 5 1 1 2 5 1 1 2 5 1 1 2 5

2 2

2

2 2

4 4

= 1 1

2 2

n n

n n n n

n n n n

Dy x Dx y y

k

x Dy x Dx y y x Dy x Dx y y

x x

k k k k

x Dy x Dx y y x Dy x Dx y y

k k

 

   

   

   

   

   

   

 

2 2

1 1 2 1 1 1 2 1

2 3 2

2

2 2 2

1 1 2 1 2 1 2 3 2 5 1 1 2 1 2 1 2 3 2 5

2 2

2 2

1 1 2 1 1 1 2 1 1 1

2 2

1 1

2 2 2

2 =

4 4

2 1 1

=

2 2

4 4

= 1 1

n n

n

n n n n n n

n n

x y x x Dy y

y

k

x y x x x x x Dy x x x x

k k

k k

x y x x Dy y x y

x x

k k k

 

     

 

 

 

   

 

   

 

   

   

2 2

2 3 1 1 2 3

2

2 2

1 1 2 5 1 1 2 5 2

1 2 1 2 3 2 5

2 2

2 4

= 1 .

n n

n n

n n n

x x Dy y

k

x y x x Dy y

x y y y

k k

 

 

  

 

 

 

 

completing the proof.

4. Acknowledgements

We would like to thank Saäd Chandoul and Massöuda Loörayed for helpful discussions and many remarks.

5. References

[1] A. Tekcan, “The Pell Equation 2 2

= 4

xDy  ,” Applied Mathematical Sciences, Vol. 1, No. 8, 2007, pp. 363-369. [2] P. Kaplan and K. S. Williams, “Pell’s Equation

2 2

= 1, 4

xmy   and continued fractions,” Journal of Number Theory, Vol. 23, 1986, pp. 169-182.

[3] K. Matthews, “The Diophantine Equation

2 2

= , > 0

xDy N D ,” Expositiones Mathematicae, Vol. 18, 2000, pp. 323-331.

[4] R. A. Mollin, A. J. Poorten and H. C. Williams, “Halfway to a Solution of 2 2

= 3

xDy  ,” Journal de Theorie des Nombres Bordeaux, Vol. 6, 1994, pp. 421-457.

(7)

187-200.

[6] A. S. Shabani, “The Proof of Two Conjectures Related to Pell's Equation 2 2

= 4

xDy  ,” International Journal of Computational and Mathematical Sciences, Vol. 2, No. 1, 2008, pp. 24-27.

References

Related documents

Most companies recruit for full-time and internship positions, but some indicate Co-Op as a recruiting priority, while not attending Professional Practice

The distributor may seek to limit the producer’s right to terminate until distributor has recouped its advance (assuming it has given the producer an advance.) Another

• Storage node - node that runs Account, Container, and Object services • ring - a set of mappings of OpenStack Object Storage data to physical devices To increase reliability, you

The algorithm will only match applicants employers preferred for NESP positions to NESP positions and applicants employers preferred for NETP positions to NETP positions. This way

In the previous sections, we dis- cuss the expectation that a neural network exploiting the fractional convolution should perform slightly worse than a pure binary (1-bit weights

Political Parties approved by CNE to stand in at least some constituencies PLD – Partido de Liberdade e Desenvolvimento – Party of Freedom and Development ECOLOGISTA – MT –

Electron micrographs of mannonamide aggregates from water (a-e) or xylene (f): (a and b) details of aged fiber aggregates of D-mannonamide 2 negatively stained

• Taxpayers subject to the provisions of Title II of the Income Tax Law (ITL) which have declared taxable income of $644,599,005 or more in the immediately preceding tax