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

Similar documents
Elementary Number Theory MARUCO. Summer, 2018

M381 Number Theory 2004 Page 1

Elementary Number Theory Review. Franz Luef

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

Integers and Division

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

Summary Slides for MATH 342 June 25, 2018

Candidates must show on each answer book the type of calculator used. Only calculators permitted under UEA Regulations may be used.

MATH 145 Algebra, Solutions to Assignment 4

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,

Part II. Number Theory. Year

CRYPTOGRAPHY AND NUMBER THEORY

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

Mathematics of Cryptography

Week 7 An Application to Cryptography

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru

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

1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).

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

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru

Theory of Numbers Problems

Public Key Cryptography

Homework #2 solutions Due: June 15, 2012

Introduction to Number Theory

Math 223, Spring 2009 Final Exam Solutions

Number Theory and Algebra: A Brief Introduction

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

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

Know the meaning of the basic concepts: ring, field, characteristic of a ring, the ring of polynomials R[x].

Contest Number Theory

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

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

Math 109 HW 9 Solutions

In fact, 3 2. It is not known whether 3 1. All three problems seem hard, although Shor showed that one can solve 3 quickly on a quantum computer.

MATH 310: Homework 7

Homework Problems, Math 134, Spring 2007 (Robert Boltje)

Cryptography. pieces from work by Gordon Royle

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

Number Theory in Problem Solving. Konrad Pilch

Practice Final Solutions

PMA225 Practice Exam questions and solutions Victor P. Snaith

School of Mathematics

Math 314 Course Notes: Brief description

Objective Type Questions

198 VOLUME 46/47, NUMBER 3

Math.3336: Discrete Mathematics. Mathematical Induction

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

Discrete mathematics I - Number theory

Cryptography. P. Danziger. Transmit...Bob...

Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya

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

The RSA cryptosystem and primality tests

Mathematics for Cryptography

MAS114: Exercises. October 26, 2018

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

University of Regina Department of Mathematics & Statistics Final Examination (April 21, 2009)

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

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

ECE596C: Handout #11

Math/Mthe 418/818. Review Questions

2k n. k=0. 3x 2 7 (mod 11) 5 4x 1 (mod 9) 2 r r +1 = r (2 r )

Introduction to Cryptography

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

MONOALPHABETIC CIPHERS AND THEIR MATHEMATICS. CIS 400/628 Spring 2005 Introduction to Cryptography

Solution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = ,

NUMBER THEORY FOR CRYPTOGRAPHY

YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE

Number Theory. Final Exam from Spring Solutions

Introduction to Information Security

A Guide to Arithmetic

Elementary Number Theory and Cryptography, 2014

Number Theory. Modular Arithmetic

MEETING 6 - MODULAR ARITHMETIC AND INTRODUCTORY CRYPTOGRAPHY

CODING AND CRYPTOLOGY III CRYPTOLOGY EXERCISES. The questions with a * are extension questions, and will not be included in the assignment.

Congruence Classes. Number Theory Essentials. Modular Arithmetic Systems

MATH 3240Q Introduction to Number Theory Homework 5

Name: Mathematics 1C03

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

4 Powers of an Element; Cyclic Groups

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

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

An Introduction to Cryptography

Ma/CS 6a Class 3: The RSA Algorithm

Basic Algorithms in Number Theory

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

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

AN INTRODUCTION TO CRYPTOGRAPHY A. LANGUASCO

Number Theory. Henry Liu, 6 July 2007

Number theory (Chapter 4)

Practice Final Solutions

Exercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93.

AN ALGEBRAIC PROOF OF RSA ENCRYPTION AND DECRYPTION

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,

One can use elliptic curves to factor integers, although probably not RSA moduli.

Number Theory Course notes for MA 341, Spring 2018

ELEMENTARY PROOFS OF PARITY RESULTS FOR 5-REGULAR PARTITIONS

Eindhoven University of Technology MASTER. Kleptography cryptography with backdoors. Antheunisse, M. Award date: 2015

A Readable Introduction to Real Mathematics

Mathematics 4: Number Theory Problem Sheet 3. Workshop 26 Oct 2012

THE CUBIC PUBLIC-KEY TRANSFORMATION*

Transcription:

