Almost 4000 years ago, Babylonians had discovered the following approximation to. x 2 dy 2 =1, (5.0.2)

Size: px
Start display at page:

Download "Almost 4000 years ago, Babylonians had discovered the following approximation to. x 2 dy 2 =1, (5.0.2)"

Transcription

1 Chater 5 Pell s Equation One of the earliest issues graled with in number theory is the fact that geometric quantities are often not rational. For instance, if we take a right triangle with two side lengths equal to, the hyootamus has length, which is irrational. But how can we do arithmetic with irrational numbers? Well, erhas the most basic thing is to work with rational aroximations. Almost 4000 years ago, Babylonians had discovered the following aroximation to : = = (5.0.) 600 In this chater we ll exlain how find the (integer) solutions to Pell s equation: x dy =, (5.0.) and how gives us good aroximations to d (see Proosition 5..3). Following Stigler s law of eonomy, Pell s equation was studied by the Indian mathematician and astronomer Brahmaguta in 68 (who discovered the comosition law Proosition 5..) and with a general method of solution by another Indian mathematician and astronomer, Bhaskara II, in 50. In Euroe, methods for solving Pell s equation were rediscovered hundreds of years later by Fermat and Lord Brouncker. Euler misattributed Lord Brouncker s solution after reading a discussion of Lord Brouncker s method written by the English mathematician John Pell (6 685). Throughout this chater d> is a ositive integer which is not a square. 5. Units and Pell s equation Recall that a unit u of Z[ d] was defined to be an element such that u has a multilicative inverse u Z[ d] (i.e., the real number u 6= 0and u Z[ d]). Further, by Lemma.., we know that x + y d Z[ d] (x, y, Z) isaunitifandonlyif N(x + y d)=(x + y d)(x y d)=x dy = ±. That no scientific discovery is named after it s first discoverer. The Pythagorean theorem is another famous examle. Of course there are many counterexamles to Stigler s law as well. Aroriately, Stigler s law itself is not. 30

2 Thus solutions to Pell s equation (5.0.) are in natural bijection with the units of Z[ d] with norm. On the other hand, we also know by Proosition that the set of units U = U d = Z[ d] of Z[ d] form an (abelian) grou. We also denote by U + = U + d the set of units in U = U d of norm, so we can think of the solutions to Pell s equation as the subgrou U + of U. Exercise 5... Check that U + is indeed a subgrou of U. This grou structure will hel us determine the set of solutions to Pell s equation. First, we have the following, which is similar to the comosition law for sums of two squares. Proosition 5... (Comosition law) If (x,y ) and (x,y ) are solutions to x dy = m, x dy = n. Then the comosition of these solutions defined by (x 3,y 3 )=(x,y ) (x,y ):=(x x + dy y,x y + y x ) (5..) is a solution of x 3 dy 3 = mn. Proof. We simly translate the above into a statement about norms. The hyothesis says N(x + y d)=m and N(x + y d)=n. Now observe that (x + y d)(x + y d)=x x + ny y +(x y + y x ) d = x 3 + y 3 d. Hence by the multilicative roerty of the norm, x 3 dy 3 = N(x 3 + y 3 d)=n(x + y d)n(x + y d)=mn. In articular, when m = n =, this says that we can comose two solutions to Pell s equation to get a third solutions. We can also comose two solutions to x dy = to get a solution to x dy =+. Both of these are summarized in this corollary. Corollary 5... Let u = x + y d and u = x + y d be units of Z[ d]. IfN(u )= N(u ),thenthecomosition(x,y ) (x,y ) defined in Eq. (5..) also a solution to Pell s equation (5.0.). The following should be obvious if you ve had an algebra class, but since we never covered isomorhisms, I m not entirely sure if this is obvious to you: 3

3 Exercise 5... Let G Z Z be the set of solutions to Pell s equation (5.0.). Show that the comosition law Eq. (5..) makes G into a grou. (Note the above corollary just says comosition is a binary oeration on G.) Now that we know the comosition law, the hoe is that if we can determine a few good solutions to Pell s equation, then maybe we can generate all solutions by comosing those we know. Moreover, ideally these good solutions should be the smallest nontrivial solutions to Pell s equation. By the trivial solutions to Pell s equation, we mean the obvious ones: (x, y) =(±, 0), which corresond to the elements of U + which lie in Z, i.e., ±. Examle 5... Consider d =. Note (, ) is a solution to x y =. The comosition (, ) (, ) = (3, ) is a nontrivial solution to Pell s equation x y =. Similarly, we comute (3, ) (3, ) = (7, ) and (3, ) (7, ) = (99, 70). Hence (3, ), (7, ) and (99, 70) are three nontrivial solutions to x y =. Exercise Find a nontrivial solution to x more (distinct) solutions to x 3y =. 3y =.Usecomositiontofindtwo We remark that in the case of d =3,unliked =, there are no units of norm fact, the following more general statement is true.. In Exercise Suose d 3 mod 4. Show Z[ d] has no units of norm, i.e., U d = U + d. The converse to the revious exercise does not hold, i.e., there may or may not be a unit of norm when d 6 3 mod 4. We ve seen there is such a unit when d =. The next exercise gives you an examle where there isn t a unit of norm but d 6 3 mod 4. Exercise Show that Z[ 6] has no units of norm. In general, it is an oen roblem to determine for what d there are units of norm in Z[ d]. It s not clear that there is a nice answer to this roblem, but there results about how often Z[ d] has units of norm. 5. Aroximation and existence of solutions At the end of the last section we saw that there are nontrivial solutions to Pell s equation when d =, 3. Next we will rove the existence of a non-trivial solution for all nonsquare d, which is originally due to Lagrange in 768. However, the roof we will give is due to Dirichlet (ca. 840). It uses the igeonhole rincile. You ve robably at least seen the finite version in your Discrete Math class. 3

4 Pigeonhole rincile (finite version) If m>kigeons go into k boxes, at least one must box must contain more than igeon. (infinite version) If infinitely many igeons go into k boxes, at least one box must contain infinitely many igeons). Proosition 5... (Dirichlet s aroximation theorem) For any nonsquare d> and integer B>, thereexista, b N such that b<b and a b d < B. This says that a b d < bb B, which is a recise way of saying a b is close to d.e.g.,it says we can find a rational aroximation a b for which is accurate within 00,000 (so a b and agree to 5 decimal laces, after rounding if necessary ) with denominator b<00, 000. Such an examle was exhibited at the beginning of this chater in (5.0.). Proof. Consider the B irrational numbers d, d,..., (B ) d. For each such number k d ( ale k ale B ), let a k N be such that 0 <a k k d<. Partition the interval [0, ] into B subintervals of length B. Then, of the B +numbers 0,a d, a d,..., ab (B ) d, in [0, ] two of them must be in the same subinterval of length B. Hence they are less than distance B aart, i.e., their difference satisfies a b d < B. Further their irrational arts must be distinct, so we have B<b<Bwith b 6= 0.Ifb>0 we are done; if b<0, simly multily a and b by. Clearly we need a>0 for a b d <. Theorem 5... Suose d N is nonsquare. Then x i.e., there is a unit in Z[ d] of norm other than ±. dy =has a nontrivial solution, Proof. Ste. Fix B >. Then by Dirichlet s aroximation theorem, there exist a,b N such that a b d < B < b. Let B >b such that B < a b d. Alying Dirichlet s aroximation again, we get a new air (a,b ) of integers such that a + b d < B < b. For instance, and are within of each other, but their first three digits are only equal 000 after rounding to the nearest 4 digits. 33

