Math 412: Number Theory Lecture 26 Gaussian Integers II

Similar documents
Math 412: Number Theory Lecture 25 Gaussian Integers

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

1. Factorization Divisibility in Z.

School of Mathematics

Solving Diophantine Equations With Unique Factorization

. In particular if a b then N(

Homework 6 Solution. Math 113 Summer 2016.

THE JOHNS HOPKINS UNIVERSITY Faculty of Arts and Sciences FINAL EXAM - FALL SESSION ADVANCED ALGEBRA I.

Lecture Notes for Math 492 Fall 2014 (Algebraic Number Theory)

Introduction to Algebraic Number Theory Part I

Math 412: Number Theory Lecture 3: Prime Decomposition of

Math 109 HW 9 Solutions

OSTROWSKI S THEOREM FOR Q(i)

QUADRATIC RINGS PETE L. CLARK

THE GAUSSIAN INTEGERS

1. Fermat, Euler, and Nonunique Factorization

Math Theory of Number Homework 1

MATH 216T TOPICS IN NUMBER THEORY

Just like the ring of Gaussian integers, the ring of Eisenstein integers is a Unique Factorization Domain.

Application of the Euler Phi Function in the Set of Gaussian Integers

Continuing the pre/review of the simple (!?) case...

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

Perfect Numbers in Quadratic Rings of Integers

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

Math 412: Number Theory Lecture 13 Applications of

Chuck Garner, Ph.D. May 25, 2009 / Georgia ARML Practice

Efficient algorithms for gcd and cubic residuosity in the ring of Eisenstein integers

MATH 216T TOPICS IN NUMBER THEORY

M381 Number Theory 2004 Page 1

Extension and Generalization of Fermat s Little Theorem to the Gaussian Integers

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

PRACTICE FINAL MATH , MIT, SPRING 13. You have three hours. This test is closed book, closed notes, no calculators.

Divisibility Sequences for Elliptic Curves with Complex Multiplication

M3P14 LECTURE NOTES 8: QUADRATIC RINGS AND EUCLIDEAN DOMAINS

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018

Perspectives of Mathematics

Number Theory Basics Z = {..., 2, 1, 0, 1, 2,...} For, b Z, we say that divides b if z = b for some. Notation: b Fact: for all, b, c Z:

SPECIAL CASES OF THE CLASS NUMBER FORMULA

MATH 361: NUMBER THEORY FOURTH LECTURE

MATH 145 Algebra, Solutions to Assignment 4

Contents. 4 Arithmetic and Unique Factorization in Integral Domains. 4.1 Euclidean Domains and Principal Ideal Domains

Chapter 1. From Euclid to Gauss. 1.1 Prime numbers. If a, b Z we say that a divides b (or is a divisor of b) and we write a b, if.

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

Congruence of Integers

Study Guide and Intervention

MODEL ANSWERS TO HWK #10

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

THUE S LEMMA AND IDONEAL QUADRATIC FORMS

1. multiplication is commutative and associative;

Factorization of zeta-functions, reciprocity laws, non-vanishing

FACTORING IN QUADRATIC FIELDS. 1. Introduction

THUE S LEMMA AND IDONEAL QUADRATIC FORMS

Math 1302 Notes 2. How many solutions? What type of solution in the real number system? What kind of equation is it?

4 Number Theory and Cryptography

Course 2316 Sample Paper 1

Quadratics. Shawn Godin. Cairine Wilson S.S Orleans, ON October 14, 2017

CSE 20 DISCRETE MATH. Winter

Number Theory. Final Exam from Spring Solutions

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

MATH 310: Homework 7

(January 14, 2009) q n 1 q d 1. D = q n = q + d

A CLASSIFICATION OF GAUSSIAN PRIMES

MATH 152 Problem set 6 solutions

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

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

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

18. Cyclotomic polynomials II

THE NUMBERS THAT CAN BE REPRESENTED BY A SPECIAL CUBIC POLYNOMIAL

MATH 361: NUMBER THEORY TWELFTH LECTURE. 2 The subjects of this lecture are the arithmetic of the ring

Quadratic Prime-Generating Polynomials Over the Gaussian Integers

ALGEBRAIC NUMBER THEORY - COURSE NOTES

Homework #2 solutions Due: June 15, 2012

Math 324, Fall 2011 Assignment 7 Solutions. 1 (ab) γ = a γ b γ mod n.

44.(ii) In this case we have that (12, 38) = 2 which does not divide 5 and so there are no solutions.

Rings and modular arithmetic

Fibonacci Diophantine Triples

Explicit Methods in Algebraic Number Theory

TOTALLY RAMIFIED PRIMES AND EISENSTEIN POLYNOMIALS. 1. Introduction

Lecture 7.5: Euclidean domains and algebraic integers

RSA in extensions of the ring of integers

Discrete Math, Fourteenth Problem Set (July 18)

Tomáš Madaras Congruence classes

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

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

arxiv: v1 [math.nt] 29 Feb 2016

Number Theory and Group Theoryfor Public-Key Cryptography

Math Midterm Solutions

7.2 Applications of Euler s and Fermat s Theorem.

Ideals: Definitions & Examples

CISC-102 Winter 2016 Lecture 11 Greatest Common Divisor

Number theory (Chapter 4)

GAUSSIAN INTEGERS HUNG HO

Math 210B: Algebra, Homework 1

Algorithms. Shanks square forms algorithm Williams p+1 Quadratic Sieve Dixon s Random Squares Algorithm

ON THE EXTENSIBILITY OF DIOPHANTINE TRIPLES {k 1, k + 1, 4k} FOR GAUSSIAN INTEGERS. Zrinka Franušić University of Zagreb, Croatia

NUMBER THEORY AND CODES. Álvaro Pelayo WUSTL

Mathematics of Cryptography

Homework 7 solutions M328K by Mark Lindberg/Marie-Amelie Lawn

Galois theory (Part II)( ) Example Sheet 1

Transcription:

Math 412: Number Theory Lecture 26 Gaussian Integers II Gexin Yu gyu@wm.edu College of William and Mary

Let i = 1. Complex numbers of the form a + bi with a, b Z are called Gaussian integers. Let z = a + bi and define the norm N(z) = z 2 = zz = a 2 + b 2 Def: α divides β if β = αγ for some γ Z[i]; and write as α β. Units: e is called a unit if e 1. The units are 1, 1, i, i. When e is a unit, ea is an associate of the Gaussian integer a. Thm: let α and β be Gaussian integers with β 0. Then there exist γ, ρ Z[i] such that α = βγ + ρ, and 0 N(ρ) < N(β). The GCD of two Gaussian integers α and β is the Gaussian integer γ so that (a) γ α and γ β; (b) if δ α and δ β, then δ γ. THM: if α and β are Gaussian integers, not both zero, then there exists a gcd γ of α and β; also there exists u, v Z[i] (Bezout coefficients of α and β) such that γ = uα + vβ.

GCD THM: if γ 1 and γ 2 are both gcd of α and β, not both zero, then γ 1 and γ 2 are associates of each other.

GCD THM: if γ 1 and γ 2 are both gcd of α and β, not both zero, then γ 1 and γ 2 are associates of each other. Def: α and β are coprime if their gcd are 1, 1, i, i.

GCD THM: if γ 1 and γ 2 are both gcd of α and β, not both zero, then γ 1 and γ 2 are associates of each other. Def: α and β are coprime if their gcd are 1, 1, i, i. Euclidean Algorithm: one can do the algorithm so that ρ i = ρ i+1 γ i+1 + r i+2 so that when N(ρ j ) = 0, ρ j 1 is the gcd.

Ex: Find the gcd of 19 + 4i and 6 + 5i.

Gaussian Prime A nonzero Gaussian integer π is a Gaussian prime if it is not a unit and is divisible only by units and its associates.

Gaussian Prime A nonzero Gaussian integer π is a Gaussian prime if it is not a unit and is divisible only by units and its associates. THM: if π is a Gaussian integer and N(π) = p, where p is a rational prime, then π and π are Gaussian primes, and p is not a Gaussian prime.

Gaussian Prime A nonzero Gaussian integer π is a Gaussian prime if it is not a unit and is divisible only by units and its associates. THM: if π is a Gaussian integer and N(π) = p, where p is a rational prime, then π and π are Gaussian primes, and p is not a Gaussian prime. Ex: 2 i is a Gaussian prime, and 5 is not a Gaussian prime; 2 + 3i is a Gaussian prime, and 13 is not a Gaussian prime.

Gaussian Prime A nonzero Gaussian integer π is a Gaussian prime if it is not a unit and is divisible only by units and its associates. THM: if π is a Gaussian integer and N(π) = p, where p is a rational prime, then π and π are Gaussian primes, and p is not a Gaussian prime. Ex: 2 i is a Gaussian prime, and 5 is not a Gaussian prime; 2 + 3i is a Gaussian prime, and 13 is not a Gaussian prime. Ex: 3 is a Gaussian prime, but N(3) = 9 is not a rational prime.

Gaussian Prime A nonzero Gaussian integer π is a Gaussian prime if it is not a unit and is divisible only by units and its associates. THM: if π is a Gaussian integer and N(π) = p, where p is a rational prime, then π and π are Gaussian primes, and p is not a Gaussian prime. Ex: 2 i is a Gaussian prime, and 5 is not a Gaussian prime; 2 + 3i is a Gaussian prime, and 13 is not a Gaussian prime. Ex: 3 is a Gaussian prime, but N(3) = 9 is not a rational prime. Ex: 2 is not a Gaussian prime, since 2 = (1 + i)(1 i), but 1 + i and 1 i are both prime.

Unique factorization THM: if π is a Gaussian prime and α and β are Gaussian integers such that π αβ, then π α or π β.

Unique factorization THM: if π is a Gaussian prime and α and β are Gaussian integers such that π αβ, then π α or π β. THM: suppose that γ is a nonzero Gaussian integer that is not a unit, then γ can be written as a product of Gaussian primes and up to associates, the factorization is unique.

Unique factorization THM: if π is a Gaussian prime and α and β are Gaussian integers such that π αβ, then π α or π β. THM: suppose that γ is a nonzero Gaussian integer that is not a unit, then γ can be written as a product of Gaussian primes and up to associates, the factorization is unique. Ex: 20 = (1 + i) 4 (1 + 2i)(1 2i).

Fermat s two square theorem Revisit THM: every prime of the form 4k + 1 can be written as a sum of two perfect squares, and the sum is unique.

Fermat s two square theorem Revisit THM: every prime of the form 4k + 1 can be written as a sum of two perfect squares, and the sum is unique. Pf: We observe that t 2 1 (mod p) has a solution, since 1 is quadratic residue modulo p. So p (t 2 + 1) = (t + i)(t i). But p t + i and p t i, so p is not a Gaussian prime. Let p = αβ. Then N(p) = N(αβ) = N(α)N(β) and thus p = N(α) = N(β).

Fermat s two square theorem Revisit THM: every prime of the form 4k + 1 can be written as a sum of two perfect squares, and the sum is unique. Pf: We observe that t 2 1 (mod p) has a solution, since 1 is quadratic residue modulo p. So p (t 2 + 1) = (t + i)(t i). But p t + i and p t i, so p is not a Gaussian prime. Let p = αβ. Then N(p) = N(αβ) = N(α)N(β) and thus p = N(α) = N(β). Lem: Let π be a Gaussian prime, then there is exactly one rational prime p such that π p.

Fermat s two square theorem Revisit THM: every prime of the form 4k + 1 can be written as a sum of two perfect squares, and the sum is unique. Pf: We observe that t 2 1 (mod p) has a solution, since 1 is quadratic residue modulo p. So p (t 2 + 1) = (t + i)(t i). But p t + i and p t i, so p is not a Gaussian prime. Let p = αβ. Then N(p) = N(αβ) = N(α)N(β) and thus p = N(α) = N(β). Lem: Let π be a Gaussian prime, then there is exactly one rational prime p such that π p. pf: π π = N(π) = p 1 p 2..p k, so π p i for some i. If π p 1 and π p 2, then π mp 1 + np 2 = 1, so π is a unit.

THM: let p be a rational prime. Then

THM: let p be a rational prime. Then (a) if p = 2, then p = (1 + i)(1 i) = i(1 i) 2 ;

THM: let p be a rational prime. Then (a) if p = 2, then p = (1 + i)(1 i) = i(1 i) 2 ; (b) if p 3 (mod 4), then p is a Gaussian prime.

THM: let p be a rational prime. Then (a) if p = 2, then p = (1 + i)(1 i) = i(1 i) 2 ; (b) if p 3 (mod 4), then p is a Gaussian prime. (c) if p 1 (mod 4), then p = ππ, where π and π are Gaussian primes that are not associates with N(π) = N(π ) = p.

THM: let p be a rational prime. Then (a) if p = 2, then p = (1 + i)(1 i) = i(1 i) 2 ; (b) if p 3 (mod 4), then p is a Gaussian prime. (c) if p 1 (mod 4), then p = ππ, where π and π are Gaussian primes that are not associates with N(π) = N(π ) = p. THM: if n = 2 m p e 1 1...pe k k qf 1 1..qt ft with m 0, f i even, and p i of form 4t + 1, and q i of form 4t + 3, then n has 4(e 1 + 1)(e 2 + 1)...(e k + 1) ways to write as a sum of two squares.

Pythagorean triples: another application of Gaussian integers z 2 = x 2 + y 2 = (x + yi)(x yi):

Pythagorean triples: another application of Gaussian integers z 2 = x 2 + y 2 = (x + yi)(x yi): Claim: if (x, y) = 1 as rational integers, then x + yi and x yi are coprime as Gaussian integers.

Pythagorean triples: another application of Gaussian integers z 2 = x 2 + y 2 = (x + yi)(x yi): Claim: if (x, y) = 1 as rational integers, then x + yi and x yi are coprime as Gaussian integers. Lemma: if αβ = γ 2 and α and β are coprime, then α = uδ1 2 and β = δ2 2 /u, where u is a unit. (hw)

Pythagorean triples: another application of Gaussian integers z 2 = x 2 + y 2 = (x + yi)(x yi): Claim: if (x, y) = 1 as rational integers, then x + yi and x yi are coprime as Gaussian integers. Lemma: if αβ = γ 2 and α and β are coprime, then α = uδ1 2 and β = δ2 2 /u, where u is a unit. (hw) Therefore we have x + yi = (s + ti) 2, (s + ti) 2, i(s + ti) 2, i(s + ti) 2.