ASSIGNMENT 1 1. Use mathematical induction to show that the sum of the cubes of three consecutive non-negative integers is divisible by 9. 2. (i) If d a and d b, prove that d (a + b). (ii) More generally, if d a and d b, prove that d (xa + yb) for any integers x and y. 3. Let d = (a, b) and suppose that x and y are integers such that xa + yb = m. (a) What is the relationship between d and m? (b) If m = 1, show that d = 1. (c) Suppose that xa + yb = 6. What are the possible values of (a, b)? (Note: (b) is a very useful special case. When m > 1, we cannot conclude that m = d.) 4. Find the gcd of 212 and 153 and express it in the form 212x + 153y. 5. Find the prime factorisations of each of the following integers. (a) 126, (b) 2222220. 6. (a) Suppose that in the prime factorisation of n, only even powers of primes occur. Show that n is a perfect square, i.e., n = m 2 for some integer m. (b) Find the prime factorisation or 324, and from it write down the prime factorisation of 324. 7. If (a, b) = 1, a c and b c, show that ab c. Give an example to show that the result need not be true when (a, b) 1. 8. Show that if a, b, and c are integers with (a, b) = (a, c) = 1, then (a, bc) = 1. 9. (a) Show that the product of two integers of the form 6k + 1 is of the form 6k + 1. (b) Prove that there are infinitely many primes of the form 6k + 5, where k is a positive integer. Hint: Suppose there are only finitely many primes of the form 6n + 5 and list them as p 0, p 1, p 2,..., p r where p 0 = 5, p 1 = 11, p 2 = 17,.... Let Q = 6p 1 p 2 p r + 5, and consider the prime factorisation of Q. 10. A student returning from Europe changes her French francs and Austrian schillings into Australian money. If she receives $16.84 and has received 25c for each French franc and 12c for each Austrian schilling, what amounts of each type of currency did she exchange, given that she started with at least 1

35 of each? (Set the problem up as a linear Diophantine equation and use the methods of this section). 11. Use Fermat s method to factorise 38021. 2

ASSIGNMENT 2 1. Solve the following linear congruences (you may if you wish, find some solutions by inspection): (a) 3x 9 (mod 14), (b) 3x 5 (mod 7), (c) 4x 5 (mod 6), (d) 4x 8 (mod 12). 2. Solve 153x 11 (mod 212). (Hint: You may find the calculation you did in Assignment 1 Question 4 useful). 3. Use congruences to verify the divisibility statement 13 (145 6 + 1). 4. Solve x 3 + x + 1 0 (mod 3) using any method you wish. 5. Show that if a is an odd integer, then a 2 1 (mod 8). 6. Find an inverse modulo 23 of each of the following integers. (a) 4, (b) 6, (c) 10. 7. In the ISBN of a book the fourth digit is unreadable, so the number is 3-76?3-5197-7. Recover the missing digit knowing that 10 k=1 kx k 0 (mod 11) where x k is the k-th digit of the ISBN. 8. If (m, n) = 1 and m 3, n 3, show that the congruence x 2 1 (mod mn) has solutions other than x ±1 (mod mn). 9. Solve the following ancient Indian problem: If eggs are removed from a basket two, three, four, five, and six at a time, there remain, respectively, one, two, three, four, and five eggs. But if the eggs are removed seven at a time no eggs remain. What is the least number of eggs that could have been in the basket? (Hint: You may find it useful to first solve the problem formed by the last three conditions). 10. Prove that a number n is divisible by 7 if and only if n 2n 0 is divisible by 7 where n 0 is the last digit and n is the number obtained from n by deleting the last digit. (Hint: Prove that 2n n 2n 0 mod 7). 11. Set up a round-robin tournament schedule for (a) 7 teams, (b) 8 teams. 12. Assume {r 1,..., r n } is a complete system modulo n. Show that, for any integer a, the set {r 1 + a,..., r n + a} is also a complete system. 3

