Math 4400 First Midterm Examination September 21, 2012 ANSWER KEY. Please indicate your reasoning and show all work on this exam paper.

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

Number Theory. Modular Arithmetic

Number Theory Math 420 Silverman Exam #1 February 27, 2018

The number of ways to choose r elements (without replacement) from an n-element set is. = r r!(n r)!.

Discrete Mathematics with Applications MATH236

1 Structure of Finite Fields

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

Number Theory Alex X. Liu & Haipeng Dai

5 Group theory. 5.1 Binary operations

Number Theory and Algebra: A Brief Introduction

MATH 25 CLASS 21 NOTES, NOV Contents. 2. Subgroups 2 3. Isomorphisms 4

Homework #2 solutions Due: June 15, 2012

Applied Cryptography and Computer Security CSE 664 Spring 2017

Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm

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

Basic elements of number theory

Basic elements of number theory

MTH 346: The Chinese Remainder Theorem

MATH 3240Q Introduction to Number Theory Homework 4

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

Foundations of Cryptography

A Readable Introduction to Real Mathematics

Wilson s Theorem and Fermat s Little Theorem

Numbers. Çetin Kaya Koç Winter / 18

The Chinese Remainder Theorem

Number Theory. CSS322: Security and Cryptography. Sirindhorn International Institute of Technology Thammasat University CSS322. Number Theory.

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

COMP239: Mathematics for Computer Science II. Prof. Chadi Assi EV7.635

Quadratic Congruences, the Quadratic Formula, and Euler s Criterion

Lecture 4: Number theory

Groups in Cryptography. Çetin Kaya Koç Winter / 13

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald)

Mathematics for Cryptography

Total 100

MATH 145 Algebra, Solutions to Assignment 4

Math 546, Exam 2 Information.

Carmen s Core Concepts (Math 135)

3 The fundamentals: Algorithms, the integers, and matrices

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

Notes on Systems of Linear Congruences

Number Theory and Group Theoryfor Public-Key Cryptography

Lecture 3.1: Public Key Cryptography I

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

[Part 2] Asymmetric-Key Encipherment. Chapter 9. Mathematics of Cryptography. Objectives. Contents. Objectives

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

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

ALGEBRA I (LECTURE NOTES 2017/2018) LECTURE 9 - CYCLIC GROUPS AND EULER S FUNCTION

Number Theory Proof Portfolio

PMA225 Practice Exam questions and solutions Victor P. Snaith

( ) 3 = ab 3 a!1. ( ) 3 = aba!1 a ( ) = 4 " 5 3 " 4 = ( )! 2 3 ( ) =! 5 4. Math 546 Problem Set 15

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

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

Topics in Cryptography. Lecture 5: Basic Number Theory

Math 31 Take-home Midterm Solutions

Congruences and Residue Class Rings

Chapter 3 Basic Number Theory

4 Number Theory and Cryptography

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

Introduction to Number Theory

MATH 420 FINAL EXAM J. Beachy, 5/7/97

4 Powers of an Element; Cyclic Groups

2. THE EUCLIDEAN ALGORITHM More ring essentials

a the relation arb is defined if and only if = 2 k, k

Public-key Cryptography: Theory and Practice

MATH 361: NUMBER THEORY FOURTH LECTURE

A Few Primality Testing Algorithms

Notes on Primitive Roots Dan Klain

A SURVEY OF PRIMALITY TESTS

Theorems and Definitions in Group Theory

Iterated Encryption and Wiener s attack on RSA

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

Kevin James. MTHSC 412 Section 3.4 Cyclic Groups

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

MATH 4107 (Prof. Heil) PRACTICE PROBLEMS WITH SOLUTIONS Spring 2018

LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS

7. Prime Numbers Part VI of PJE

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

2 More on Congruences

The Euclidean Algorithm and Multiplicative Inverses

ECEN 5022 Cryptography

4.4 Solving Congruences using Inverses

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

Basic Algorithms in Number Theory

Finite Fields. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

Introduction to Cryptography. Lecture 6

Coding Theory ( Mathematical Background I)

Some Facts from Number Theory

Theory of Numbers Problems

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

Q 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today?

Summary Slides for MATH 342 June 25, 2018

I216e Discrete Math (for Review)

Ma/CS 6a Class 2: Congruences

Public Key Cryptography

The group (Z/nZ) February 17, In these notes we figure out the structure of the unit group (Z/nZ) where n > 1 is an integer.

This exam contains 5 pages (including this cover page) and 4 questions. The total number of points is 100. Grade Table

CHAPTER 3. Congruences. Congruence: definitions and properties

7.2 Applications of Euler s and Fermat s Theorem.

Transcription:

