Quadratic Residues, Quadratic Reciprocity. 2 4 So we may as well start with x 2 a mod p. p 1 1 mod p a 2 ±1 mod p

Similar documents
x 2 a mod m. has a solution. Theorem 13.2 (Euler s Criterion). Let p be an odd prime. The congruence x 2 1 mod p,

Introduction to Arithmetic Geometry Fall 2013 Lecture #10 10/8/2013

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

MATH 3240Q Introduction to Number Theory Homework 7

Math 104B: Number Theory II (Winter 2012)

Quadratic Reciprocity

We collect some results that might be covered in a first course in algebraic number theory.

MATH342 Practice Exam

MATH 361: NUMBER THEORY EIGHTH LECTURE

QUADRATIC RECIPROCITY

Primes - Problem Sheet 5 - Solutions

QUADRATIC RECIPROCITY

Jacobi symbols and application to primality

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

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

t s (p). An Introduction

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

3 Properties of Dedekind domains

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

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

6 Binary Quadratic forms

Mobius Functions, Legendre Symbols, and Discriminants

Practice Final Solutions

Practice Final Solutions

LECTURE 10: JACOBI SYMBOL

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

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

MA3H1 TOPICS IN NUMBER THEORY PART III

By Evan Chen OTIS, Internal Use

MATH 371 Class notes/outline October 15, 2013

Factor Rings and their decompositions in the Eisenstein integers Ring Z [ω]

Solving the general quadratic congruence. y 2 Δ (mod p),

Legendre polynomials and Jacobsthal sums

RECIPROCITY LAWS JEREMY BOOHER

CONGRUENCES CONCERNING LUCAS SEQUENCES ZHI-HONG SUN

16 The Quadratic Reciprocity Law

Number Theory Naoki Sato

Quadratic Residues. Chapter Quadratic residues

MAT 311 Solutions to Final Exam Practice

PROBLEM SET 5 SOLUTIONS. Solution. We prove that the given congruence equation has no solutions. Suppose for contradiction that. (x 2) 2 1 (mod 7).

Mersenne and Fermat Numbers

Maths 4 Number Theory Notes 2012 Chris Smyth, University of Edinburgh ed.ac.uk

SQUARES IN Z/NZ. q = ( 1) (p 1)(q 1)

MA3H1 Topics in Number Theory. Samir Siksek

THE DIOPHANTINE EQUATION x 4 +1=Dy 2

1 Integers and the Euclidean algorithm

Quadratic Reciprocity. As in the previous notes, we consider the Legendre Symbol, defined by

HENSEL S LEMMA KEITH CONRAD

Small Zeros of Quadratic Forms Mod P m

Math 5330 Spring Notes Prime Numbers

Introductory Number Theory

GAUSSIAN INTEGERS HUNG HO

PERIODS OF FIBONACCI SEQUENCES MODULO m. 1. Preliminaries Definition 1. A generalized Fibonacci sequence is an infinite complex sequence (g n ) n Z

School of Mathematics

Material covered: Class numbers of quadratic fields, Valuations, Completions of fields.

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

MAS 4203 Number Theory. M. Yotov

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018

Solutions to Problem Set 7

A Curious Property of the Decimal Expansion of Reciprocals of Primes

Algebraic Number Theory

THE LEAST PRIME QUADRATIC NONRESIDUE IN A PRESCRIBED RESIDUE CLASS MOD 4

MATH 361: NUMBER THEORY ELEVENTH LECTURE

19th Bay Area Mathematical Olympiad. Problems and Solutions. February 28, 2017

Diophantine Equations and Congruences

Pythagorean triples and sums of squares

Ernie Croot 1. Department of Mathematics, Georgia Institute of Technology, Atlanta, GA Abstract

Frobenius Elements, the Chebotarev Density Theorem, and Reciprocity

POINTS ON CONICS MODULO p

Functions of a Complex Variable

RATIONAL AND INTEGRAL POINTS ON CURVES. Andrew Granville. Table of Contents