5 Reeating this we see there an infinite sequence of distinct integer airs (a j,b j ) such that a j b j d gets smaller and smaller, and for all j a j b j d < b j.. Then a j b j is an infinite sequence of increasingly good aroximations to d. Ste. Assume (a, b) satisfies a b d < b.notethat a + b d ale a b d + b d ale+b d ale 3b d. Then a db = a + b d a b d ale3b d b =3 d. Hence there are infinitely many a 3 d. b d Z[ d] whose norm, in absolute values, is at most Ste 3. By successive alications of the (infinite) igeonhole rincile, we have: (i) infinitely many a b d with the same norm n Z, where n ale3 d (and n 6= 0) (ii) infinitely many a b d with norm n and a a 0 mod n for some a 0. (iii) infinitely many a b d with norm n, a a 0 mod n, b b 0 mod n for some b 0. Hence, relabeling if necessary, we have a,b,a,b N such that N(a b d) = N(a b d)=n, a a mod n, b b mod n, anda b d 6= ±(a b d). Ste 4. Consider := a b d = (a b d)(a + b d) a b d a db Note and = a a db b n a a db b a a db b a db 0 mod n, a b b a a b b a 0 mod n. + a b b a d. n Thus the coefficients of are integers, i.e., = a + b d Z[ d] where a, b Z. Then hen since a db = N(a + b d)=n(a b d)n (a b d) = nn =, i.e., (a, b) is a solution of x dy =. Furthermore, it is a nontrivial solution since a b d 6= ±(a b d). Exercise 5... Exlain how to modify the above roof to conclude the existence of infinitely many solutions to x dy =. Conclude the real quadratic rings Z[ d] (d > nonsquare) have infinitely many units, in contrast to the case of imaginary quadratic rings Z[ d]. 34

6 The above aroximations suggest how solutions to Pell s equation are related to rational aroximations to d. Proosition Suose (x, y) is a nontrivial solution to x dy =.Assumex, y > 0. Then 0 < x d< y y( + d) < y. Proof. Let = x y d Z[ d]. Then N( ) = =.Note = x + y d + d since x, y. Thus ale + d,so x y d = y < y( + d). Since and N( ) are ositive, so is, andthus y, which finishes the asserted bounds. This roosition says ositive solutions (x, y) to Pell s equation, i.e., units of norm +, giverationalaroximationsto d, and solutions with larger values of y give better aroximations. Furthermore, we are always getting overestimates for d. One can similarly get underestimates with units of norm, i.e., solutions to x dy =, at least when they exist. When they don t, one could instead look for solutions to x dy = or x dy = 3 etc. We remark the aroximation in (5.0.) corresonds to the solution (30547, 600) to x y = 79, though I m not suggesting Babylonians came u with this aroximation by starting with the equation x y = 79! Exercise 5... Suose (x, y) is solution to x dy = with x, y > 0. Show x y < d and rove a (good) bound for d x y in terms of y. Exercise Suose (x, y) is solution to x dy = with x, y > 0. Show x y < d and rove a (good) bound for d x y in terms of y. Examle 5... Recall from Examle 5.., (3, ), (7, ) and (99, 70) are solutions to x y =. This gives the following aroximations, with the following error bounds y from the above roosition: x x y decimal error bound y 3.5 < < <

7 Exercise Recall the solutions in the revious examle came from the first three owers n (n =,, 3) oftheunit =3 U +.However,noneofthesearoximations are better than the (more comlicated) Babylonian one (5.0.). Using a calculator, comute a few successive aroximations to from higher owers n, along with the exact error (u to several decimal laces). What is the first aroximation you get in this way that is better (i.e., closer to )thantheonein(5.0.). Exercise Using 3 nontrivial solutions to x 3y =you found in Exercise 5..3, give 3 rational aroximations to 3 with error bounds. Using a calculator, comute the actual error in these aroximations (e.g., you can make a table as in the examle above). 5.3 Fundamental units Here we determine the structure of the grou of units U d, which will give us a method for generating all solutions to Pell s equation. Definition The fundamental unit " d of Z[ d] is the smallest unit x+y d Z[ d] such that x, y > 0. The fundamental +unit " + d of Z[ d] is the smallest unit x + y d Z[ d] such that x, y > 0 and N( ) =. 3 In real quadratic rings, smallest means with resect to the usual order on R, unlikethe case of imaginary quadratic rings where we (artially) ordered elements by their norm. Lemma For any (nonsquare) d>, thefundamentalunit" d and the fundamental +unit " + d exist and are uniquely defined. Proof. Since < defines a strict ordering of real numbers, the condition of smallest guarantees that " d and " + d will be unique if they exist, so it suffices to show existence. Recall we always have a nontrivial solution (x 0,y 0 ) to x dy =from Theorem 5... Moreover, we can assume x 0,y 0 > 0. Nownoteifx + y d<" 0 = x 0 + y 0 d with x, y > 0, we must have x<" 0 and y< " 0 d. Hence n " d =min x + y d :alex, o dy < " 0, x + dy =. Since the set on the right is finite, this minimum is well defined, hence " d exists. The case of " + d follows in the same way, simly using the equation x dy =instead of x dy =. 3 Note that most discussions you will find about fundamental units talk about fundamental units in the ring of integers O d of Q( d). Here, assuming d is squarefree, O d is just Z[ d] when d 6 mod 4 but is Z[ + d ] when d mod 4 (recall Definition.5.5). So be careful comaring what we say here and what is written other laces about fundamental units, as there may be a slight difference when d mod 4, though there is no serious difference in the theory. E.g., when d =5a fundamental unit in Z[ 5] is + 5 but in O 5 it is + 5. On the other hand, the fundamental unit in O 7 = Z[ + 7 ] is the same as the fundamental unit in Z[ 7], namely" 7 =4+ 7. Also, the term fundamental +unit is not standard as far as I know, there is no standard term for the hrase the smallest unit of norm. 36

8 Here is a naive algorithm for finding " d or " + d. First, ick some bound N. Then range over all ale x, y ale N to look for solutions to x dy =or x dy =. If we found any, then the smallest solution (x, y) gives us " d or " + d as x + y d.ifnot,weicka larger N and reeat. This rocess terminates at some oint by the existence of " d and " + d. Examle When d =, " =+ and " + units in Examle 5... = " =3+.Wesawbothofthese Examle When d =5,wecomute" 5 =+ 5 and " + 5 = " 5 = Examle Consider d =7. Recall from Exercise 5..4 that Z[ 7] has no units of norm. Wecomute" 7 = " + 7 = Exercise Comute " d and " + d for d =3, 6,. Exercise An alternative definition of fundamental unit (res. +unit) is the smallest "> in Z[ d] such that N(") =)(res.n( ) =). Prove that this is equivalent to the above definition as follows. (Suggestion: Show that " = x + y d> aunitimlies " <, which imlies x, y > 0.) Theorem For d> nonsquare, U d (res. U + d ) is the infinite abelian grou generated by " d (res. " + d )and. Exlicitly, and U d =...,±" d, ±" d, ±, ±" d, ±" d,... U + d =...,±("+ d ), ±(" + d ), ±, ±" + d, ±("+ d ),..., and all the elements listed in the sets on the right are distinct, i.e., " m d = ±"n d for m, n Z (res. (" + d )m = ±(" + d )n )ifandonlyifm = n and the lus/minus sign is +. Proof. We know U d and U + d are abelian grous by Proosition and Exercise 5... Thus U d and U + d must contain all the elements in the sets on the right. Write G denote U d or U + d, and let " denote " d or " + d, according to whether G = U d or G = U + d. Since ">, the sequence "n (n 0) is a strictly increasing sequence lying in [, ), and" n (n>0) is a strictly decreasing sequence lying in (0, ). From this one easily sees that all elements in the above sets on the right are distinct. Finally, we show any G Z[ d] is of the form ±" n for some n Z. Suose there is some which is not of this form. By taking the negative and/or inverse if necessary, we may assume >. Since " is the smallest element of G larger than (Exercise 5.3.) and " n!as n!, there must be some n>0 such that " m < <" m+. But then < " m <"and N( " m )=, contradicting the minimality of ". 37

