Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SAMUEL A. HAMBLETON
Abstra
t. The
lassi
al method of
ontinued fra
tions is applied to nding
rational integer points of Pell
oni
s.
1.
Introdu tion
At least a few good ways of solving
oni
s for integer points are known [2, 3,
6, 7. In this arti
le we will explain how to apply the known methods of
ontinued
fra
tions to solving Pell
oni
s over Z. Pell equations have a long history. Pell
oni
s [3, 5, 4 are
ertain parti
ular Pell equations with a new interpretation: that
they are in many ways like ellipti
urves but simpler, for example without
omplex
multipli
ation among other properties.
= b + 4M.
b+
(3)
=
.
2
We will always use to refer to the unique algebrai
integer satisfying Eqn. (3).
Pell
oni
s [3, 5, 4 are ane
urves of genus 0 given by either of the equations
(4)
P : x2 + bxy My 2
2
C : H U
= 1,
= 4.
Sin
e the problem of solving P for a rational integer point P = (x, y) is equivalent
to nding a fundamental unit x + y of positive norm, and there is no need for
a
hange of variables in this
orresponden
e, we will be
ontent to
onsider Pell
oni
s in the form P , Eqn. (4).
In order to exhibit the group law for Pell
oni
s, we introdu
e the matrix
x My
(5)
NP = y x+by SL2 (Z).
Date : August 14, 2011.
2010 Mathemati
s Subje
t Classi
ation. Primary 11E16; Se
ondary 11R29.
Key words and phrases. Continued fra
tions, Pell
oni
s.
1These solutions are generally even more time
onsuming to implement than to fa
tor the dis
riminant of the bivariate polynomial of degree 2
on
erned. See [6.
1
S. HAMBLETON
The points of a Pell
oni
, dened over various rings and elds, form an abelian
group with the binary operation for P given by
(6)
P1 P2 = NP2 P1 = x1 x2 + My1 y2 , x1 y2 + x2 y1 + by1 y2 ,
f
P1 P2 = N1
P2 P1 = x1 x2 + bx1 y2 My1 y2 , x2 y1 x1 y2 ,
f
We use to denote subtra
tion. The identity of P is the point O = (1, 0). We
will not require Eqn.s (6) in the present arti
le, but everyone should know of the
existen
e of the binary operation .
2.
Now that we are familiar with the main obje
t, the Pell
oni
, we pro
eed towards
our goal. We show how to nd the fundamental solution to P(Z) using simple
ontinued fra
tions. The idea is to write
1
(7)
= a0 +
,
a 1 + a2 + 1 1
a3 +...
so that a1 =
sequen
e.
1
1
= a1 +
,
1
a0
a2 + a3 +...
1
a0
Denition 2.1.
. Generally, the an
an be
omputed using the following
a0 = ,
j b + k
n
an =
,
cn
b0 = b,
c0 = 2,
bn+1 = an cn bn ,
cn+1 =
b2n+1
,
cn
is the
ontinued fra
tion [a0 ; a1 , . . . ] of . The least positive integer k su
h that for
all integers n > 1, an = an+k , is the period length of the
ontinued fra
tion of .
The fa
t that the period length k exists, a quadrati
irrational has a periodi
ontinued fra
tion, is due to Lagrange [2. We refer to Mollin [8 for the following
theorem, whi
h may be proved by indu
tion. The n-th
onvergent of the
ontinued
fra
tion of is the nite
ontinued fra
tion
pn
(8)
= [a0 ; a1 , . . . an ],
qn
with g
d(pn , qn ) = 1.
Theorem 2.2.
n 2,
p 0 = a0 ,
q0 = 1,
p1 = a1 a0 + 1,
q1 = a1 ,
pn = an pn1 + pn2 ,
qn = an qn1 + qn2 .
bn +
n = [an ; an+1 , . . . ] =
,
cn
(10)
satisfy
(11)
n+1 pn pn1
.
n+1 qn qn1
One may easily dedu
e from Eqn.s (9) and (11) that
1
(12)
p2n bpn qn Mqn2 = cn+1 (1)n+1 .
2
The well known result whi
h applies
ontinued fra
tions to nding the fundamental unit of the quadrati
number eld K began with the work of William
Broun
ker, and Joseph Lagrange [2. In
identally, Davenport [1 gives an a
ount
of Broun
ker's solution. Of
ourse the
on
ept of a number eld was formally developed later. The proof of Theorem 2.3 is similar to that whi
h is found in [1, on
the solution to x2 N y 2 = 1.
(13)
The identity, Eqn. (11), is
(14)
=
=
[ak ; a1 , a2 , . . . ],
ak + a0 .
k pk1 pk2
,
k qk1 qk2
(ak + a0 )pk1 pk2
.
(ak + a0 )qk1 qk2
Multiplying Eqn. (14) by the denominator (ak + a0 )qk1 qk2 , and repla
ing
2 = b + M, we obtain
(15)
pk2
(17)
qk2
= (ak a0 )pk1 Mqk1 ,
= (ak a0 + b)qk1 pk1 .
Substituting Eqn.s (16) and (17) into the identity of Eqn. (9), we have
(1)k1
2
= p2k1 bpk1 qk1 Mqk1
,
2
= (pk1 bqk1 )2 + b(pk1 bqk1 )qk1 Mqk1
.
S. HAMBLETON
This shows that (pk1 bqk1 , qk1 ) P(Z) if k is even, and ((pk1 bqk1 )i, qk1 i)
P(Z[i]) if k is odd, whi
h
orresponds to a unit of Z[]. We have not shown that
this unit is fundamental. We
an
he
k exhaustively that we have a fundamental
unit for ea
h fundamental dis
riminant 0 < < 13. We quote a well known result
whi
h
an be found in [8, 9.
If is irrational and there exists a rational number ab with b 1 satisfying
| a/b| < 1/2b2,
A
knowledgments
The author would like to thank Keith Matthews for indi
ating some of the referen
es and
pointing out that the
ontinued fra
tion of should be evaluated rather
than of .
Referen
es
1. H. Davenport, The higher arithmeti
: an introdu
tion to the theory of numbers,
Cambridge University Press, (1999).
2. Lagrange, Solution d'un problme
drithmtique, Oeuvres de Lagrange, t. 1, 671732, Available via the University of Goettingen library :
http://gdz.sub.uni-goettingen.de/dms/load/pdf/
3. F. Lemmermeyer, Higher des
ent on Pell
oni
s III The rst 2-des
ent,
arXiv:math/0311310v1, (2003)
4. F.
Lemmermeyer,
Coni
s A poor man's ellipti
urves,
arXiv:math/0311306v1, (2003), available at:
http://www.fen.bilkent.edu.tr/~franz/publ/
oni
s.pdf
5. F. Lemmermeyer, Modular Pell
oni
s, preprint available at:
http://www.rzuser.uni-heidelberg.de/~hb3/publ-new.html
6. H. Lenstra Jr., Solving the Pell equation, Noti
es of the AMS, 49, 2 (2002).
7. K. Matthews, The Diophantine equation ax2 +bxy+cy 2 = N , D = b2 4ac > 0,
Journal de Thorie des Nombres de Bordeaux, 14, (2002), 257270.
8. R. Mollin, Fundamental number theory with appli
ations, Chapman and Hall/CRC (2008).
9. I. Niven, H. Zu
kerman, An introdu
tion to the theory of numbers, John Wiley
and Sons In
. (1972).
S
hool of Mathemati
s and Physi
s, University of Queensland, St. Lu
ia, Queensland, Australia 4072,
https://sites.google. om/site/samuelhambleton/