Name: Math 4400 First Midterm Examination September 21, 2012 ANSWER KEY Please indicate your reasoning and show all work on this exam paper. Relax and good luck! Problem Points Score 1 20 20 2 20 20 3 20 20 4 20 20 5 20 20 Total 100 100 You may use the following consequence of Euclid s algorithm. Mention it if and when you do so. Fundamental Theorem. If a and b are natural numbers, then there are integers x and y that solve the equation: ax + by = gcd(a, b) 1

2 1. Give precise definitions of each of the following (4 points each) (a) The greatest common divisor of natural numbers a and b The greatest common divisor of a and b is the largest integer d with the property that d a and d b. (b) A group (G, ) This is a set with a binary operation satisfying the following: (i) Associativity. For all a, b, c G, (ab)c = a(bc). (ii) Unit. There is an e G such that ae = ea = a for all a G. (iii) Inverses. For all a G, there is a b G such that ab = ba = e. (c) The order of an element g G of a group The order of g, denoted o(g), is the smallest positive integer n such that g n = e, or, if there is no such n, then the order of g is infinity. (d) The group ((Z/nZ), ) for a given natural number n > 1 This is the group of integers (mod n) that are relatively prime to n, with multiplication (mod n) as the binary operation. (e) The Euler φ function φ(n) This is the order of the group in (d), or, equivalently, the number of integers between 0 and n that are relatively prime to n.

3 2. Suppose a, b are natural numbers that satisfy the equation: 24a 23b = 1 (a) (5 points) Explain carefully why a and b are relatively prime. Suppose d a and d b. Then d (24a 23b). In other words, every common divisor of a and b divides 1, so the greatest common divisor divides 1. Thus the greatest common divisor of a and b is 1. Now let a = 139 and b = 145 (these satisfy the equation!) (b) (5 points) Find a natural number n 138 such that: n = b 1 in the group (Z/139Z) It is immediate from the equation: 24 139 (23)(145) = 1 that b 1 23 (mod 139). But this is not a natural number. To get a natural number, just add 139. This gives: 23 + 139 = 116 (c) (10 points) Find an integer k with the property that: k 2 (mod 139) and k 3 (mod 145) Going backwards in the Chinese Remainder Theorem gives us an answer of: axt + bys when we seek a number that is congruent to s (mod a) and t (mod b). In this case, that is: (139)(24)(3) + (145)( 23)(2) = 3338

4 3. (20 points) (a) (10 points) Suppose a, b, n are natural numbers such that: Prove that ab n. gcd(a, b) = 1, a n and b n Here we must use the Fundamental Theorem: ax + by = 1 from the first page of the exam. Suppose a n and b n. Then: n = axn + byn (multiplying the previous equation by n). But ab (axn) because b n and ab (byn) because a n, so: ab n because n = axn + byn (b) (10 points) Carefully state the Chinese Remainder Theorem, and explain how (a) is used to prove it. The Chinese Remainder Theorem says that if gcd(a, b) = 1, then: Z/abZ Z/aZ Z/bZ is a bijection, from which it follows that the map on the multiplicative groups is also a bijection. Since both sets have ab elements, if suffices to prove that the map is an injection. That is, it suffices to show that: x y (mod a) and x y (mod b) imply that x y (mod ab) In other words, if a (y x) and b (y x), we need to know that ab (y x). But this is precisely what we just proved in (a).

4. (a) (5 points) Compute the following values of the Euler φ function: 5 φ(15) = 8 φ(16) = 8 φ(36) = 12 φ(37) = 36 φ(91) = 72 (b) (15 points) Fill out the following table, listing all the elements a (Z/15Z), their inverses, and their orders. a a 1 o(a) 1 1 1 2 8 4 4 4 2 7 13 4 8 2 4 11 11 2 13 7 4 14 14 2

6 5. (a) (5 points) Carefully state Lagrange s Theorem. If G is a finite group and g G, then o(g) G. (b) (5 points) Carefully state Fermat s Little Theorem. If p is a prime and p does not divide a, then: a p 1 1 (mod p) (c) (5 points) Carefully state Euler s Theorem. If a and n are relatively primes, then: a φ(n) 1 (mod n) where φ(n) is the Euler phi function of n. (d) (5 points) 10 3 = 999 + 1 and 999 = 27 37 Explain why this implies that 27 is not a prime number, but that this does not tell us whether or not 37 is prime (in fact, 37 is prime). Suppose 27 were a prime number. Then by Lagrange s theorem, the element 10 (Z/27Z) must have order dividing 26 = 27 1 (which would be the order of the group). But the order of 10 is 3 since: 10 3 1 (mod 27) and 3 does not divide 26, so it follows that 27 is not prime! On the other hand, 3 does divide 37 1 = 36, which is consistent with Lagrange s theorem applied to 10 (Z/37Z). This is not enough to conclude that 37 is a prime, however.