9 Note that for any unit u U d, N(u) =uu = ± imlies u is either u or u, according to whether N(u) =or N(u) =. In articular, if (" + d )n = x n + y n d, then (" + d ) n = (" + d )n = x n y n d. Hence the above theorem says that once we find " + d, we can comute all elements of U + d by comuting (" + d )n = x n + y n d, n. Then the elements of U + d are n = {±}[ o ±x n ± y n d : n, (5.3.) U + d where we read the ± signs in ±x n ± y n indeendently. (A similar statement is also true for U d.) This immediately gives our desired descrition of solutions to (5.0.). Corollary For n, write(" + d )n = x n +y n d for n (with xn,y n Z). Then all solutions to Pell s equation x dy =are the trivial solutions (±, 0) and the nontrivial solutions (±x n, ±y n ) for n. Via Proosition 5..3, this gives us the following sequence of aroximations x n y n d of d. To rove that these aroximations are getting better (at least asymtotically), by this roosition we want to rove the y n s are increasing. Exercise With x n,y n as above, show the sequences (x n ) and (y n ) are strictly increasing sequences for n. Deducethatthesequence xn y n converges to d. Using the above theorem, we can also relate " d and " + d now. Exercise For d> anonsquare,show" + d = " d if Z[ d] has units of norm, and " + d = " d otherwise. Deduce in articular that " d ale " + d. Hence if we solve the roblem of finding the fundamental unit " d,wealsoknowthe fundamental +unit " + d. Since " d ale " + d, even if our goal is to comute "+ d, it may often be easier algorithmically to look for " d first, since the x and y aearing in the reresentation x + y d can be much smaller. Examle Consider d = 9. Then by the naive algorithm for finding fundamental units, we can check " 9 = , which has norm. Thus " + 9 = " 9 = , butthiswouldrequiremanymorecalculationstofindsolelybythenaive algorithm. Here s another consequence of the structure theorem for U d (or, if you refer, the revious exercise): if Z[ d] has no units of norm, we can rove this algorithmically by comuting " d and checking it has norm. For then ±" n d also has norm for all n, i.e., U d = U + d. 38

10 5.4 Continued fractions In the last section, we described how to find all solutions to Pell s equation in terms of the fundamental +unit " + d. Earlier, we also resented a naive algorithm to comute " d and " + d. The roblem is that as d gets even moderately large, the naive algorithm is not very efficient. This is already suggested by the case of d = 9 in Examle Here is a more imressive examle: Examle When d = 6, " + d = , i.e., the smallest ositive nontrivial solution to x 6y =is ( , ). The above examle was discovered by Bhaskara II in the th century in India, and indeendently (much later) rediscovered by Fermat in Euroe. How can one find such solutions, esecially without owerful comuting devices? The answer come from an alternative reresentation of numbers, not as decimals, but as continued fractions. First we exlain the continued fraction exansion with an examle. Examle Consider a b remainder: = a b = 3 5, which we write as a whole number lus a a b = 3 5 =+3 5. Now we can t exactly reeat this on the remainder, but we can on its recirocal: Thus we have a b := 5 3 =+ 3. a b =+ 3/ = Now reeat again with the recirocal of the remainder in a b : If we do this again, we get: a 3 b 3 := 3 =+. a 4 b 4 = =, a rational with no remainder, and so we sto. This leads to the following exression: a b = 3 5 = + + +, which we call the continued fraction exansion of 3 5.Notethatbecauseateachstagewe are taking recirocals, we ll see a sequence of s going down, and all that matters are the 39

11 numbers in the boxes. To simlify notation, we will also write this as [,,, ] = =+ + + Definition Let x R. Thecontinued fraction exansion of x is the exression [q,q,q 3,...]=q + q + q 3 + where q Z and q j Z 0 for j are defined as follows: q = bxc is the greatest integer ale x, so0aler < where r = x q ; for j, inductivelyset q j+ = so r j+ := r j q j satisfies 0 ale r j+ <. ( b r j c(the greatest integer ale r j ) r j 6=0 0 r j =0, If r j =0for all j > m, we also write the continued fraction exansion as the finite sequence [q,...,q m ] = q + q + q 3 + q m, in which case we call the continued fraction exansion finite. The q j and r j is used to make you think that these quantities are like quotients and remainders (which they are if x is rational). The rounding down function x 7! bxc (also often denoted by x 7! [x]) is called the greatest integer function or the floor function. Note for any x R, there is a unique continued fraction exansion [q,q,...]. Moreover, since at each ste 0 ale r j <, the recirocal will be at least if r j 6=0,andsoq j+ =0if and only if r j =0. Exercise Comute the continued fraction exansion of Exercise Let x R, and[q,q,...] be the continued fraction exansion. Let (x n ) denote the sequence of rational numbers by evaluation the artial continued fraction exansions: x n = q + q qn Show lim n! x n = x. Exercise For x R, showthecontinuedfractionexansionforx is finite if and only if x Q. 40

12 Examle Let s comute the continued fraction exansion [q,q,...] of 5. First set q = b 5c =, r = 5, so at the first stage our exansion looks like 5=q + r =+( 5 ) = + /( 5 ). The nice thing about quadratic numbers is we can rationalize the denominator in 5 by multilying by the conjugate (in Z[ 5]) ofthedenominator. NoteN(r )=r r = N( + 5) = 4 5=, so r = r =+ 5,i.e., So at the next stage we let = =+ 5. r 5 q = b+ 5c =4, r =+ 5 q = 5 =r. Thus at the next stage, we have the exansion 5= Since r = r,weseethatq 3 = q,sor 3 = r = r,andsoon. Sothesecomutations simly reeat, and we will have q j =4for all j, givingthecontinuedfractionexansion 5=[, 4, 4, 4,...]= Examle Now let s try finding the continued fraction exansion of 3. At the first stage we have q = b 3c =, r = 3. Then So Then So 3+ = = + 3. r 3 3+ q = b + 3 c =, r = = =+ 3. r =. q 3 = b+ 3c =, r 3 = 3 =r. 4

13 Since r 3 = r,wemustreeatafterthis,i.e.,q 4 = q, r 4 = r,andsoon,givingusthe continued fraction exansion 3=[,,,,,,,,,...]= Notice the above continued fraction exansions reeat. We make this notion recise as follows. Definition We say a continued fraction exansion [q,q,...] is eriodic if there exist s 0 and m N such that [q,q,...]=[q,...,q s,q s+,...,q s+m,q s+,...,q s+m,q s+,...,q s+m,...], i.e., if q j+m = q j for all j>s.inthiscase,wedenotethisexansionby [q,...,q s, q s+,...,q s+m ]. If the exansion is eriodic, the smallest such m for which the above condition holds (for some s) iscalledtheeriod of [q,q,...]. For instance, the examles above say 5=[, 4] is eriodic with eriod and 3= [,, ] is eriodic with eriod. Since any rational number has continued fraction exansion of the form [q,...,q s, 0], any rational number has a eriodic continued fraction exansion with eriod. Note eriodic continued fractions can be secified by a finite amount of data. Theorem (Lagrange). For any x R, thecontinuedfractionexansionofx is eriodic if and only if x Q( d) for some d. Inarticularthecontinuedfractionexansionof any element of Z[ d] is eriodic. Due to lack of time, we won t rove this. But the idea of the roof for the if direction is that at each stage in the continued fraction exansion, the quantities r j will be elements of Q( d) satisfying certain conditions, and then showing that there are only finitely many ossibilities, so for some j, m, wehaver j+m = r j by the igeonhole rincile. The only if direction is easier. For simlicity, we just illustrate the secial case s =0, so x =[q,...,q m ] (what is called urely eriodic). Consider =[q,...,q m ] Q. Then Then so taking recirocals shows i.e., x = + x = , + x = = x, =(x )x = x x, so x satisfies the quadratic equation x x =0with rational coefficients, from which it follows x Q( d) where d = +4. 4

14 Exercise Comute the continued fraction exansion of. Exercise Comute the continued fraction exansion of 7. Now we exlain (without roof) the connection with Pell s equation and fundamental units. Assume d> is squarefree, and write d =[q,...,q s, q s+,...,q s+m ] where s and m are chosen minimally so we can reresented this continued fraction eriodically. In articular m is the eriod. Consider the artial continued fraction exansions [q,...,q n ]. These are rational numbers, so we write them as x n y n =[q,...,q n ], x n,y n N, gcd(x n,y n )=. As they converge to d (Exercise 5.4.), we call (x n,y n ) the n-th convergent of the continued fraction. Theorem For d> squarefree, let (x n,y n ) be the n-th convergent in the continued fraction exansion of d. Then x m + y m d is the fundamental unit "d,wherem is the eriod of this continued fraction. More generally, x km + y km d is " k d for k. So in summary, we used units in real quadratic fields to determine all solutions to Pell s equation in terms of " d. Now we know how to comute " d in terms of continued fractions, and thus determine all solutions to Pell s equation. Moreover, this allows us to construct good rational aroximations to d. Of course, using continued fractions directly gives us rational aroximations to d, but in some sense the ones coming from solutions to Pell s equation (or x dy = ) are otimal in that they will have minimal remainder (see Proosition 5..3). (We also haven t roved that the continued fraction convergents give us good rational aroximations, though one can rove this.) Examle Recall 5=[, 4], which has eriod. So we look at the first convergent is given by x y =[q ] = [] = so the theorem says " 5 =+ 5, which matches with Examle Examle Recall =[,, ], which has eriod. Thus the second convergent is given by x y =[, ] = + =, so the theorem says " 3 =+ 3, which matches what you should have got in Exercise

15 Exercise Use the continued fraction exansion of 7 to comute " 7 (see also Examle 5.3.3). Then obtain a rational aroximation to 7 accurate to within 00. Exercise Use the continued fraction exansion of 9 to comute " 9. Use " 9 to obtain a rational aroximation to 9 accurate to within 000. (You may use a calculator.) Exercise Use continued fractions to obtain the exression for " + 6 asserted in Examle (Youmayuseacalculator.) 5.5 Aftermission: fundamental units and Fibonacci numbers We close this chater with an amusing connection with fundamental units and Fibonacci numbers, following ideas that we used to solve Pell s equation. The golden ratio = + 5 is the fundamental unit for the full ring of integers Z[ + 5 ]. For x, y Z, note N(x + y + 5 )=(x + y + 5 )(x + y 5 )=x + xy y. This exression is a binary quadratic form, which we also denote Q(x, y) =x + xy y. Recall the Fibonacci numbers F n are defined by F = F =,F n+ = F n+ + F n, n. Exercise Show the Fibonacci numbers satisfy F n+ +=F n+ F n+ + F n+. Put another way, the exercise says that (F n+,f n+ ) are solutions to Q(x, y) =, which is an analogous equation to Pell s equation. In other words F n+ + F n

16 is a unit of norm in Z[ + 5 ]. Note the golden ratio has norm, butitsquare" = = 3+ 5 has norm (i.e., is the fundamental +unit in Z[ + 5 ]. Then we can write " = 3+ 5 =+ + 5 Comuting a coule of owers of ", we see + 5 = F + F. " = = = F 3 + F 4, " 3 = This is art of a general rule. = = F 5 + F 6. Exercise Comute " 4 directly and then check that " 4 = F 7 + F Exercise Prove that " n = F n + F n for n. The above exression gives a way to comute Fibonacci numbers. While it s not exactly resented as a formula for F n, you robably noticed in the calculations above you immediately see F n as the coefficient b in the exression " n = a+b 5, and then a is just b +F n. One can rewrite these calculations into a well-known formula for F n : Exercise Prove that F n = n n for n. 45

Math 104B: Number Theory II (Winter 2012)

Math 104B: Number Theory II (Winter 2012) Math 104B: Number Theory II (Winter 01) Alina Bucur Contents 1 Review 11 Prime numbers 1 Euclidean algorithm 13 Multilicative functions 14 Linear diohantine equations 3 15 Congruences 3 Primes as sums

More information

Elementary Analysis in Q p

Elementary Analysis in Q p Elementary Analysis in Q Hannah Hutter, May Szedlák, Phili Wirth November 17, 2011 This reort follows very closely the book of Svetlana Katok 1. 1 Sequences and Series In this section we will see some

More information

MATH 2710: NOTES FOR ANALYSIS

MATH 2710: NOTES FOR ANALYSIS MATH 270: NOTES FOR ANALYSIS The main ideas we will learn from analysis center around the idea of a limit. Limits occurs in several settings. We will start with finite limits of sequences, then cover infinite

More information

2 Asymptotic density and Dirichlet density

2 Asymptotic density and Dirichlet density 8.785: Analytic Number Theory, MIT, sring 2007 (K.S. Kedlaya) Primes in arithmetic rogressions In this unit, we first rove Dirichlet s theorem on rimes in arithmetic rogressions. We then rove the rime

More information

2 Asymptotic density and Dirichlet density

2 Asymptotic density and Dirichlet density 8.785: Analytic Number Theory, MIT, sring 2007 (K.S. Kedlaya) Primes in arithmetic rogressions In this unit, we first rove Dirichlet s theorem on rimes in arithmetic rogressions. We then rove the rime

More information

HENSEL S LEMMA KEITH CONRAD

HENSEL S LEMMA KEITH CONRAD HENSEL S LEMMA KEITH CONRAD 1. Introduction In the -adic integers, congruences are aroximations: for a and b in Z, a b mod n is the same as a b 1/ n. Turning information modulo one ower of into similar

More information

Math 4400/6400 Homework #8 solutions. 1. Let P be an odd integer (not necessarily prime). Show that modulo 2,

Math 4400/6400 Homework #8 solutions. 1. Let P be an odd integer (not necessarily prime). Show that modulo 2, MATH 4400 roblems. Math 4400/6400 Homework # solutions 1. Let P be an odd integer not necessarily rime. Show that modulo, { P 1 0 if P 1, 7 mod, 1 if P 3, mod. Proof. Suose that P 1 mod. Then we can write

More information

3 Properties of Dedekind domains

3 Properties of Dedekind domains 18.785 Number theory I Fall 2016 Lecture #3 09/15/2016 3 Proerties of Dedekind domains In the revious lecture we defined a Dedekind domain as a noetherian domain A that satisfies either of the following

More information

MATH 3240Q Introduction to Number Theory Homework 7

MATH 3240Q Introduction to Number Theory Homework 7 As long as algebra and geometry have been searated, their rogress have been slow and their uses limited; but when these two sciences have been united, they have lent each mutual forces, and have marched

More information

MATH 361: NUMBER THEORY EIGHTH LECTURE

MATH 361: NUMBER THEORY EIGHTH LECTURE MATH 361: NUMBER THEORY EIGHTH LECTURE 1. Quadratic Recirocity: Introduction Quadratic recirocity is the first result of modern number theory. Lagrange conjectured it in the late 1700 s, but it was first

More information

Intrinsic Approximation on Cantor-like Sets, a Problem of Mahler

Intrinsic Approximation on Cantor-like Sets, a Problem of Mahler Intrinsic Aroximation on Cantor-like Sets, a Problem of Mahler Ryan Broderick, Lior Fishman, Asaf Reich and Barak Weiss July 200 Abstract In 984, Kurt Mahler osed the following fundamental question: How

More information

ANALYTIC NUMBER THEORY AND DIRICHLET S THEOREM

ANALYTIC NUMBER THEORY AND DIRICHLET S THEOREM ANALYTIC NUMBER THEORY AND DIRICHLET S THEOREM JOHN BINDER Abstract. In this aer, we rove Dirichlet s theorem that, given any air h, k with h, k) =, there are infinitely many rime numbers congruent to

More information

MA3H1 TOPICS IN NUMBER THEORY PART III

MA3H1 TOPICS IN NUMBER THEORY PART III MA3H1 TOPICS IN NUMBER THEORY PART III SAMIR SIKSEK 1. Congruences Modulo m In quadratic recirocity we studied congruences of the form x 2 a (mod ). We now turn our attention to situations where is relaced

More information

Representing Integers as the Sum of Two Squares in the Ring Z n

Representing Integers as the Sum of Two Squares in the Ring Z n 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 17 (2014), Article 14.7.4 Reresenting Integers as the Sum of Two Squares in the Ring Z n Joshua Harrington, Lenny Jones, and Alicia Lamarche Deartment

More information

(Workshop on Harmonic Analysis on symmetric spaces I.S.I. Bangalore : 9th July 2004) B.Sury

(Workshop on Harmonic Analysis on symmetric spaces I.S.I. Bangalore : 9th July 2004) B.Sury Is e π 163 odd or even? (Worksho on Harmonic Analysis on symmetric saces I.S.I. Bangalore : 9th July 004) B.Sury e π 163 = 653741640768743.999999999999.... The object of this talk is to exlain this amazing

More information

RECIPROCITY LAWS JEREMY BOOHER

RECIPROCITY LAWS JEREMY BOOHER RECIPROCITY LAWS JEREMY BOOHER 1 Introduction The law of uadratic recirocity gives a beautiful descrition of which rimes are suares modulo Secial cases of this law going back to Fermat, and Euler and Legendre

More information

Chapter 7 Rational and Irrational Numbers

Chapter 7 Rational and Irrational Numbers Chater 7 Rational and Irrational Numbers In this chater we first review the real line model for numbers, as discussed in Chater 2 of seventh grade, by recalling how the integers and then the rational numbers

More information

MAS 4203 Number Theory. M. Yotov

MAS 4203 Number Theory. M. Yotov MAS 4203 Number Theory M. Yotov June 15, 2017 These Notes were comiled by the author with the intent to be used by his students as a main text for the course MAS 4203 Number Theory taught at the Deartment

More information

A Curious Property of the Decimal Expansion of Reciprocals of Primes

A Curious Property of the Decimal Expansion of Reciprocals of Primes A Curious Proerty of the Decimal Exansion of Recirocals of Primes Amitabha Triathi January 6, 205 Abstract For rime 2, 5, the decimal exansion of / is urely eriodic. For those rime for which the length

More information

Sums of independent random variables

Sums of independent random variables 3 Sums of indeendent random variables This lecture collects a number of estimates for sums of indeendent random variables with values in a Banach sace E. We concentrate on sums of the form N γ nx n, where

More information

MATH342 Practice Exam

MATH342 Practice Exam MATH342 Practice Exam This exam is intended to be in a similar style to the examination in May/June 2012. It is not imlied that all questions on the real examination will follow the content of the ractice

More information

By Evan Chen OTIS, Internal Use

By Evan Chen OTIS, Internal Use Solutions Notes for DNY-NTCONSTRUCT Evan Chen January 17, 018 1 Solution Notes to TSTST 015/5 Let ϕ(n) denote the number of ositive integers less than n that are relatively rime to n. Prove that there

More information

Number Theory Naoki Sato

Number Theory Naoki Sato Number Theory Naoki Sato 0 Preface This set of notes on number theory was originally written in 1995 for students at the IMO level. It covers the basic background material that an IMO

More information

Characteristics of Fibonacci-type Sequences

Characteristics of Fibonacci-type Sequences Characteristics of Fibonacci-tye Sequences Yarden Blausa May 018 Abstract This aer resents an exloration of the Fibonacci sequence, as well as multi-nacci sequences and the Lucas sequence. We comare and

More information

Algebraic Number Theory

Algebraic Number Theory Algebraic Number Theory Joseh R. Mileti May 11, 2012 2 Contents 1 Introduction 5 1.1 Sums of Squares........................................... 5 1.2 Pythagorean Triles.........................................

More information

Factorability in the ring Z[ 5]

Factorability in the ring Z[ 5] University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln Dissertations, Theses, and Student Research Paers in Mathematics Mathematics, Deartment of 4-2004 Factorability in the ring

More information

The Hasse Minkowski Theorem Lee Dicker University of Minnesota, REU Summer 2001

The Hasse Minkowski Theorem Lee Dicker University of Minnesota, REU Summer 2001 The Hasse Minkowski Theorem Lee Dicker University of Minnesota, REU Summer 2001 The Hasse-Minkowski Theorem rovides a characterization of the rational quadratic forms. What follows is a roof of the Hasse-Minkowski

More information

ON THE LEAST SIGNIFICANT p ADIC DIGITS OF CERTAIN LUCAS NUMBERS

ON THE LEAST SIGNIFICANT p ADIC DIGITS OF CERTAIN LUCAS NUMBERS #A13 INTEGERS 14 (014) ON THE LEAST SIGNIFICANT ADIC DIGITS OF CERTAIN LUCAS NUMBERS Tamás Lengyel Deartment of Mathematics, Occidental College, Los Angeles, California lengyel@oxy.edu Received: 6/13/13,

More information

Sets of Real Numbers

Sets of Real Numbers Chater 4 Sets of Real Numbers 4. The Integers Z and their Proerties In our revious discussions about sets and functions the set of integers Z served as a key examle. Its ubiquitousness comes from the fact

More information

(IV.D) PELL S EQUATION AND RELATED PROBLEMS

(IV.D) PELL S EQUATION AND RELATED PROBLEMS (IV.D) PELL S EQUATION AND RELATED PROBLEMS Let d Z be non-square, K = Q( d). As usual, we take S := Z[ [ ] d] (for any d) or Z 1+ d (only if d 1). We have roved that (4) S has a least ( fundamental )

More information

QUADRATIC RECIPROCITY

QUADRATIC RECIPROCITY QUADRATIC RECIPROCITY JORDAN SCHETTLER Abstract. The goals of this roject are to have the reader(s) gain an areciation for the usefulness of Legendre symbols and ultimately recreate Eisenstein s slick

More information

Practice Final Solutions

Practice Final Solutions Practice Final Solutions 1. True or false: (a) If a is a sum of three squares, and b is a sum of three squares, then so is ab. False: Consider a 14, b 2. (b) No number of the form 4 m (8n + 7) can be written

More information

Section 0.10: Complex Numbers from Precalculus Prerequisites a.k.a. Chapter 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative

Section 0.10: Complex Numbers from Precalculus Prerequisites a.k.a. Chapter 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative Section 0.0: Comlex Numbers from Precalculus Prerequisites a.k.a. Chater 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative Commons Attribution-NonCommercial-ShareAlike.0 license.

More information

Analysis of some entrance probabilities for killed birth-death processes

Analysis of some entrance probabilities for killed birth-death processes Analysis of some entrance robabilities for killed birth-death rocesses Master s Thesis O.J.G. van der Velde Suervisor: Dr. F.M. Sieksma July 5, 207 Mathematical Institute, Leiden University Contents Introduction

More information

CERIAS Tech Report The period of the Bell numbers modulo a prime by Peter Montgomery, Sangil Nahm, Samuel Wagstaff Jr Center for Education

CERIAS Tech Report The period of the Bell numbers modulo a prime by Peter Montgomery, Sangil Nahm, Samuel Wagstaff Jr Center for Education CERIAS Tech Reort 2010-01 The eriod of the Bell numbers modulo a rime by Peter Montgomery, Sangil Nahm, Samuel Wagstaff Jr Center for Education and Research Information Assurance and Security Purdue University,

More information

The Euler Phi Function

The Euler Phi Function The Euler Phi Function 7-3-2006 An arithmetic function takes ositive integers as inuts and roduces real or comlex numbers as oututs. If f is an arithmetic function, the divisor sum Dfn) is the sum of the

