UNIVERSITY OF MANITOBA DATE: December 7, FINAL EXAMINATION TITLE PAGE TIME: 3 hours EXAMINER: M. Davidson

Similar documents
6. Find an inverse of a modulo m for each of these pairs of relatively prime integers using the method

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2

NUMBER THEORY AMIN WITNO

MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005

Final exam. Question Points Score. Total: 150

Solutions to Exam 1. Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively prime positive integers.

b) Find all positive integers smaller than 200 which leave remainder 1, 3, 4 upon division by 3, 5, 7 respectively.

Discrete Square Root. Çetin Kaya Koç Winter / 11

Collection of rules, techniques and theorems for solving polynomial congruences 11 April 2012 at 22:02

University of British Columbia. Math 312, Midterm, 6th of June 2017

Mathematics Explorers Club Fall 2012 Number Theory and Cryptography

Is 1 a Square Modulo p? Is 2?

Foundations of Cryptography

MTH 3527 Number Theory Quiz 10 (Some problems that might be on the quiz and some solutions.) 1. Euler φ-function. Desribe all integers n such that:

Diffie-Hellman key-exchange protocol

DUBLIN CITY UNIVERSITY

SOLUTIONS TO PROBLEM SET 5. Section 9.1

Exam 1 7 = = 49 2 ( ) = = 7 ( ) =

Assignment 2. Due: Monday Oct. 15, :59pm

Solutions to Problem Set 6 - Fall 2008 Due Tuesday, Oct. 21 at 1:00

MT 430 Intro to Number Theory MIDTERM 2 PRACTICE

Solutions for the Practice Final

The Chinese Remainder Theorem

PRIMES IN SHIFTED SUMS OF LUCAS SEQUENCES. Lenny Jones Department of Mathematics, Shippensburg University, Shippensburg, Pennsylvania

Quadratic Residues. Legendre symbols provide a computational tool for determining whether a quadratic congruence has a solution. = a (p 1)/2 (mod p).

L29&30 - RSA Cryptography

Discrete Math Class 4 ( )

Multiples and Divisibility

Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating by hand.

Introduction to Modular Arithmetic

Degree project NUMBER OF PERIODIC POINTS OF CONGRUENTIAL MONOMIAL DYNAMICAL SYSTEMS

Data security (Cryptography) exercise book

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g.,

Cryptography CS 555. Topic 20: Other Public Key Encryption Schemes. CS555 Topic 20 1

CHAPTER 2. Modular Arithmetic

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague 7 November, CS1800 Discrete Structures Midterm Version C

Primitive Roots. Chapter Orders and Primitive Roots

Example Enemy agents are trying to invent a new type of cipher. They decide on the following encryption scheme: Plaintext converts to Ciphertext

Introduction to Number Theory 2. c Eli Biham - November 5, Introduction to Number Theory 2 (12)

MAT Modular arithmetic and number theory. Modular arithmetic

LECTURE 3: CONGRUENCES. 1. Basic properties of congruences We begin by introducing some definitions and elementary properties.

Wilson s Theorem and Fermat s Theorem

Example Enemy agents are trying to invent a new type of cipher. They decide on the following encryption scheme: Plaintext converts to Ciphertext

MA/CSSE 473 Day 9. The algorithm (modified) N 1

Sheet 1: Introduction to prime numbers.

p 1 MAX(a,b) + MIN(a,b) = a+b n m means that m is a an integer multiple of n. Greatest Common Divisor: We say that n divides m.

The Chinese Remainder Theorem

LECTURE 7: POLYNOMIAL CONGRUENCES TO PRIME POWER MODULI

SOLUTIONS FOR PROBLEM SET 4

Algorithmic Number Theory and Cryptography (CS 303)

Solutions for the Practice Questions

Math 319 Problem Set #7 Solution 18 April 2002

Public Key Cryptography Great Ideas in Theoretical Computer Science Saarland University, Summer 2014

An elementary study of Goldbach Conjecture

x 8 (mod 15) x 8 3 (mod 5) eli 2 2y 6 (mod 10) y 3 (mod 5) 6x 9 (mod 11) y 3 (mod 11) So y = 3z + 3u + 3w (mod 990) z = (990/9) (990/9) 1

ORDER AND CHAOS. Carl Pomerance, Dartmouth College Hanover, New Hampshire, USA

Implementation / Programming: Random Number Generation

1.6 Congruence Modulo m

Cryptography Math 1580 Silverman First Hour Exam Mon Oct 2, 2017

Number Theory - Divisibility Number Theory - Congruences. Number Theory. June 23, Number Theory

A C E. Answers Investigation 1. Applications. b. No; 6 18 = b. n = 12 c. n = 12 d. n = 20 e. n = 3

Fermat s little theorem. RSA.

CMath 55 PROFESSOR KENNETH A. RIBET. Final Examination May 11, :30AM 2:30PM, 100 Lewis Hall

Math 255 Spring 2017 Solving x 2 a (mod n)

Practice Midterm 2 Solutions

Public Key Encryption

Number Theory. Konkreetne Matemaatika

EE 418: Network Security and Cryptography

Modular Arithmetic. claserken. July 2016

Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions

The Sign of a Permutation Matt Baker

Problem Set 6 Solutions Math 158, Fall 2016

PT. Primarity Tests Given an natural number n, we want to determine if n is a prime number.

Number Theory and Security in the Digital Age

The congruence relation has many similarities to equality. The following theorem says that congruence, like equality, is an equivalence relation.

THE NUMBER OF PERMUTATIONS WHICH FORM ARITHMETIC PROGRESSIONS MODULO m

Math 127: Equivalence Relations

Zhanjiang , People s Republic of China

ON THE EQUATION a x x (mod b) Jam Germain

Goldbach Conjecture (7 th june 1742)