Verifying Two Conjectures on Generalized Elite Primes

arxiv: v2 [math.nt] 9 Oct 2018

Wilson s Theorem and Fermat s Little Theorem

On the Diophantine Equation x 2 = 4q n 4q m + 9

Session 5: Review of Classical Astrodynamics

Math 99 Review for Exam 3

The Euler Phi Function

Characteristics of Fibonacci-type Sequences

A CRITERION FOR POLYNOMIALS TO BE CONGRUENT TO THE PRODUCT OF LINEAR POLYNOMIALS (mod p) ZHI-HONG SUN

Introduction to Arithmetic Geometry Fall 2013 Lecture #2 09/10/2013

.4. Congruences. We say that a is congruent to b modulo N i.e. a b mod N i N divides a b or equivalently i a%n = b%n. So a is congruent modulo N to an

MATH 371 Class notes/outline September 24, 2013

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

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

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

MPRI Cours I. Motivations. Lecture VI: continued fractions and applications. II. Continued fractions

On the Multiplicative Order of a n Modulo n

Number Theory. Lectured by V. Neale Michaelmas Term 2011

AN IMPROVED BABY-STEP-GIANT-STEP METHOD FOR CERTAIN ELLIPTIC CURVES. 1. Introduction

THE THEORY OF NUMBERS IN DEDEKIND RINGS

THUE-VINOGRADOV AND INTEGERS OF THE FORM x 2 + Dy 2. Contents. Introduction Study of an Elementary Proof

The Jacobi Symbol. q q 1 q 2 q n

Diophantine Equations

Idempotent Elements in Quaternion Rings over Z p

Quadratic reciprocity and the Jacobi symbol Stephen McAdam Department of Mathematics University of Texas at Austin

1/25/2018 LINEAR INDEPENDENCE LINEAR INDEPENDENCE LINEAR INDEPENDENCE LINEAR INDEPENDENCE

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

arxiv: v1 [math.nt] 9 Sep 2015

LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS CONTAINING SQUARE-FREE NUMBERS AND PERFECT POWERS OF PRIME NUMBERS

Transcription:

Lecture 9 Quadratic Residues, Quadratic Recirocity Quadratic Congruence - Consider congruence ax + bx + c 0 mod, with a 0 mod. This can be reduced to x + ax + b 0, if we assume that is odd ( is trivial case). We can now comlete the square to get ( a ) a x + + b 0 4 mod So we may as well start with x a mod If a 0 mod, then x 0 is the only lution. Otherwise, there are either no lutions, or exactly two lutions (if b a mod, then x ± b mod ). (x a b mod x b (x b)(x + b) x b or b mod ). We want to know when there are 0 or lutions. (Definition) Quadratic Residue: Let be an odd rime, a 0 mod. We say that a is a quadratic residue mod if a is a square mod (it is a quadratic non-residue otherwise). Lemma 39. Let a mod 0 mod. Then a is a quadratic residuemod iff a Proof. By FLT, a mod and is even. This follows from index calculus. Alternatively, let s see it directly ( a ) mod a ± mod Let g be a rimitive root mod., g, g... g },,... } mod. Then a g k mod for me k. With that a g k+( )m mod k s only defined mod. In articular, since is even, we know k is even or odd doesn t deend on whether we shift by a multile of. (ie., k is well defined mod ). We know that a is quadratic residue mod iff k is even (if k l then a g l (g l ) mod ). Conversely if a b mod and b g l mod we get a g l mod, k is even. Note: this shows that half of residue class mod are quadratic residues, and half are quadratic nonresidues. Now look at ( ) k( ) a g k g mod. k mod iff ord g divides k( ) iff ( ) k( ) k a is a quadratic residue.