More information

QUADRATIC RECIPROCITY

QUADRATIC RECIPROCITY QUADRATIC RECIPROCITY JORDAN SCHETTLER Abstract. The goals of this roject are to have the reader(s) gain an areciation for the usefulness of Legendre symbols and ultimately recreate Eisenstein s slick

More information

Elliptic Curves Spring 2015 Problem Set #1 Due: 02/13/2015

Elliptic Curves Spring 2015 Problem Set #1 Due: 02/13/2015 18.783 Ellitic Curves Sring 2015 Problem Set #1 Due: 02/13/2015 Descrition These roblems are related to the material covered in Lectures 1-2. Some of them require the use of Sage, and you will need to

More information

Math 261 Exam 2. November 7, The use of notes and books is NOT allowed.

Math 261 Exam 2. November 7, The use of notes and books is NOT allowed. Math 261 Eam 2 ovember 7, 2018 The use of notes and books is OT allowed Eercise 1: Polynomials mod 691 (30 ts In this eercise, you may freely use the fact that 691 is rime Consider the olynomials f( 4

More information

Pell's Equation and Fundamental Units Pell's equation was first introduced to me in the number theory class at Caltech that I never comleted. It was r

Pell's Equation and Fundamental Units Pell's equation was first introduced to me in the number theory class at Caltech that I never comleted. It was r Pell's Equation and Fundamental Units Kaisa Taiale University of Minnesota Summer 000 1 Pell's Equation and Fundamental Units Pell's equation was first introduced to me in the number theory class at Caltech

More information

Series Handout A. 1. Determine which of the following sums are geometric. If the sum is geometric, express the sum in closed form.

Series Handout A. 1. Determine which of the following sums are geometric. If the sum is geometric, express the sum in closed form. Series Handout A. Determine which of the following sums are geometric. If the sum is geometric, exress the sum in closed form. 70 a) k= ( k ) b) 50 k= ( k )2 c) 60 k= ( k )k d) 60 k= (.0)k/3 2. Find the

