History of Mathematics

Similar documents
Introduction to Number Theory

M381 Number Theory 2004 Page 1

Fermat s Last Theorem for Regular Primes

On the Cardinality of Mersenne Primes

ENTRY NUMBER THEORY. [ENTRY NUMBER THEORY] Authors: Oliver Knill: 2003 Literature: Hua, introduction to number theory.

Introduction to Number Theory

EXAMPLES OF MORDELL S EQUATION

Heron triangles which cannot be decomposed into two integer right triangles

EXAMPLES OF MORDELL S EQUATION

Exploring Number Theory via Diophantine Equations

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

Shi Feng Sheng Danny Wong

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

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

Discrete Logarithms. Let s begin by recalling the definitions and a theorem. Let m be a given modulus. Then the finite set

PRIMALITY TEST FOR FERMAT NUMBERS USING QUARTIC RECURRENCE EQUATION. Predrag Terzic Podgorica, Montenegro

Fermat s Marvelous Proofs for Fermat s Last Theorem. Abstract

An Elementary Proof Of Fermat s Last Theorem

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

SOLUTIONS Math 345 Homework 6 10/11/2017. Exercise 23. (a) Solve the following congruences: (i) x (mod 12) Answer. We have

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

CS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II

10 Problem 1. The following assertions may be true or false, depending on the choice of the integers a, b 0. a "

Chapter 8. Introduction to Number Theory

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

= 5 2 and = 13 2 and = (1) = 10 2 and = 15 2 and = 25 2

THE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES

FERMAT S LAST THEOREM

7. Prime Numbers Part VI of PJE

Chapter 1. Number of special form. 1.1 Introduction(Marin Mersenne) 1.2 The perfect number. See the book.

Proofs of the infinitude of primes

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

k, then n = p2α 1 1 pα k

On Fermat s marginal note: a suggestion

Primes. Rational, Gaussian, Industrial Strength, etc. Robert Campbell 11/29/2010 1

Perspectives of Mathematics

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

Solutions to Assignment 1

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

Indtroduction to Diophantine Equations

4 PRIMITIVE ROOTS Order and Primitive Roots The Index Existence of primitive roots for prime modulus...

CHAPTER V Fermat s last theorem

2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.

Numbers and their divisors

ASSIGNMENT Use mathematical induction to show that the sum of the cubes of three consecutive non-negative integers is divisible by 9.

Elementary Number Theory

27 th Annual ARML Scrimmage

MATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.

A Few Primality Testing Algorithms

Practice Final Solutions

PRIME NUMBERS YANKI LEKILI

(Primes and) Squares modulo p

Number Theory. Henry Liu, 6 July 2007

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

Each copy of any part of a JSTOR transmission must contain the same copyright notice that appears on the screen or printed page of such transmission.

Elliptic Curves and Mordell s Theorem

School of Mathematics

MATH 152 Problem set 6 solutions

Cryptography. Number Theory with AN INTRODUCTION TO. James S. Kraft. Lawrence C. Washington. CRC Press

Notes on Systems of Linear Congruences

Contest Number Theory

Basic Proof Examples

Recreational Mathematics

Proof of Beal s Conjecture

Table of Contents. 2013, Pearson Education, Inc.

Corollary 4.2 (Pepin s Test, 1877). Let F k = 2 2k + 1, the kth Fermat number, where k 1. Then F k is prime iff 3 F k 1

5.2. Perfect Numbers Divisors of a natural number were covered in Section 5.1.

Wilson s Theorem and Fermat s Little Theorem

UNDERSTANDING RULER AND COMPASS CONSTRUCTIONS WITH FIELD THEORY

Fermat s Little Theorem. Fermat s little theorem is a statement about primes that nearly characterizes them.

History of Mathematics Workbook

EULER S THEOREM KEITH CONRAD

Pythagorean Triangles with Repeated Digits Different Bases

Logic and Mathematics. 1. Lecture

Integer-sided equable shapes

12.2 Existence proofs: examples

How to prove it (or not) Gerry Leversha MA Conference, Royal Holloway April 2017

Solutions to Practice Final

REGULAR TETRAHEDRA WHOSE VERTICES HAVE INTEGER COORDINATES. 1. Introduction

Summary Slides for MATH 342 June 25, 2018

On Fermat s Last Theorem An Elementary Approach

SIX PROOFS OF THE INFINITUDE OF PRIMES

Number Theory. Final Exam from Spring Solutions

Discrete Structures Lecture Primes and Greatest Common Divisor

Primes and Factorization