arxiv: v3 [cs.cr] 5 Jul 2010

Modular Arithmetic. Kieran Cooney - February 18, 2016

Public-key Cryptography: Theory and Practice

Number Theory/Cryptography (part 1 of CSC 282)

The Chinese Remainder Theorem

Distribution of Primes

Application: Public Key Cryptography. Public Key Cryptography

by Michael Filaseta University of South Carolina

LUCAS-SIERPIŃSKI AND LUCAS-RIESEL NUMBERS

Public-Key Cryptosystem Based on Composite Degree Residuosity Classes. Paillier Cryptosystem. Harmeet Singh

A4M33PAL, ZS , FEL ČVUT

Arithmetic Properties of Combinatorial Quantities

Math 412: Number Theory Lecture 6: congruence system and

Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating by hand.

The number theory behind cryptography

Number Theory and Public Key Cryptography Kathryn Sommers

Cryptography, Number Theory, and RSA

BAND SURGERY ON KNOTS AND LINKS, III

MAT 115: Finite Math for Computer Science Problem Set 5

MATH 13150: Freshman Seminar Unit 15

Transcription:

TITLE PAGE FAMILY NAME: (Print in ink) GIVEN NAME(S): (Print in ink) STUDENT NUMBER: SEAT NUMBER: SIGNATURE: (in ink) (I understand that cheating is a serious offense) INSTRUCTIONS TO STUDENTS: This is a 3 hour exam. Please show your work clearly. A single line display, simple calculator is permitted. No texts, notes, or other aids are permitted. There are no cellphones or electronic translators, or other electronic devices permitted. This exam has a title page and 13 pages of questions, which includes one page with a table of primes. Please check that you have all the pages. You may remove the table if you wish, but be careful not to loosen the staples. The value of each question is indicated in the lefthand margin beside the statement of the question. The total value of all questions is 110 points. Answer all questions on the exam paper in the space provided beneath the question. If you need more room, you may continue your work on the reverse side of the page, but CLEARLY INDICATE that your work is continued. Question Points Score 1 10 2 10 3 8 4 12 5 8 6 10 7 18 8 6 9 12 10 8 11 8 Total: 110

PAGE: 1 of 13 [10] 1. (a) Find (2002, 897). (b) Find all integer solutions to 2002 x + 897 y = (2002, 897).

PAGE: 2 of 13 [10] 2. For each of the following linear congruences, find out how many solutions there are. If solutions exist, you need NOT find them, but you should state a reason for your answer. (a) 3388 x 42 (mod 7413) (b) 2500 x 42 (mod 2012)

PAGE: 3 of 13 3. [8] Given the public information of an RSA encryption is (n, e) = (2599, 107), find the decrypt key d. [Hint: One of the two prime factors of n is less than 30.]

PAGE: 4 of 13 [12] 4. Recall d(n) is the number of divisors of n, σ(n) is the sum of the divisors of n and φ(n) is the Euler phi function. (229320 = 2 3 3 2 5 7 2 13) (a) What is d(229320)? σ(229320)? φ(229320)? (b) Show that if n is a square then d(n) is odd. (c) Under what conditions is φ(2n) = φ(n)? (Justify your answer.)

PAGE: 5 of 13 [8] 5. (a) Define what is meant for a number n to be abundant. (b) Define what is meant for a number n to be deficient. (c) For what values of a is 2 a 11 abundant? (d) Show that there are infinitely many deficient numbers.

PAGE: 6 of 13 [10] 6. (a) Use Wilson s Theorem to find the least residue of 235! (mod 239). (b) Use Gauss s Lemma to decide if 3 is a quadratic residue or quadratic nonresidue modulo 31. (No credit will be given for any other method.)

PAGE: 7 of 13 [18] 7. (a) How many primitive roots does the prime 71 have? (b) What are the possible orders a modulo 71 when (a, 71) = 1? (c) Show that 7 is a primitive root of 71. Continued on next page.

PAGE: 8 of 13 (d) List two other primitive roots. (How do you know they are primitive roots?) These should be in least residue. (e) Given that 7 6 = 117649 = 71(1657) + 2, what is the order of 2 modulo 71? What is the order of 14 mod 71?

PAGE: 9 of 13 [6] 8. Suppose that a has order t (mod m). What is the order of a 2 if: (a) t is odd? (Justify your answer.) (b) t is even? (Justify your answer.)

PAGE: 10 of 13 [12] 9. Calculate the following Legendre Symbols: Note: 1723 is prime. ( ) 499 (a) 1723 (b) ( ) 113616 997

PAGE: 11 of 13 [8] 10. We note that for the prime number p = 2819, that 2p + 1 = 5639 is also prime. Use Euler s Criterion for quadratic residues (together with calculation of Legendre symbols) to decide which, if any, of 2, 3, 5, or 7 are primitive roots of 5639.

PAGE: 12 of 13 [8] 11. (a) Give a formula for finding integer solutions to x 2 + y 2 = z 2. (b) Under what conditions is this solution fundamental? (c) Find a Pythagorean triple where one of the values is: i. 11. ii. 14.

PAGE: 13 of 13 NAME: (Print in ink) Fill in the above if you wish to remove this sheet from the exam paper The following is a list of all primes less than 1000 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313 317 331 337 347 349 353 359 367 373 379 383 389 397 401 409 419 421 431 433 439 443 449 457 461 463 467 479 487 491 499 503 509 521 523 541 547 557 563 569 571 577 587 593 599 601 607 613 617 619 631 641 643 647 653 659 661 673 677 683 691 701 709 719 727 733 739 743 751 757 761 769 773 787 797 809 811 821 823 827 829 839 853 857 859 863 877 881 883 887 907 911 919 929 937 941 947 953 967 971 977 983 991 997