MTH 505: Number Theory Spring 2017

Similar documents
PYTHAGOREAN TRIPLES KEITH CONRAD

4.4 Solving Congruences using Inverses

MATH10040: Numbers and Functions Homework 1: Solutions

Rational Points on Conics, and Local-Global Relations in Number Theory

1 Overview and revision

PRIME NUMBERS YANKI LEKILI

1. multiplication is commutative and associative;

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

D-MATH Algebra II FS18 Prof. Marc Burger. Solution 26. Cyclotomic extensions.

Homework 3 Solutions, Math 55

Exam 2 Solutions. In class questions

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

Math 120 HW 9 Solutions

Cool Results on Primes

Eighth Homework Solutions

1. Factorization Divisibility in Z.

( 3) ( ) ( ) ( ) ( ) ( )

CHMC: Finite Fields 9/23/17

Computing Quotient and Remainder. Prime Numbers. Factoring by Trial Division. The Fundamental Theorem of Arithmetic

For example, p12q p2x 1 x 2 ` 5x 2 x 2 3 q 2x 2 x 1 ` 5x 1 x 2 3. (a) Let p 12x 5 1x 7 2x 4 18x 6 2x 3 ` 11x 1 x 2 x 3 x 4,

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

1. Examples. We did most of the following in class in passing. Now compile all that data.

LEGENDRE S THEOREM, LEGRANGE S DESCENT

FERMAT S LAST THEOREM FOR REGULAR PRIMES KEITH CONRAD

Ideals: Definitions & Examples

Number Theory. Final Exam from Spring Solutions

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

Table of Contents. 2013, Pearson Education, Inc.

Math Topics in Algebra Course Notes: A Proof of Fermat s Last Theorem. Spring 2013

+ 1 3 x2 2x x3 + 3x 2 + 0x x x2 2x + 3 4

MT804 Analysis Homework II

MTH 505: Number Theory Spring 2017

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

1 Divisibility Basic facts about divisibility The Division Algorithm... 3

Fermat s Last Theorem for Regular Primes

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

Diophantine equations

Homework 10 M 373K by Mark Lindberg (mal4549)

MTH 505: Number Theory Spring 2017

Honors Algebra 4, MATH 371 Winter 2010 Assignment 3 Due Friday, February 5 at 08:35

Introduction: Pythagorean Triplets

Study Guide for Math 095

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

22. The Quadratic Sieve and Elliptic Curves. 22.a The Quadratic Sieve

Reference Material /Formulas for Pre-Calculus CP/ H Summer Packet

Gaussian integers. 1 = a 2 + b 2 = c 2 + d 2.

Notes: Pythagorean Triples

Properties of the Integers

EXAMPLES OF MORDELL S EQUATION

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Some Highlights along a Path to Elliptic Curves

Lesson 2 The Unit Circle: A Rich Example for Gaining Perspective

History of Mathematics

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

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

Factorization in Integral Domains II

Baltic Way 2008 Gdańsk, November 8, 2008

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Homework 6 Solution. Math 113 Summer 2016.

Section 19 Integral domains

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

Math 5330 Spring Notes Congruences

QUADRATIC RINGS PETE L. CLARK

Introduction to Number Theory

Elliptic Curves & Number Theory. R. Sujatha School of Mathematics TIFR

A Generalization of Wilson s Theorem

Algebra I Unit Report Summary

Discrete Mathematics Logics and Proofs. Liangfeng Zhang School of Information Science and Technology ShanghaiTech University

Contest Number Theory

Number Theory. Henry Liu, 6 July 2007

Exam 1 Solutions. Solution: The 16 contributes 5 to the total and contributes 2. All totaled, there are 5 ˆ 2 10 abelian groups.

LeLing13: Polynomials and complex numbers. Division of polynomials. Euclides s algorithm and multiple roots. R ecommended exercises: Geoling 15.

Perspectives of Mathematics

Introduction to Abstract Mathematics

Introduction to Arithmetic Geometry Fall 2013 Lecture #24 12/03/2013

LARGE PRIME NUMBERS (32, 42; 4) (32, 24; 2) (32, 20; 1) ( 105, 20; 0).

Genealogy of Pythagorean triangles

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

MATH 361: NUMBER THEORY FOURTH LECTURE

MTH310 EXAM 2 REVIEW

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

EXAMPLES OF MORDELL S EQUATION

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

Explicit Methods in Algebraic Number Theory

Introduction to Number Theory

ALGEBRAIC GEOMETRY COURSE NOTES, LECTURE 2: HILBERT S NULLSTELLENSATZ.

Discrete valuation rings. Suppose F is a field. A discrete valuation on F is a function v : F {0} Z such that:

MATH CSE20 Homework 5 Due Monday November 4

MAS 6217 (Fall 2017) Number Theory and Cryptography (Yiu) Class Notes, October 10. Construction of Pythagorean triangles By a Pythagorean triangle we

MA4H9 Modular Forms: Problem Sheet 2 Solutions

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

Proofs. Chapter 2 P P Q Q

King Fahd University of Petroleum and Minerals Prep-Year Math Program Math Term 161 Recitation (R1, R2)

2a 2 4ac), provided there is an element r in our

Transcription:

MTH 505: Number Theory Spring 017 Homework 4 Drew Armstrong 4.1. (Squares Mod 4). We say that an element ras n P Z{nZ is square if there exists an element rxs n P Z{nZ such that ras n prxs n q rx s n. (a) Prove that r0s 4 and r1s 4 are the only square elements of Z{4Z. (b) Suppose that we have integers x, y, z P Z with the property x ` y z. In this case use part (a) to show that x and y cannot both be odd. [Hint: The elements rx s 4 and ry s 4 are square elements of Z{4Z. If x and y are both odd, show that the sum rx s 4 ` ry s 4 cannot be a square element of Z{4Z.] Proof. (a): Here is a table showing the square of every element of Z{4Z: ras 4 r0s 4 r1s 4 rs 4 r3s 4 ra s 4 r0s 4 r1s 4 r0s 4 r1s 4. We observe from the second row of the table that the only square elements are r0s 4 r0 s 4 r s 4 and r1s 4 r1 s 3 r3 s 4. (b): Suppose we have x, y, z P Z with x ` y z. Reducing this equation mod 4 gives rx s 4 ` ry s 4 rz s 4. If both of x and y are odd, then rxs 4 and rys 4 must be in the set tr1s 4, r3s 4 u. But then part (a) implies that rx s 4 ry s 4 r1s 4 and hence rz s 4 rx s 4 ` ry s 4 r1s 4 ` r1s 4 rs 4. This contradicts the fact that rs 4 is not a square element of Z{4Z. 4.. (Fermat s Last Theorem). In this exercise you will prove the easiest case of Fermat s Last Theorem, which is the only case that Fermat proved himself. That is, you will prove that there do not exist integers px, y, zq P Z 3 such that xyz 0 and x 4 ` y 4 z 4. In fact, you will prove the stronger statement that the equation (FLT) x 4 ` y 4 z. has no integer solution px, y, zq P Z 3 with xyz 0. (a) Suppose that (FLT) has a solution px, y, zq P Z 3 with xyz 0. In this case prove that (FLT) has a solution px 1, y 1, z 1 q P Z 3 with x 1 y 1 z 1 0 and gcdpx 1, y 1 q 1. [Hint: If p is a common prime divisor of x and y show that px{p, y{p, z{p q P Z 3 is another solution. Repeat until x and y have no common prime divisor.] (b) (Fermat s Method of Infinite Descent) Suppose that (FLT) has a solution px, y, zq P Z 3 with xyz 0 and gcdpx, yq 1. In this case, prove that there exists a solution px 1, y 1, z 1 q with x 1 y 1 z 1 0, gcdpx 1, y 1 q 1 and 0 ă z 1 ă z. [Hint: Since x 4 ` y 4 px q ` py q z, Problem 4.1(b) says that x and y cannot both be odd, so assume WLOG that x is odd and y is even. By replacing z with z we can also assume that

z ą 0. Then from the classification of Pythagorean triples (proved in class) there exist integers u, v P Z with gcdpu, vq 1 and v ą 0 such that x v u, y uv and z v ` u. Use 4.1(b) and the classification of Pythagorean triples (again!) to show that there exist integers r, s P Z with gcdpr, sq 1 and s ą 0 such that x s r, u rs and v s ` r. Use the fact pu{qv py{q to show that u{ and v are perfect squares, then use the fact rs u{ to show that r and s are perfect squares. Finaly, show that we have s px 1 q, r py 1 q and v pz 1 q for some integers px 1, y 1, z 1 q P Z 3 with x 1 y 1 z 1 0, gcdpx 1, y 1 q 1 and 0 ă z 1 ă z.] (c) Combine the results of (a) and (b) to finish the proof. Proof. (a): Suppose that we have integers px, y, zq P Z 3 such that x ` y z and xyz 0. If px, yq p0, 0q then the equation z x ` y 0 implies that z 0 which contradicts the fact that xyz 0, so we may assume that px, yq p0, 0q. Now suppose that p is any common prime divisor of x and y with x px 1 and y py 1. Then we see that p divides z because x ` y z ppx 1 q ` ppy 1 q z p ppx 1 q ` py 1 q q z, and from Euclid s Lemma this implies that p divides z, say z pz 1. Finally, since p 0 we have p ppx 1 q ` py 1 q q z p ppx 1 q ` py 1 q q ppz 1 q p ppx 1 q ` py 1 q q p pz 1 q px 1 q ` py 1 q pz 1 q. If gcdpx 1, y 1 q 1 then we are done. Otherwise, there exists a common prime divisor q of x 1 and y 1 with x 1 qx and y 1 qy and we can repeat the process to obtain px q ` py q pz q for some integer z P Z. I claim that this process must eventually stop. Indeed, since px, yq p0, 0q we can assume without loss of generality that x ą 0. If the process never stops then we obtain an infinite decreasing sequence of positive integers x ą x 1 ą x ą ą 0, which contradicts the Well-Ordering Principle. (b): Assume that there exist integers px, y, zq P Z 3 with x 4 ` y 4 z such that xyz 0 and gcdpx, yq 1. Since px, yq 0 this implies that z 0 so we can assume without loss of generality that z ě 1. To begin, we observe that z x 4 ` y 4 px q ` py q. From 4.1(b) this tells us that x and y (hence also x and y) cannot both be odd. So let us assume without loss of generality that x is odd and y is even. From the classification of Pythagorean triples (proved in class) we conclude that there exist integers u, v P Z with gcdpu, vq 1 and v ě 1 such that x v u, y uv and z v ` u.

Since x is even, the equation x `u v together with 4.1(b) tells us that u is even. Then the classification of Pythagorean triples (again!) tells us that there exist r, s P Z with gcdpr, sq 1 and s ě 1 such that x s r, u rs and v s ` r. Since gcdpu, vq 1 and since u is even we see that u{ is an integer with gcdpu{, vq 1. Now observe that u v uv 4 y y 4 ě 1. Since v ě 1 this implies that u ě 1. Furthermore, since pu{qv is a perfect square and since gcdpu{, vq 1 the unique prime factorization 1 of py{q shows us that each of u{ and v is a perfect square. Then since rs u ě 1 with s ě 1 we see that r ě 1, and since rs u{ is a perfect square with gcdpr, sq 1 we conclude that each of r and s is a perfect square. We have shown that there exist integers x 1, y 1, z 1 P Z such that s px 1 q, r py 1 q and v pz 1 q and hence px 1 q 4 ` py 1 q 4 s ` r v pz 1 q. It only remains to show that x 1 y 1 z 1 0, gcdpx 1, y 1 q 1 and 0 ă z 1 ă z. The fact that x 1 y 1 z 1 0 follows from the fact y 0 and the equation y uv prsqv 4px 1 y 1 z 1 q. To see that gcdpx 1, y 1 q 1, observe that any common divisor of x 1 and y 1 is also a common divisor of s px 1 q and r py 1 q and hence 1 ď gcdpx 1, y 1 q ď gcdpr, sq 1. Finally, to see that z 1 ă z first observe that the inequalities 1 ď z 1 and 1 ď v imply that z 1 ď pz 1 q and v ď v. Since y 0 and y uv we must also have u 0 and it follows that as desired. z 1 ď pz 1 q v ď v ă v ` u z (c): Here is the complete proof. Assume for contradiction that there exist integers px, y, zq P Z 3 such that xyz 0 and x 4 ` y 4 z 4. If z 0 then this implies that px, yq p0, 0q which contradicts the fact that px, y, zq p0, 0, 0q. Furthermore, if px, yq p0, 0q then we obtain the contradiction z 0. So we can assume that px, yq p0, 0q and z 0. Now observe that we have x 4 ` y 4 pz 1 q where z 1 z ě 1. By part (a) this implies that there exist integers px 1, y 1, z q P Z 3 with px 1 q 4 ` py 1 q 4 pz q such that x 1 y 1 z 0 and gcdpx 1, y 1 q 1. We can also assume without loss of generality that z ě 1. Then from part (b) we know that there exist integers px, y, z 3 q P Z 3 such that px q 4 ` py q 4 pz 3 q with x y z 3 0, gcdpx, y q 1 and 1 ď z 3 ă z. Finally, we observe that this process can be repeated indefinitely to obtain an infinite decreasing sequence of positive integers z ě z 1 ě z ą z 3 ą z 4 ą ą 0, which contradicts the Well-Ordering Principle. [Remark: This is by far the easiest case of Fermat s Last Theorem. Euler gave a more involved proof for the exponent 3 which depends on the fact that the commutative ring Zre πi{3 s has unique prime factorzation. Later it was realized that a similar proof works for exponent n whenever the ring Zre πi{n s has unique prime factorization. Unfortunately, Kummer observed that unique 1 This is a key step. I ll discuss it in the remark after the proof.

factorization fails in general. Eventually Kronecker and Dedekind were able to restore unique factorization by replacing numbers with ideals. Unfortunately too much structure was lost to recover the proof of FLT. The proof had to wait another hundred years for new methods.] 4.3. (Rational Points on a Hyperbola). In this problem you will find the complete rational solution pα, βq P Q to the equation (Hyp) 4α 4αβ 7β 16β 9 0. (a) Find an invertible affine transformation with rational coefficients to rewrite (Hyp) in the equivalent form x y 1. (b) Draw a picture of the hyperbola x y 1 with a line of slope t going through the point p 1, 0q. Let px t, y t q be the coordinates of the other point of intersection. (c) Compute formulas for the coordinates of px t, y t q in terms of t. Use your formulas to show that t P Q ðñ px t, y t q P Q. (d) Substitute t u{v for coprime integers u, v P Z with v ą 0 to find the general formula for rational points on the hyperbola x y 1. (e) Invert your affine transformation from part (a) to find the general formula for rational points on the original hyperbola (Hyp). Proof. (a): Let s do it from scratch using Hermite reduction. First we consider the quadratic form 4α 4αβ 7β `α β ˆ 4 ˆα α 7 β T Aα. We want to find a rational invertible matrix P such that P T AP is diagonal. To do this we perform a sequence of simultaneous row/column operations on the augmented matrix: 4 1 0 4 0 1 0 1 0 1{ 0 7 0 1 Ñ 0 8 1{ 1 Ñ 0 1{4 1{. 1 0 0 1 1 1{ 0 1 It follows from this computation that ˆ ˆ1{ 0 4 ˆ1{ 1{4 1{4 1{ 7 0 1{ Thus we will make a change of variables of the form ˆα ˆ1{ 1{4 ˆx ˆu ` β 0 1{ y v 1{ 1{4 0 1{ ˆ1 0. 0 ˆx{ ` y{4 ` u y{ ` v for some rational numbers u, v P Q. In order to determine u and v, we substitute α x{ ` y{4 ` u and β y{ ` v into (Hyp) to obtain 4α 4αβ 7β 16β 9 0 4px{4 ` y{8 ` uq 4px{4 ` y{8 ` uqpy{4 ` vq 7py{4 ` vq 16py{4 ` vq 9 0 x y ` p4u vqx p8 ` 8vqy ` p4u 4uv 7v 16u 9q 0.

Our goal is to choose u and v so that p4u vq 0 and p8 ` 8vq 0. The second equation implies v 1 and then the first equation implies u 1{. In summary, by making the rational invertible affine change of variables ˆα β ˆ1{ 1{4 0 1{ we obtain the equivalent equation as desired. ˆx y ` ˆ 1{ 1 ˆx{ ` y{4 1{ y{ 1 x y ` p4u vqx p8 ` 8vqy ` p4u 4uv 7v 16u 9q 0 x y ` 0x ` 0y ` 4p 1{q 4p 1{qp 1q 7p 1q 16p 1{q 9 0 x y 1 0 x y 1, (b): So let s solve the equation x y 1. Geometrically this is a hyperbola in the real x, y- plane. We consider the line of slope t through the (rational) point p 1, 0q on the hyperbola and we let px t, y t q denote the other point of intersection as in the following beautiful picture: (c): To compute the coordinates of px t, y t q we substitute the equation of the line y tpx ` 1q into the equation of the hyperbola x y 1 to obtain x y 1 x t px ` 1q 1 x t px ` x ` 1q 1 p1 t qx ` p 4t qx ` p 1 t q 0.

Then we use the quadratic formula: x 4t ap 4t q 4p1 t qp 1 t q p1 t q 4t?16t 4 ` 4 16t 4 p1 t q 4t?4 p1 t q 4t p1 t q t 1 1 t 1 or 1 ` t 1 t. The value x 1 corresponds to the point px, yq p 1, 0q so we conclude that x t p1 ` t q{p1 t q. Then we substitute into the equation of the line to obtain ˆ1 ` t y t tpx t ` 1q t 1 t ` 1 t 1 t t 1 t. Finally, it follows from the equation y t tpx t ` 1q that and it follows from the equation that px t, y t q P Q ùñ t P Q px t, y t q ˆ1 ` t 1 t, t 1 t t P Q ùñ px t, y t q P Q. Indeed, we observe that the denominators never vanish because t 1{? is irrational. (d): From part (c) we see that every rational point on the hyperbola x y 1 has the form px t, y t q for some rational number t P Q. By writing t in lowest terms we can assume that t u{v for some unique integers u, v P Z with gcdpu, vq 1 and v ě 1. Then we can substitute this into the formula for px t, y t q to obtain ˆ1 ` t px t, y t q 1 t, t 1 t ˆ1 ` pu{vq 1 pu{vq, t 1 pu{vq ˆv ` u v u, uv v u. I won t bother to check if these fractions are in lowest terms. (e): Finally, we invert the affine transformation from part (a) to obtain the complete rational solution to the equation (Hyp). To be specific, for each rational number t u{v in lowest

terms we obtain the rational point pα t, β t q px t { ` y t {4 1{, y t { 1q ˆ up4u ` vq pv u q, u ` uv v v u. Again, I won t check if these fractions are in lowest terms. [Remark: Suppose we wanted to find all integer solutions px, yq P Z to the equation x y 1. From the answer to part (d), this problem is equivalent to determining all coprime integers gcdpu, vq with v ě 1 such that pv u q pv ` u q and pv u q puvq. Equivalently, we require that pv u q divides the greatest common divisor of pv ` u q and uv. We will need some new ideas to solve this.] 4.4 (A Hyperbola With No Rational Points). If we could find just one rational point on the hyperbola x y 3 then we would obtain infinitely many rational points as in Problem 4.3. However, we will see that there are no rational points. (a) Assume that there exist rational numbers px, yq P Q such that x y 3. In this case prove that there exist integers pa, b, cq P Z 3 with no common factor such that a b 3c. (b) With a, b, c P Z as in part (a), prove that gcdpa, 3q 1. (c) Reduce the equation a b 3c mod 3 to get ra s 3 rb s 3 rs 3 ra s 3 rs 3 rb s 3 rs 3 ra s 3 rpbq s 3. Now part (b) implies that we can divide both sides by ra s 3 to get Use this to find a contradiction. rs 3 rpbq s 3 ra s 3 `rbs 3 ra 1 s 3. Proof. (a): Suppose that we have px, yq P Q such that x y 3. By finding a common denominator we can write px, yq pa{c, b{cq for some integers pa, b, cq P Z 3 with c ě 1. Then substituting gives pa{cq pb{cq 3 a b 3c. Finally, let λ gcdpa, b, cq with a λa 1, b λb 1 and c λc 1. Then we have gcdpa 1, b 1, c 1 q 1 and since λ 0 we obtain a b 3c pλa 1 q pλb 1 q 3pλc 1 q λ ppa 1 q pb 1 q q λ 3pc 1 q pa 1 q pb 1 q 3pc 1 q

as desired. (b): I don t want to keep writing the primes, so let s assume that a b 3c with gcdpa, b, cq 1. Since 3 is prime we observe that gcdpa, 3q 1 if and only if 3 a. So let us assume for contradiction that 3 a, say a 3a 1. Then the equation a b 3c p3a 1 q b 3c 3p3pa 1 q c q b says that 3 b and it follows from Euclid s Lemma that 3 b, say b 3b 1. Substituting gives a b 3c p3a 1 q p3b 1 q 3c 9ppa 1 q pb 1 q q 3c 3ppa 1 q pb 1 q q c, which says that 3 c and hence 3 c by Euclid s Lemma. We have shown that 3 is a common divisor of a, b and c, which contradicts the fact that gcdpa, b, cq 1. (c): Assume for contradiction that there exists a rational point px, yq P Q on the hyperbola x y 3. Then part (a) says that there exist coprime integers gcdpa, b, cq 1 such that a b 3c and part (b) says that gcdpa, 3q 1. In particular, this says that the element ras 3 P Z{3Z and hence also the element ra s 3 P Z{3Z is invertible. By reducing the equation a b 3c mod 3 we obtain ( ) ra b s 3 r3c s 3 ra s 3 rb s 3 r0s 3 ra s 3 rb s 3 r1s 3 rb s 3 ra s 3 rs 3 r1s 3 rs 3 rb s 3 ra s 3 rs 3 rpbq s 3 rpa 1 q s 3 rs 3 `rbs 3 ra 1 s 3. I don t know what the element rbs 3 ra 1 s 3 P Z{3Z is, but it certainly exists. Then equation ( ) tells us that rs 3 is a square element of Z{3Z. But this is false because there are only three elements of Z{3Z and none of them is a square root of rs 3 : r0 s 3 r0s 3 rs 3, r1 s 3 r1s 3 rs 3 and r s 3 r1s 3 rs 3. [Remark: A generalization of this argument can be used to show the following. Fix squarefree and pairwise coprime integers a, b, c P Z and suppose that we have rational numbers x, y P Q such that ax ` by ` c 0. Then we find that the following elements are square: r abs c P Z{cZ, r acs b P Z{bZ and r bcs a P Z{aZ. It is a celebrated theorem of Legendre (1785) that these conditions are also sufficient for the existence of a rational solution. We will prove this in class.]