. In particular if a b then N(

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

p = This is small enough that its primality is easily verified by trial division. A candidate prime above 1000 p of the form p U + 1 is

Math 430 Midterm II Review Packet Spring 2018 SOLUTIONS TO PRACTICE PROBLEMS

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,

The Surprising Proofs

Twin primes are pairs of natural numbers (p, p + 2) such that both p and p + 2 are primes.

God may not play dice with the universe, but something strange is going on with the prime numbers.

On the Composite Terms in Sequence Generated from Mersenne-type Recurrence Relations

Number Theory. Jason Filippou UMCP. ason Filippou UMCP)Number Theory History & Definitions / 1

Algebraic Number Theory and Representation Theory

Number Theory Solutions Packet

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

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

Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations

Transcription:

History of Mathematics Paul Yiu Department of Mathematics Florida Atlantic University Summer 2011 6A: Fermat: Beginning of modern number theory (2)

Fermat s little theorem Given a prime p, and any geometric progression 1, a, a 2,..., p must divide some number a n 1 for which n divides p 1. If N is any multiple of the smallest n for which this is so, p divides also a N 1. 1

Fermat s little theorem Given a prime p, and any geometric progression 1, a, a 2,..., p must divide some number a n 1 for which n divides p 1. If N is any multiple of the smallest n for which this is so, p divides also a N 1. This can only be true when a is not divisible by p. Consider the mod p residues of 1, a, a 2,..., Each of these residues is a positive integer < p. Therefore, two of them must be the same. If h is the smallest positive integer for which there is a greater integer k satisfying a k and a h have the same residue, then a h (a k h 1) is divisible by p, and a k h 1 is divisible by p. 2

Fermat s little theorem Given a prime p, and any geometric progression 1, a, a 2,..., p must divide some number a n 1 for which n divides p 1. If N is any multiple of the smallest n for which this is so, p divides also a N 1. 3

Fermat s little theorem Given a prime p, and any geometric progression 1, a, a 2,..., p must divide some number a n 1 for which n divides p 1. If N is any multiple of the smallest n for which this is so, p divides also a N 1. This can only be true when a is not divisible by p. Consider the mod p residues of 1, a, a 2,..., Each of these residues is a positive integer < p. Therefore, two of them must be the same. If h is the smallest positive integer for which there is a greater integer k satisfying a k and a h have the same residue, then a h (a k h 1) is divisible by p, and a k h 1 is divisible by p. Next, we show that a p 1 1 is divisible by p. We offer two proofs. 4

Fermat s little theorem (modern proof) If p is a prime, then for every integer a not divisible by p, a p 1 1 mod p. Proof. If p is prime, the nonzero residues 1, 2,..., p 1 form a group under multiplication. Therefore, if a is an integer not divisible by p, the residues a 1, a 2,..., a(p 1) form a permutation of 1, 2,..., p 1. Therefore, (a 1)(a 2) (a(p 1)) 1 2 (p 1) mod p, Since each of 1, 2,..., p 1 is prime to p, canceling these common factors, we have a p 1 1 mod p. 5

Fermat s little theorem (Inductive proof) Given a prime p, and any geometric progression 1, a, a 2,..., p must divide some number a n 1 for which n divides p 1. If N is any multiple of the smallest n for which this is so, p divides also a N 1. This is true for a = 2: 2 p = (1 + 1) p = 1 + ( ) p + 1 ( ) ( ) p p + + + 1. 2 p 1 Each of the binomial coefficients ( ) p p(p 1) (p k + 1) = k 1 2 k is an integer divisible by p. Therefore, 2 p 2 is divisible by p, so is 2 p 1 1. 6

Fermat s little theorem (inductive proof) For every integer a, (a + 1) p = a p + ( ) p a p 1 + 1 Therefore, (a + 1) p a p 1 is divisible by p, or ((a + 1) p (a + 1)) (a p a) is divisible by p. ( ) ( ) p p a p 2 + + a + 1. 2 p 1 Since 2 p 2 is divisible by p, it follows that a p a is divisible by p for every positive integer a 2, (certainly including a = 1 as well). 7

Fermat s little theorem (inductive proof) For every integer a, (a + 1) p = a p + ( ) p a p 1 + 1 Therefore, (a + 1) p a p 1 is divisible by p, or ((a + 1) p (a + 1)) (a p a) is divisible by p. ( ) ( ) p p a p 2 + + a + 1. 2 p 1 Since 2 p 2 is divisible by p, it follows that a p a is divisible by p for every positive integer a 2, (certainly including a = 1 as well). Therefore, if a is not divisible by p, then a p 1 1 mod p. 8