More information

Frobenius Elements, the Chebotarev Density Theorem, and Reciprocity

Frobenius Elements, the Chebotarev Density Theorem, and Reciprocity Frobenius Elements, the Chebotarev Density Theorem, and Recirocity Dylan Yott July 30, 204 Motivation Recall Dirichlet s theorem from elementary number theory. Theorem.. For a, m) =, there are infinitely

More information

Practice Final Solutions

Practice Final Solutions Practice Final Solutions 1. Find integers x and y such that 13x + 1y 1 SOLUTION: By the Euclidean algorithm: One can work backwards to obtain 1 1 13 + 2 13 6 2 + 1 1 13 6 2 13 6 (1 1 13) 7 13 6 1 Hence

More information

Quaternionic Projective Space (Lecture 34)

Quaternionic Projective Space (Lecture 34) Quaternionic Projective Sace (Lecture 34) July 11, 2008 The three-shere S 3 can be identified with SU(2), and therefore has the structure of a toological grou. In this lecture, we will address the question

More information

A CONCRETE EXAMPLE OF PRIME BEHAVIOR IN QUADRATIC FIELDS. 1. Abstract

A CONCRETE EXAMPLE OF PRIME BEHAVIOR IN QUADRATIC FIELDS. 1. Abstract A CONCRETE EXAMPLE OF PRIME BEHAVIOR IN QUADRATIC FIELDS CASEY BRUCK 1. Abstract The goal of this aer is to rovide a concise way for undergraduate mathematics students to learn about how rime numbers behave