(Definition) Legendre Symbol: ( a ) if a is a quadratic residue mod if a is a quadratic non-residue mod Defined for odd rime, when (a, ). (For convenience and clarity, written (a )). We just showed that (a ) a mod. Remark. This formula shows us that (a )(b ) (ab ). LHS a b (ab) mod RHS mod and since both sides are ± mod, which is an odd rime, they must be equal Similarly, (a ) (a ) Eg. ( 4 79) ( 79) ( 79)( 79) ( 79) ( ) 39 Al, 79 is not mod 4 is quadratic non-residue. We ll work toward quadratic recirocity relating ( q) to (q ). We ll do Gauss s 3rd roof. Lemma 40 (Gauss Lemma). Let be an odd rime, and a 0 mod. For any integer x, let x be the residue of x mod which has the smallest ablute value. (Divide x by, get me remainder 0 b <. If b >, let x b, if b >, let x be b. ie., < x < ) Let n be the number of integers among (a), (a), (3a)... (( )a) which are negative. Then (a ) ( ) n. Proof. (Similar to roof of Fermat s little Theorem) We claim first that if k l then (ka) ±(la). Suose not true: (ka) ±(la). Then, we d have ka ±la mod (k l)a 0 mod k l 0 mod This is imossible because k + l and < k l < and k l 0 (no multile of ossible). So the numbers (ka) for k... are all distinct mod (there s of

them) and must be the integers, 3... } in me order. ( ) (ka) mod ( ) n (ka) mod ( ) n k ka mod ( ( a )) ( ) n mod a ( ) n mod a ( ) n mod (a ) ( ) n mod (a ) ( ) n since > where the second ste follows from the fact that exactly n of the numbers (ka) are < 0. Theorem 4. If is an odd rime, and (a, ), then if a is odd, we have (a b) ( ( ) t )/ ja ( where t )/. Al, ( ) ( ) j Proof. We ll use the Gauss Lemma. Note that we re only interested in ( ) n. We only care about n mod. We have, for every k between and ka 0 if (ka) > 0 ka + (ka) + if (ka) < 0 ka 0 if (ka) > 0 + (ka) + mod if (ka) < 0 Sum all of these congruences mod 3

( )/ ( )/ ka ka ( )/ + (ka) + n mod ( )/ ( ka a )/ k ( ) ( ) a + a( ) Now (a). Since a,..., a } is just... }, Plug in to get ( )/ ( )/ ( ka) k ( ) ( ) ( ) ( ) ( )/ ka n a + mod ( (a ) / ) ( ) + ( ka ) mod If a is odd, we have is integer and a is even, roduct 0 mod, to get n ( )/ t mod ka So (a ) ( ) n ( ) t mod When a, n + ( )/ k mod 4

So, note that for k... } k k 0 < < k 0 n ( )/ (k ) 0 mod and ( ) ( n ) ( ) So far, if mod 4 ( ) ( ) if 3 mod 4 Check if, 7 mod ( ) ( ) if 3, 5 mod 4 Theorem 4 (Quadratic Recirocity Law). If, q are distinct odd rimes, then q if or q mod 4 ( q)(q ) ( ) otherwise Proof. Consider the right angled triangle with vertices (0, 0), (, 0), (, q ). Note that: no integer oints on vertical side, no nonzero integer oints on hyotenuse (sloe is q, if we had integer oint (a, b) then b q a b qa, a, q b, and if (a, b) (0, 0), then a, b q). Ignore the ones on horizontal side. Claim: the number of integer oints on interior of triangle is ( )/ qk 5

Proof. If we have a oint (k, l), then k and sloe l k l < qk. Number of oints on the segment x k is the number of ossible l, which is qk just. < q Add these (take triangle, rotate, add to make rectangle) - adding oints in interior of rectangle is ( )/ ( l + q )/ l ( ) ( ) qk q (q ) ( ) t where t qk l ( q) ( ) t where t q ( q)(q ) ( ) t+t where t + t total number of oints 6

MIT OenCourseWare htt://ocw.mit.edu.7 Theory of Numbers Sring 0 For information about citing these materials or our Terms of Use, visit: htt://ocw.mit.edu/terms.