Fermat s little theorem Given a prime p, and any geometric progression 1, a, a 2,..., p must divide some number a n 1 for which n divides p 1. If N is any multiple of the smallest n for which this is so, p divides also a N 1. Now, if n is the smallest number for which a n 1 is divisible by p, and if a N 1 is also divisible by p, then N must be divisible by n. 9

Fermat s little theorem Given a prime p, and any geometric progression 1, a, a 2,..., p must divide some number a n 1 for which n divides p 1. If N is any multiple of the smallest n for which this is so, p divides also a N 1. Now, if n is the smallest number for which a n 1 is divisible by p, and if a N 1 is also divisible by p, then N must be divisible by n. Suppose N is not divisible by n. Write N = nb + r for 0 < r < n. a N 1 = a nb+r 1 = (a n ) b a r 1 a r 1 mod p. Since a N 1 is divisible by p, so is a r 1 for 0 < r < n. This contradicts the minimality of n. 10

Application to primality test Let k be an odd prime. Every prime factor of M k := 2 k 1 is of the form 2kr + 1. 11

Application to primality test Let k be an odd prime. Every prime factor of M k := 2 k 1 is of the form 2kr + 1. Proof. Let p be a prime factor of 2 k 1. Since k is prime, it is the smallest n for which 2 n 1 is divisible by p. Now, 2 p 1 1 is also divisible by p. Therefore, p 1 is divisible by k, and indeed by 2k since p 1 is even. Therefore, there is an integer r for which p 1 = 2kr, and p = 2kr + 1. 12

Testing Mersenne primes Let k be an odd prime. Every prime factor of M k := 2 k 1 is of the form 2kr + 1. Example 1: M 11 = 2 11 1 = 2047. The only prime divisors are of the form 22r + 1. We need only test prime divisors < 2047 45. It is enough to check p = 23 (with r = 1). Now, indeed, M 11 = 2047 = 23 89. Note that the other prime factor is 89 = 2 11 4 + 1. 13

Testing Mersenne primes Let k be an odd prime. Every prime factor of M k := 2 k 1 is of the form 2kr + 1. Example 1: M 11 = 2 11 1 = 2047. The only prime divisors are of the form 22r + 1. We need only test prime divisors < 2047 45. It is enough to check p = 23 (with r = 1). Now, indeed, M 11 = 2047 = 23 89. Note that the other prime factor is 89 = 2 11 4 + 1. Example 2: M 17 = 2 17 1 = 131071. We need only check prime divisor < 13107 < 363 which are of the form 34r + 1. There are only 4 such primes: 103, 137, 239, and 307. None of these divides 131071, which is therefore a prime. 14

Infinite descent: area of Pythagorean triangle There is no right angled triangle in numbers whose area is a square. Infinite descent: If there is a triangle whose area is a square, then from such a triangle, it is possible to construct a smaller triangle whose area is also a square, and so on, which is impossible. 15

Antecedent of Fermat s theorem There is no right angled triangle in numbers whose area is a square. Bachet s edition of Diophantus Arithmetica contains a supplement to Book VI, in which Bachet gives a necessary and sufficient condition for a rational number A to be the area of a right triangle: (2A) 2 + K 4 = square for some integer K. Bachet asks whether it is possible for a right triangle to have an area equal to a square. In the margin at the end of his copy of Arithmetica, Fermat gave his proof. 16

Fermat s proof by infinite descent There is no right angled triangle in numbers whose area is a square. Proof. Suppose there is one such integer right triangle. We may assume it primitive, i.e., its sidelengths are a = m 2 n 2, n = 2mn, c = m 2 + n 2 for relatively prime integers m, n of different parity. Its area A = mn(m 2 n 2 ) is a square. 17

Fermat s proof by infinite descent There is no right angled triangle in numbers whose area is a square. Proof. Suppose there is one such integer right triangle. We may assume it primitive, i.e., its sidelengths are a = m 2 n 2, n = 2mn, c = m 2 + n 2 for relatively prime integers m, n of different parity. Its area A = mn(m 2 n 2 ) is a square. Now, no two of m, n, m 2 n 2 share common divisors. Therefore, each of these is a square. Write m = p 2 and n = q 2. Then m 2 n 2 = p 4 q 4 is also a square. 18

Fermat s proof by infinite descent There is no right angled triangle in numbers whose area is a square. Proof. Suppose there is one such integer right triangle. We may assume it primitive, i.e., its sidelengths are a = m 2 n 2, n = 2mn, c = m 2 + n 2 for relatively prime integers m, n of different parity. Its area A = mn(m 2 n 2 ) is a square. Now, no two of m, n, m 2 n 2 share common divisors. Therefore, each of these is a square. Write m = p 2 and n = q 2. Then m 2 n 2 = p 4 q 4 is also a square. Note that p 4 q 4 = (p 2 + q 2 )(p 2 q 2 ) and that p 2 + q 2 and p 2 q 2 do not have common divisors, we must have p 2 + q 2 = r 2 and p 2 q 2 = s 2 for some integers r and s. 19