More information

DISCRIMINANTS IN TOWERS

DISCRIMINANTS IN TOWERS DISCRIMINANTS IN TOWERS JOSEPH RABINOFF Let A be a Dedekind domain with fraction field F, let K/F be a finite searable extension field, and let B be the integral closure of A in K. In this note, we will

More information

On the Rank of the Elliptic Curve y 2 = x(x p)(x 2)

On the Rank of the Elliptic Curve y 2 = x(x p)(x 2) On the Rank of the Ellitic Curve y = x(x )(x ) Jeffrey Hatley Aril 9, 009 Abstract An ellitic curve E defined over Q is an algebraic variety which forms a finitely generated abelian grou, and the structure

More information

0.6 Factoring 73. As always, the reader is encouraged to multiply out (3

0.6 Factoring 73. As always, the reader is encouraged to multiply out (3 0.6 Factoring 7 5. The G.C.F. of the terms in 81 16t is just 1 so there is nothing of substance to factor out from both terms. With just a difference of two terms, we are limited to fitting this olynomial

More information

6 Binary Quadratic forms

6 Binary Quadratic forms 6 Binary Quadratic forms 6.1 Fermat-Euler Theorem A binary quadratic form is an exression of the form f(x,y) = ax 2 +bxy +cy 2 where a,b,c Z. Reresentation of an integer by a binary quadratic form has

More information

4. Score normalization technical details We now discuss the technical details of the score normalization method.

4. Score normalization technical details We now discuss the technical details of the score normalization method. SMT SCORING SYSTEM This document describes the scoring system for the Stanford Math Tournament We begin by giving an overview of the changes to scoring and a non-technical descrition of the scoring rules

More information

Pretest (Optional) Use as an additional pacing tool to guide instruction. August 21

Pretest (Optional) Use as an additional pacing tool to guide instruction. August 21 Trimester 1 Pretest (Otional) Use as an additional acing tool to guide instruction. August 21 Beyond the Basic Facts In Trimester 1, Grade 8 focus on multilication. Daily Unit 1: Rational vs. Irrational

More information

MATH 371 Class notes/outline September 24, 2013

MATH 371 Class notes/outline September 24, 2013 MATH 371 Class notes/outline Setember 24, 2013 Rings Armed with what we have looked at for the integers and olynomials over a field, we re in a good osition to take u the general theory of rings. Definitions:

More information

#A47 INTEGERS 15 (2015) QUADRATIC DIOPHANTINE EQUATIONS WITH INFINITELY MANY SOLUTIONS IN POSITIVE INTEGERS

#A47 INTEGERS 15 (2015) QUADRATIC DIOPHANTINE EQUATIONS WITH INFINITELY MANY SOLUTIONS IN POSITIVE INTEGERS #A47 INTEGERS 15 (015) QUADRATIC DIOPHANTINE EQUATIONS WITH INFINITELY MANY SOLUTIONS IN POSITIVE INTEGERS Mihai Ciu Simion Stoilow Institute of Mathematics of the Romanian Academy, Research Unit No. 5,

More information

Various Proofs for the Decrease Monotonicity of the Schatten s Power Norm, Various Families of R n Norms and Some Open Problems

Various Proofs for the Decrease Monotonicity of the Schatten s Power Norm, Various Families of R n Norms and Some Open Problems Int. J. Oen Problems Comt. Math., Vol. 3, No. 2, June 2010 ISSN 1998-6262; Coyright c ICSRS Publication, 2010 www.i-csrs.org Various Proofs for the Decrease Monotonicity of the Schatten s Power Norm, Various

More information

δ(xy) = φ(x)δ(y) + y p δ(x). (1)

δ(xy) = φ(x)δ(y) + y p δ(x). (1) LECTURE II: δ-rings Fix a rime. In this lecture, we discuss some asects of the theory of δ-rings. This theory rovides a good language to talk about rings with a lift of Frobenius modulo. Some of the material

More information

CSC165H, Mathematical expression and reasoning for computer science week 12

CSC165H, Mathematical expression and reasoning for computer science week 12 CSC165H, Mathematical exression and reasoning for comuter science week 1 nd December 005 Gary Baumgartner and Danny Hea hea@cs.toronto.edu SF4306A 416-978-5899 htt//www.cs.toronto.edu/~hea/165/s005/index.shtml

More information

Why Proofs? Proof Techniques. Theorems. Other True Things. Proper Proof Technique. How To Construct A Proof. By Chuck Cusack

Why Proofs? Proof Techniques. Theorems. Other True Things. Proper Proof Technique. How To Construct A Proof. By Chuck Cusack Proof Techniques By Chuck Cusack Why Proofs? Writing roofs is not most student s favorite activity. To make matters worse, most students do not understand why it is imortant to rove things. Here are just

More information

An Overview of Witt Vectors

An Overview of Witt Vectors An Overview of Witt Vectors Daniel Finkel December 7, 2007 Abstract This aer offers a brief overview of the basics of Witt vectors. As an alication, we summarize work of Bartolo and Falcone to rove that

More information

DIRICHLET S THEOREM ABOUT PRIMES IN ARITHMETIC PROGRESSIONS. Contents. 1. Dirichlet s theorem on arithmetic progressions

DIRICHLET S THEOREM ABOUT PRIMES IN ARITHMETIC PROGRESSIONS. Contents. 1. Dirichlet s theorem on arithmetic progressions DIRICHLET S THEOREM ABOUT PRIMES IN ARITHMETIC PROGRESSIONS ANG LI Abstract. Dirichlet s theorem states that if q and l are two relatively rime ositive integers, there are infinitely many rimes of the

More information

PRIME NUMBERS YANKI LEKILI

PRIME NUMBERS YANKI LEKILI PRIME NUMBERS YANKI LEKILI We denote by N the set of natural numbers:,2,..., These are constructed using Peano axioms. We will not get into the hilosohical questions related to this and simly assume the

More information

On generalizing happy numbers to fractional base number systems

On generalizing happy numbers to fractional base number systems On generalizing hay numbers to fractional base number systems Enriue Treviño, Mikita Zhylinski October 17, 018 Abstract Let n be a ositive integer and S (n) be the sum of the suares of its digits. It is

More information

On the Multiplicative Order of a n Modulo n

On the Multiplicative Order of a n Modulo n 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 13 2010), Article 10.2.1 On the Multilicative Order of a n Modulo n Jonathan Chaelo Université Lille Nord de France F-59000 Lille France jonathan.chaelon@lma.univ-littoral.fr

More information

ERRATA AND SUPPLEMENTARY MATERIAL FOR A FRIENDLY INTRODUCTION TO NUMBER THEORY FOURTH EDITION

ERRATA AND SUPPLEMENTARY MATERIAL FOR A FRIENDLY INTRODUCTION TO NUMBER THEORY FOURTH EDITION ERRATA AND SUPPLEMENTARY MATERIAL FOR A FRIENDLY INTRODUCTION TO NUMBER THEORY FOURTH EDITION JOSEPH H. SILVERMAN Acknowledgements Page vii Thanks to the following eole who have sent me comments and corrections

More information

1 Integers and the Euclidean algorithm

1 Integers and the Euclidean algorithm 1 1 Integers and the Euclidean algorithm Exercise 1.1 Prove, n N : induction on n) 1 3 + 2 3 + + n 3 = (1 + 2 + + n) 2 (use Exercise 1.2 Prove, 2 n 1 is rime n is rime. (The converse is not true, as shown

More information

PELL S EQUATION, II KEITH CONRAD

PELL S EQUATION, II KEITH CONRAD PELL S EQUATION, II KEITH CONRAD 1. Introduction In Part I we met Pell s equation x dy = 1 for nonsquare positive integers d. We stated Lagrange s theorem that every Pell equation has a nontrivial solution

More information

Math 5330 Spring Notes Prime Numbers

Math 5330 Spring Notes Prime Numbers Math 5330 Sring 208 Notes Prime Numbers The study of rime numbers is as old as mathematics itself. This set of notes has a bunch of facts about rimes, or related to rimes. Much of this stuff is old dating

More information

DIRICHLET S THEOREM ON PRIMES IN ARITHMETIC PROGRESSIONS. 1. Introduction

DIRICHLET S THEOREM ON PRIMES IN ARITHMETIC PROGRESSIONS. 1. Introduction DIRICHLET S THEOREM ON PRIMES IN ARITHMETIC PROGRESSIONS INNA ZAKHAREVICH. Introduction It is a well-known fact that there are infinitely many rimes. However, it is less clear how the rimes are distributed

More information

A review of the foundations of perfectoid spaces

A review of the foundations of perfectoid spaces A review of the foundations of erfectoid saces (Notes for some talks in the Fargues Fontaine curve study grou at Harvard, Oct./Nov. 2017) Matthew Morrow Abstract We give a reasonably detailed overview

More information

Applications of the course to Number Theory

Applications of the course to Number Theory Alications of the course to Number Theory Rational Aroximations Theorem (Dirichlet) If ξ is real and irrational then there are infinitely many distinct rational numbers /q such that ξ q < q. () 2 Proof

More information

QUADRATIC RESIDUES AND DIFFERENCE SETS

QUADRATIC RESIDUES AND DIFFERENCE SETS QUADRATIC RESIDUES AND DIFFERENCE SETS VSEVOLOD F. LEV AND JACK SONN Abstract. It has been conjectured by Sárközy that with finitely many excetions, the set of quadratic residues modulo a rime cannot be

More information

Quadratic Reciprocity

Quadratic Reciprocity Quadratic Recirocity 5-7-011 Quadratic recirocity relates solutions to x = (mod to solutions to x = (mod, where and are distinct odd rimes. The euations are oth solvale or oth unsolvale if either or has

More information

RINGS OF INTEGERS WITHOUT A POWER BASIS

RINGS OF INTEGERS WITHOUT A POWER BASIS RINGS OF INTEGERS WITHOUT A POWER BASIS KEITH CONRAD Let K be a number field, with degree n and ring of integers O K. When O K = Z[α] for some α O K, the set {1, α,..., α n 1 } is a Z-basis of O K. We

More information

Class Field Theory. Peter Stevenhagen. 1. Class Field Theory for Q

Class Field Theory. Peter Stevenhagen. 1. Class Field Theory for Q Class Field Theory Peter Stevenhagen Class field theory is the study of extensions Q K L K ab K = Q, where L/K is a finite abelian extension with Galois grou G. 1. Class Field Theory for Q First we discuss

More information

Chapter 3. Number Theory. Part of G12ALN. Contents

Chapter 3. Number Theory. Part of G12ALN. Contents Chater 3 Number Theory Part of G12ALN Contents 0 Review of basic concets and theorems The contents of this first section well zeroth section, really is mostly reetition of material from last year. Notations:

More information

An Estimate For Heilbronn s Exponential Sum

An Estimate For Heilbronn s Exponential Sum An Estimate For Heilbronn s Exonential Sum D.R. Heath-Brown Magdalen College, Oxford For Heini Halberstam, on his retirement Let be a rime, and set e(x) = ex(2πix). Heilbronn s exonential sum is defined

More information

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z: NUMBER SYSTEMS Number theory is the study of the integers. We denote the set of integers by Z: Z = {..., 3, 2, 1, 0, 1, 2, 3,... }. The integers have two oerations defined on them, addition and multilication,

More information

PartII Number Theory

PartII Number Theory PartII Number Theory zc3 This is based on the lecture notes given by Dr.T.A.Fisher, with some other toics in number theory (ossibly not covered in the lecture). Some of the theorems here are non-examinable.

More information

GOOD MODELS FOR CUBIC SURFACES. 1. Introduction

GOOD MODELS FOR CUBIC SURFACES. 1. Introduction GOOD MODELS FOR CUBIC SURFACES ANDREAS-STEPHAN ELSENHANS Abstract. This article describes an algorithm for finding a model of a hyersurface with small coefficients. It is shown that the aroach works in

More information

Weil s Conjecture on Tamagawa Numbers (Lecture 1)

Weil s Conjecture on Tamagawa Numbers (Lecture 1) Weil s Conjecture on Tamagawa Numbers (Lecture ) January 30, 204 Let R be a commutative ring and let V be an R-module. A quadratic form on V is a ma q : V R satisfying the following conditions: (a) The

More information

Dirichlet s Theorem on Arithmetic Progressions

Dirichlet s Theorem on Arithmetic Progressions Dirichlet s Theorem on Arithmetic Progressions Thai Pham Massachusetts Institute of Technology May 2, 202 Abstract In this aer, we derive a roof of Dirichlet s theorem on rimes in arithmetic rogressions.

More information

On the Toppling of a Sand Pile

On the Toppling of a Sand Pile Discrete Mathematics and Theoretical Comuter Science Proceedings AA (DM-CCG), 2001, 275 286 On the Toling of a Sand Pile Jean-Christohe Novelli 1 and Dominique Rossin 2 1 CNRS, LIFL, Bâtiment M3, Université

More information

Mobius Functions, Legendre Symbols, and Discriminants

Mobius Functions, Legendre Symbols, and Discriminants Mobius Functions, Legendre Symbols, and Discriminants 1 Introduction Zev Chonoles, Erick Knight, Tim Kunisky Over the integers, there are two key number-theoretic functions that take on values of 1, 1,

More information

MAZUR S CONSTRUCTION OF THE KUBOTA LEPOLDT p-adic L-FUNCTION. n s = p. (1 p s ) 1.

MAZUR S CONSTRUCTION OF THE KUBOTA LEPOLDT p-adic L-FUNCTION. n s = p. (1 p s ) 1. MAZUR S CONSTRUCTION OF THE KUBOTA LEPOLDT -ADIC L-FUNCTION XEVI GUITART Abstract. We give an overview of Mazur s construction of the Kubota Leooldt -adic L- function as the -adic Mellin transform of a

More information

MATH 248A. THE CHARACTER GROUP OF Q. 1. Introduction

MATH 248A. THE CHARACTER GROUP OF Q. 1. Introduction MATH 248A. THE CHARACTER GROUP OF Q KEITH CONRAD 1. Introduction The characters of a finite abelian grou G are the homomorhisms from G to the unit circle S 1 = {z C : z = 1}. Two characters can be multilied

More information

IDENTIFYING CONGRUENCE SUBGROUPS OF THE MODULAR GROUP

IDENTIFYING CONGRUENCE SUBGROUPS OF THE MODULAR GROUP PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 24, Number 5, May 996 IDENTIFYING CONGRUENCE SUBGROUPS OF THE MODULAR GROUP TIM HSU (Communicated by Ronald M. Solomon) Abstract. We exhibit a simle

More information

Chapter 2 Arithmetic Functions and Dirichlet Series.

Chapter 2 Arithmetic Functions and Dirichlet Series. Chater 2 Arithmetic Functions and Dirichlet Series. [4 lectures] Definition 2.1 An arithmetic function is any function f : N C. Examles 1) The divisor function d (n) (often denoted τ (n)) is the number

More information

ON SETS OF INTEGERS WHICH CONTAIN NO THREE TERMS IN GEOMETRIC PROGRESSION

ON SETS OF INTEGERS WHICH CONTAIN NO THREE TERMS IN GEOMETRIC PROGRESSION ON SETS OF INTEGERS WHICH CONTAIN NO THREE TERMS IN GEOMETRIC PROGRESSION NATHAN MCNEW Abstract The roblem of looing for subsets of the natural numbers which contain no 3-term arithmetic rogressions has

More information

Round-off Errors and Computer Arithmetic - (1.2)

Round-off Errors and Computer Arithmetic - (1.2) Round-off Errors and Comuter Arithmetic - (.). Round-off Errors: Round-off errors is roduced when a calculator or comuter is used to erform real number calculations. That is because the arithmetic erformed

More information

MAT 311 Solutions to Final Exam Practice

MAT 311 Solutions to Final Exam Practice MAT 311 Solutions to Final Exam Practice Remark. If you are comfortable with all of the following roblems, you will be very well reared for the midterm. Some of the roblems below are more difficult than

More information

THE CHARACTER GROUP OF Q

THE CHARACTER GROUP OF Q THE CHARACTER GROUP OF Q KEITH CONRAD 1. Introduction The characters of a finite abelian grou G are the homomorhisms from G to the unit circle S 1 = {z C : z = 1}. Two characters can be multilied ointwise

More information

f(r) = a d n) d + + a0 = 0

f(r) = a d n) d + + a0 = 0 Math 400-00/Foundations of Algebra/Fall 07 Polynomials at the Foundations: Roots Next, we turn to the notion of a root of a olynomial in Q[x]. Definition 8.. r Q is a rational root of fx) Q[x] if fr) 0.