ASSIGNMENT 3 1. Illustrate the proof of Wilson s Theorem with p = 13. 2. Using Fermat s Little Theorem, find the remainder when 2 100,000 is divided by 13. 3. Using Euler s Theorem, find the remainder when 5 100,000 is divided by 18. 4. Show that if n is odd and 3 does not divide n, then n 2 1 (mod 24). (Hint: It may help to note that 24 = 3 8.) 5. Evaluate φ(n), τ(n) and σ(n) for each n such that 25 n 30. 6. Prove that if n is odd, then τ(n) σ(n) (mod 2). 7. (a) If n is odd and (n, 5) = 1, show that 5 (n 4 + 4 n ). (b) For which positive integers n is n 4 + 4 n prime? Hint for (b): Deal with the case n even first. For n odd, factorise n 4 + 4 n as a product of two terms by completing squares (This is a hard problem!). 8. Find the primes p and q if n = pq = 14647 and φ(n) = 14400. 9. What is the ciphertext that is produced when the RSA cipher with key e = 3, n = 3763 is used to encipher the message GO? 10. The next meeting of cryptographers will be held in the town of 2173 1584. It is known that the cipher-text in this message was produced using the RSA cipher key e = 1997, n = 2669. Where will the meeting be held? 11. One of the oldest recorded cipher systems is the Caesar cipher, obtained by using a cyclic shift of the letters of the alphabet. It is rather primitive compared to the RSA system, and is easily broken. The following message was sent using this code. Decipher the message, given that e is the most common letter in English. QJY YMJR JFY HFPJ 4

ASSIGNMENT 4 1. (a) Find the order of the integers 2, 3 and 5 modulo 13. (b) Find the order of the integers 2, 3 and 5 modulo19. 2. Find a primitive root for each of 13 and 19. 3. Find the order of the integers 1, 3, 7, and 9 modulo 10. Which of these numbers are primitive roots modulo 10? 4. Show that if a is an integer relatively prime to the positive integer m and ord m a = st, then ord m a t = s. 5. (a) Show that the odd prime divisors of the integer n 2 + 1 are of the form 4k + 1. (Hint: If p is an odd prime which divides n 2 + 1, show that n has order 4 modulo p). (b) Show that the odd prime divisors of the integer n 4 + 1 are of the form 8k + 1. (Hint: If p is an odd prime which divides n 4 + 1, show that n has order 8 modulo p). 6. Show that if p is a prime and p 1 (mod 4), there is an integer x such that x 2 1 (mod p). (Hint: Use theory to show that there is an integer x of order 4 modulo p.) 7. How many primitive roots are there for the prime 97? 8. Given that 5 is a primitive root for 23, express all the other primitive roots of 23 as powers of 5. 9. Write out a table of indices modulo 23 with respect to the primitive root 5. 10. (a) Find all the solutions of the congruence 3x 5 1 (mod 23). (b) Find all the solutions of the congruence 13 x 5 (mod 23). 11. (Review question). Let a and b be non-zero integers. Which of the following are correct definitions of a b? (a) b = ax for some x (b) b = ax for some integer x (c) a = bx for some x (d) b = ax for every integer x (e) There exists an integer x such that b = ax (f) b = ax. 5

ASSIGNMENT 5 1. Find all the quadratic residues and non-residues of 17. 2. Let p be prime and a a quadratic residue of p. Show that if p 1 (mod 4), then a is also a quadratic residue of p, while if p 3 (mod 4), then a is a quadratic nonresidue of p. 3. Evaluate each of the following Legendre symbols: ( ) ( ) ( ) 19 17 18 (a), (b), (c). 23 79 101 4. Show that if p is an odd prime, then ( ) 3 = 1 if p 1 (mod 3), p ( ) 3 = 1 if p 1 (mod 3). p 5. Evaluate the Jacobi symbol ( ) 22 35 6. Show that the integer 561 is an Euler pseudoprime to the base 2. 7. Show that if n is an Euler pseudoprime to the bases a and b, then n is an Euler pseudoprime to the base ab. 6

ASSIGNMENT 6 1. Find all primitive Pythagorean triples, x, y, z with z 13. 2. Find all Pythagorean triples x, y, z, not necessarily primitive, in which z = 50. 3. Let x, y, z be a primitive Pythagorean triple (with y even). Show (i) z 1 (mod 4). (ii) y is divisible by 4. (iii) Exactly one of x, y is divisible by 3. (iv) Exactly one of x, y, z is divisible by 5. Deduce that xyz is divisible by 60. 4. Find a Pythagorean triple x, y, z (with y even) which cannot be written in the form x = m 2 n 2, y = 2mn, z = m 2 + n 2, with m, n integers. (Such an example will of course have to be non-primitive.) 5. Find all solutions in positive integers of the diophantine equation x 2 + 2y 2 = z 2. 6. Let p be prime. Using Fermat s little theorem, show that (a) if x p 1 + y p 1 = z p 1, then p xyz. (b) if x p + y p = z p, then p (x + y z). 7. Show that the diophantine equation x 4 y 4 = z 2 has no solutions in nonzero integers. (Hint: Try the same method as used on x 4 + y 4 = z 2. The problem is hard.) 7