Fermat s proof by infinite descent There is no right angled triangle in numbers whose area is a square. Proof. Suppose there is one such integer right triangle. We may assume it primitive, i.e., its sidelengths are a = m 2 n 2, n = 2mn, c = m 2 + n 2 for relatively prime integers m, n of different parity. Its area A = mn(m 2 n 2 ) is a square. Now, no two of m, n, m 2 n 2 share common divisors. Therefore, each of these is a square. Write m = p 2 and n = q 2. Then m 2 n 2 = p 4 q 4 is also a square. Note that p 4 q 4 = (p 2 + q 2 )(p 2 q 2 ) and that p 2 + q 2 and p 2 q 2 do not have common divisors, we must have p 2 + q 2 = r 2 and p 2 q 2 = s 2 for some integers r and s. From these, 2p 2 = r 2 + s 2 and (2p) 2 = 2(r 2 + s 2 ) = (r + s) 2 + (r s) 2. In other words, (r s, r + s, 2p) is an integer right triangle, and its area is 1 2 (r + s)(r s) = 1 2 (r2 s 2 ) = q 2. This is a smaller triangle since q 2 = n < mn(m 2 n 2 ) = A. 20

Fermat s Last Theorem If n 3, the equation x n + y n = z n has no solution in nonzero integers x, y, z. Origin: Fermat s remark on Diophantus II.8. To divide a given square number into two squares. On the other hand it is impossible to separate a cube into two cubes, or a biquadrate into two biquadrates, or generally any power except a square into two powers of the same exponent. I have discovered a truly marvelous proof of this, which, however, the margin is not large enough to contain. 21

FLT for n = 4 There is no solution of x 4 + y 4 = z 4 in nonzero integers. Suppose, to the contrary, that there are positive integers x, y, z satisfying x 4 + y 4 = z 4. Then z 4 y 4 = x 4. Consider the right triangle with sides z 4 y 4, 2z 2 y 2 and z 4 + y 4. This has area z 2 y 2 (z 4 y 4 ) = x 4 y 2 z 2 = (x 2 yz) 2, contradicting the fact that the area of a right triangle cannot be a square. 22

Brief history of the Fermat Last Theorem Fermat s proof for n = 4. n = 3: Euler gave two proofs in 1760 and 1770. n = 5: P. G. Lejeune Dirichlet (1805-1859) and A. M. Legendre (1752-1833) in 1825. By 1985, known to be true for n 125, 000. G. Faltings (1954 ) proved in 1983 that for each exponent n 3, the equation x n + y n = z n has at most a finite number of solution in x, y, z in which x, y, z have no common divisors. 23

Brief history of the Fermat Last Theorem Fermat s proof for n = 4. n = 3: Euler gave two proofs in 1760 and 1770. n = 5: P. G. Lejeune Dirichlet (1805-1859) and A. M. Legendre (1752-1833) in 1825. By 1985, known to be true for n 125, 000. G. Faltings (1954 ) proved in 1983 that for each exponent n 3, the equation x n + y n = z n has at most a finite number of solution in x, y, z in which x, y, z have no common divisors. In June 1993, Andrew Wiles (1953 ) of Princeton University announced a proof of Fermat s Last Theorem. But a gap was discovered later in the proof. With the help of Richard Taylor, Wiles proof of the Fermat Last Theorem was finally completed in September 1994, and published in the Annals of Mathematics, 1995. 24

Further contributions and challenges Fermat s two-square theorem (proved by Euler): Every prime number of the form 4k + 1 can be written uniquely as a sum of two squares. For examples, 5 = 1 2 + 2 2, 13 = 2 2 + 3 2, 17 = 1 2 + 4 2, 29 = 2 2 + 5 2. Every prime number of the form 3k + 1 can be written as x 2 + 3y 2. Every prime number of the form 8k + 1 or 8k + 3 can be written as x 2 + 2y 2. Find a cube which, added to its proper divisors, gives a square. For example: 7 3 + 7 2 + 7 + 1 = 400 = 20 2. Find a square which, added to its proper divisors, gives a cube: σ(x 2 ) x 2 = y 3. Example given by Frenicle (1612-1675): x = 2 2 5 7 11 37 67 163 191 263 439 499, y = 3 2 7 3 13 19 31 2 67 109. 25