More information

March 4, :21 WSPC/INSTRUCTION FILE FLSpaper2011

March 4, :21 WSPC/INSTRUCTION FILE FLSpaper2011 International Journal of Number Theory c World Scientific Publishing Comany SOLVING n(n + d) (n + (k 1)d ) = by 2 WITH P (b) Ck M. Filaseta Deartment of Mathematics, University of South Carolina, Columbia,

More information

Heuristics on Tate Shafarevitch Groups of Elliptic Curves Defined over Q

Heuristics on Tate Shafarevitch Groups of Elliptic Curves Defined over Q Heuristics on Tate Shafarevitch Grous of Ellitic Curves Defined over Q Christohe Delaunay CONTENTS. Introduction 2. Dirichlet Series and Averages 3. Heuristics on Tate Shafarevitch Grous References In

More information

Topic 7: Using identity types

Topic 7: Using identity types Toic 7: Using identity tyes June 10, 2014 Now we would like to learn how to use identity tyes and how to do some actual mathematics with them. By now we have essentially introduced all inference rules

More information

QUADRATIC RECIPROCITY

QUADRATIC RECIPROCITY QUADRATIC RECIPROCIT POOJA PATEL Abstract. This aer is an self-contained exosition of the law of uadratic recirocity. We will give two roofs of the Chinese remainder theorem and a roof of uadratic recirocity.

More information

[Ch 3, 4] Logic and Proofs (2) 1. Valid and Invalid Arguments ( 2.3, 3.4) 400 lecture note #2. 1) Basics

[Ch 3, 4] Logic and Proofs (2) 1. Valid and Invalid Arguments ( 2.3, 3.4) 400 lecture note #2. 1) Basics 400 lecture note #2 [Ch 3, 4] Logic and Proofs (2) 1. Valid and Invalid Arguments ( 2.3, 3.4) 1) Basics An argument is a sequence of statements ( s1, s2,, sn). All statements in an argument, excet for

More information

POINTS ON CONICS MODULO p

POINTS ON CONICS MODULO p POINTS ON CONICS MODULO TEAM 2: JONGMIN BAEK, ANAND DEOPURKAR, AND KATHERINE REDFIELD Abstract. We comute the number of integer oints on conics modulo, where is an odd rime. We extend our results to conics

More information

Combinatorics of topmost discs of multi-peg Tower of Hanoi problem

Combinatorics of topmost discs of multi-peg Tower of Hanoi problem Combinatorics of tomost discs of multi-eg Tower of Hanoi roblem Sandi Klavžar Deartment of Mathematics, PEF, Unversity of Maribor Koroška cesta 160, 000 Maribor, Slovenia Uroš Milutinović Deartment of

More information

PHYS 301 HOMEWORK #9-- SOLUTIONS

PHYS 301 HOMEWORK #9-- SOLUTIONS PHYS 0 HOMEWORK #9-- SOLUTIONS. We are asked to use Dirichlet' s theorem to determine the value of f (x) as defined below at x = 0, ± /, ± f(x) = 0, - < x

More information

Solution sheet ξi ξ < ξ i+1 0 otherwise ξ ξ i N i,p 1 (ξ) + where 0 0

Solution sheet ξi ξ < ξ i+1 0 otherwise ξ ξ i N i,p 1 (ξ) + where 0 0 Advanced Finite Elements MA5337 - WS7/8 Solution sheet This exercise sheets deals with B-slines and NURBS, which are the basis of isogeometric analysis as they will later relace the olynomial ansatz-functions

More information