12. Let Rm = {0,1,2,..., m 1} be a complete residue system modulo ra. Let a be an integer. When is a Rm = {0,1 a, 2 a,...

Size: px
Start display at page:

Download "12. Let Rm = {0,1,2,..., m 1} be a complete residue system modulo ra. Let a be an integer. When is a Rm = {0,1 a, 2 a,..."

Transcription

1 12. Let Rm = {0,1,2,..., m 1} be a complete residue system modulo ra. Let a be an integer. When is a Rm = {0,1 a, 2 a,..., a (ra - 1)} a complete residue system modulo m? Prove your conjecture. (Try m = 15 and various values of a.) 13. Show that if p is prime, then the simultaneous linear congruence ax + by = u (mod p) ex + dy = v (mod p) has a unique solution a:, y modulo p when ad bc^ 0 (mod p). 14. Let a, 6, and ra be integers such that (a, m) = (6, m) = 1. Determine the number of pairs (x,?/) with x and?/ in a complete residue system, satisfying the congruence ax+by = 0 (mod m). What can you say about the number of solutions if the conditions (a, ra) = 1 or (6, ra) = 1 are dropped? 15. (Clement, 1949) Let n> 2. (a) Show that 4[(n - 1)! + 1] + n = 0 (mod n) if and only if n is prime. (b) Show that 2(n - 1)! = -1 (mod n + 2) if and only if n + 2 is prime. Hence show that 4[(n - 1)! + 1] + n = 0 (mod n + 2) if and only if (c) n + 2 is prime. Show that the integers n and n + 2 form a pair of twin primes if and only if 4[(n-l)! + l]+n = 0 (mod [n(n + 2)]). 3.3 Chinese Remainder Theorem An important problem is to find integers satisfying many different divisibil ity conditions. Also, in many applications, we reduce a computation modulo composite numbers to a computation over its prime factors. The Chinese Re mainder Theorem is the fundamental tool that allows us to combine congru ences to reach conclusions about the original problem. The idea first appears in the writings of the Chinese mathematician Sun-Tzu, who lived in the third century. The method was further developed by Chin Chiu-Shao in the thir teenth century. In the West, Euler seems to have been the first to study it extensively. The method is fundamental and has numerous applications. We begin with a motivating example. Example Determine the smallest positive integer that gives a remain der of 2 upon division by 3, a remainder of 1 upon division by 5, and a remainder of 6 upon division by 7. Let a: be a solution; then the conditions require that x = 2 (mod 3) (1) x = 1 (mod 5) (2) x = 6 (mod 7). (3)

2 This is a system of three congruences on x. We can solve it as follows. The first congruence implies that x = 3k + 2 for some A:. Using this in equation (2) gives a condition on k. 3k+ 2= 1 (mod 5), 3k = 1-2 = 4 (mod 5). (4) We can solve for k by multiplying by 3"1 mod 5, which is 2. Hence k = 2-4 = 8 = 3 (mod 5). Hence there exists an integer r such that k = 5r + 3, so x = 15r Use this value of x in (3) to obtain 15r + ll = 6 (mod 7) 15r = 6-11 = 2 (mod 7). Since 15 = 1 (mod 7), we have r = 2 (mod 7). Therefore, there exists an integer 5 so that r = 7s + 2; hence x = 15(75 + 2) + 11 = It can be verified that every x of this form is a solution. The smallest positive solution is x = 41, and it is the only solution in the interval 0 < x < 105. Observe that 105 is the product of 3, 5, and 7, the three moduli. Exercise. Find the smallest positive solution to the following simultaneous congruence. x = 3 (mod 7) x = 8 (mod 11). Let us apply the technique of the above example to find the general solu tion in the case of two simultaneous congruences. Suppose mi and rri2 are two relatively prime integers. Given a\ and a^, we want to find x so that x = ai (mod rrti), i = 1,2. The first congruence implies x = m\v + a\ for some r. Using this in the second congruence gives m\r + a\ = (22 (mod or m\t = d2 ai (mod 7712) Let u be an inverse of m\ modulo Then r = u(a2 a\) (mod 7712); that is, there exists an integer s so that r = ra25 + u(a2 «i); hence x = mirri2s + m\ua2 m\uai + a\. Instead of starting with the first equation (with respect to mi), we could have started with the second and obtained a different form for the solution. Since the solution is the same, we can write it in a more symmetric form. Because, m\u = 1 (mod 7712), we can write 1 m\u = vknri2 for some v. Therefore x = mim2s + m\ua2 + rri2va\. Now, x = a\ (mod mi) implies that 77^ = 1 (mod mi); that is, v is the inverse of m2 (mod mi).

3 The numbers u and v can be found by the extended Euclidean Algorithm. If miu + miv = 1, then we have shown that every solution to the two congru ences satisfies x = um\a2 + vrri2ai (mod raira2). Conversely, it is easy to show that any such x is a solution to the congruence. The following exercise extends this technique to three equations. The reader is urged to try the fol lowing exercise before reading the proof of the Chinese Remainder Theorem. Exercise. Let mi, 777,2, and m% be integers that are relatively prime in pairs. Suppose u and v are integers such that urrti + vm,2 = 1. (a) Show that three congruences x = a^ (mod m^), i = 1,2,3 can be reduced to the two congruences x = um\a2 + vm20i\ x = as (mod 7713). (mod Now, apply the technique for the solution of two congruences to this pair. Let y and z be integers such that ym\m,2 + zms 1. Show that every solution to the simultaneous congruence is of the form x = ymirri2as + uzm\mza2 + vzrri2m^ai (mod ). (b) Show that y is the inverse of mi777,2 (mod 777,3), uz is the inverse of 777,17713 (mod 7712), and vz is the inverse of ,3 (mod mi). (c) Use this to find the general solution in Example (d) Do you see a pattern in the general solution to two and three congru ences? Generalize to an arbitrary number of congruences. Chinese Remainder Theorem. Let mi, 777,2,., wv be pairwise relatively prime integers. Then the simultaneous congruence x = a\ (mod 777,1) x = CL2 (mod 7712) x = ar (mod mr) has a unique solution modulo the product mi777,2 * * * ^r- PROOF. The computations performed above for two and three simultaneous congruences show the general pattern. We give an explicit formula for the solution and then show its uniqueness.

4 Let M = mirri2 mr, and M{ = M/mi. Since the rrti s are pairwise relatively prime, M* is relatively prime to m^, so it has an inverse X{ modulo rrii\ that is, MiXi = 1 (mod mi). If i ^ j, then mi \ Mf, that is, Mj = 0 (mod mi). Then x = a\m\x\ + (12M2X2 H h armrxr (mod M) is a solution to the system because a\m\x\ + (I2M2X2 H h armrxr = aimixi (mod m*) = a^ 1 (mod m^) = a^ (mod m^). Suppose a: and y are two distinct solutions. Now x = y (mod mi) for each i; that is, rrii \ (x y). The m^ are pairwise relatively prime, hence, by unique factorization, the product m\m2 -mr \ (x y)\ that is, x = y (mod mi mr). This proves the uniqueness. The virtue of the proof is that it gives an explicit formula for the solution. Example Let's solve the congruence in Example using the for mula given in the proof of the theorem. First, we have to compute the quantities M». From their definition, M = = 105, Mi = 35, M2 = 21, and M3 = 15. We can now determine the inverses, either by the Euclidean Algorithm or by inspection, as the numbers involved are small. The inverses X{ of M{ are: a;i = 2 (mod 3), x2 = 1 (mod 5), x3 = 1 (mod 7). Therefore, x = (mod 105) = (mod 105) = 251 (mod 105) = 41. (mod 105). We verify: 41 = 2 (mod 3), 41 = 1 (mod 5) and 41 = 6 (mod 7). Since the solution is unique modulo the product, all other solutions are of the form x = &, where k is an integer. Exercise. Find the smallest positive number satisfying the following congru ences. x = 3 (mod 8) x = 2 (mod 5) x = 6 (mod 9).

5 Suppose m = p^... pekk is the prime factorization of m. The Chinese Remainder Theorem states that any a, 1 < a < ra, is completely determined by knowing the remainders n upon division by p\{; that is, a is the unique solution, satisfying 1 < a < ra, to the set of congruences x = r* (mod p^) for i = 1,..., k. This is the most useful feature of the Chinese Remainder Theorem. A natural question is to try to extend the Chinese Remainder Theorem to moduli that are not necessarily relatively prime. Example Consider the congruences x = 3 (mod 8) x = 7 (mod 12). As 12 is not a prime power, we can break the second congruence into x = 7 (mod 3) and x = 7 (mod 4); that is, x = 1 (mod 3) and x = 3 (mod 4). We now have three congruences x = 3 (mod 8) x = 7 (mod 4) # = 7 (mod 3). Now, x = 3 (mod 8) implies x = 3 (mod 4); hence x = 3 (mod 4) is not necessary. We have two remaining congruences x = 3 (mod 8) x = 1 (mod 3). Now the moduli are relatively prime and we can solve this pair of congru ences using the previous technique to obtain x = 19 solution. (mod 24) as the unique We can also solve the congruences by successive substitution; the con gruence x = 3 (mod 8) means that x = 3 + 8k for some integer k. Sub stitute this into the second equation to obtain 3 + 8k = 7 (mod 12), or 8/c = 4 (mod 12). As (8,12) = 4 and 4 4, we obtain 2k = 1 (mod 3). As 2 is invertible modulo 3, k = 2 (mod 3); that is, fc = 2 + 3r and x = 3 + 8(2 + 3r) = r for some integer r. Exercise. Does the congruence x = 5 (mod 8) z = 7 (mod 12) have a solution?

6 Ch'in Chiu-Shao (c ) N Ch'in Chiu-Shao was born in 1202 in the province of Szechwan. He seems to have been extremely bright and excelled in many fields. He served in the military and later as a Governor, a position in which he is supposed to have accumulated immense wealth. In 1247, he published the Shu-Shu Chiu-Chang ("nine sections of math ematics"). The work includes his solution to simultaneous congruences, a method essentially the same as what we use today. In addition, Ch'in Chiu-Shao was the first to find a method to approximate roots of polyno mial equations. This is the same method published by Horner in 1819 and vis now known as Horner's method. > The following theorem generalizes the Chinese Remainder Theorem to arbitrary moduli. Theorem Let m\,..., mr be integers; then the system of congruences x = di (mod mi), i = 1,..., r has a solution if and only if for all i ^ j, (mj, rrij) di dj. The solution is unique modulo [mi,..., mr]. PROOF. It suffices to prove the theorem for two integers mi and First, consider the case where mi = pei for some prime p. For i 7^ j, if ej > eu then x = dj (mod pei) implies that x = dj (mod pei)\ on the other hand, x = di (mod pei)\ therefore, ai = dj (modpe*), or pei \ di dj. [Here e; = min(ei, ej), so {pe\pej) = pei.] In general, let mi = p\l -pekk and rri2 = pfx -pdkk. Then x = a\ (mod mi) is equivalent to x = a\ (mod p^) for i = 1,..., k, and x = d2 (mod 7722) is equivalent to x = d<i (mod pf) for i = 1,..., fe. Looking at the congruence modulo powers of p$, we see that ai = a2 (mod p m^clj ^), or equivalently, ai = d2 (mod (mi,m2)). This is the necessary condition for the set of simultaneous congruences to have a solution. Conversely, if (mi, raj) di dj for all i ^ j9 then we can solve the congruences by reducing to the case of relatively prime moduli. If ei > di, then d\ = d<i (mod (mi, 7712)) and x = a\ (modp?*) imply that x = a2 (mod pf), and we can drop the second congruence. (Similarly, if e* < di.) Hence we have a set of congruences x = di where a» is ai or d<i depending on where the maximum occurs. Now we can apply the Chinese Remainder Theorem to obtain a unique solution modulo the LCM.

7 Example Consider the system x = 5 (mod 8) x = 7 (mod 14) x = 21 (mod 35). Now, (8,14) (7-5) and (35,14) (21-7), so the system has a unique solution modulo [8,14,35] = 280. To solve the system, we reduce to looking at prime powers: (1) (2) (3) (4) (5) Now, (1) implies (2), so we can drop (2). Equations (3) and (5) are the same; therefore, we have a system of three congruences, x = 5 (mod 8), x = 0 (mod 7), x = 1 (mod 5), with relatively prime moduli. Remark. The Chinese Remainder Theorem can also be proved by the fol lowing algebraic interpretation. This proof shows the existence of a solution without giving any method for finding one. Recall that Z/raZ is the set of equivalence classes of integers that are congruent modulo ra. Let (ra, n) = 1, consider the product Z/raZ x Z/nZ consisting of pairs (x,y) with x G Z/raZ and y G Z/nZ. We can define a function from Z/ranZ to Z/raZ x Z/nZ as follows: if a G Z/ranZ: define f(a) = (a mod ra, a mod n). It can be easily checked that / preserves addition and multiplication; that is, f(ab) = f(a)f(b). If f(a) = 0, that is, a = 0 (mod m) and a = 0 (mod n), then a is divisible by ran, that is, a = 0 (mod ran). This is equivalent to the fact that / is one-to-one. Now, Z/ranZ has ran elements, and Z/raZ x Z/nZ also has

8 ran elements. Since the number of elements is the same, the function / must also be onto. Equivalently, / is an isomorphism (of rings) Z/ranZ «Z/mZ x Z/nZ. The fact that / is onto is equivalent to the Chinese Remainder Theorem be cause if we are given a G Z/raZ and b G Z/nZ, then there is a unique x G Z/mnZ such that a = x (mod m) and b = x (mod n). Exercises for Section Solve the following simultaneous congruences. (a) x = l (mod 2) (b) x = 7 (mod 9) x = 2 (mod 3) x = 0 (mod 10) # = 4 (mod 5) x = 3 (mod 7). a? = 2 (mod 7). 2. Determine if the following simultaneous congruences have a solution, and find the smallest positive solution if it exists. (a) x = 3 (mod 8) (b) z = 4 (mod 6) x = 7 (mod 12) x = 8 (mod 12) ar = 4 (mod 15). x = 12 (mod 18). 3. Write a computer program to solve a set of simultaneous congruences when the moduli are relatively prime. You can use the Extended Euclidean Algo rithm to find the solution for two moduli and then use this inductively for an arbitrary set of moduli. This program will be used frequently in later sections, so test it well. 4. [Bhaskara] There are n eggs in a basket. If eggs are removed from the basket 2, 3, 4, 5, and 6 at a time, there remain 1, 2, 3, 4, and 5 eggs in the basket respectively. If eggs are removed from the basket 7 at a time, no eggs remain in the basket. What is the smallest possible number of eggs the basket could have contained? 5. [Ch'in Chiu-Shao] Three farmers divide equally the rice that they have grown. One goes to a market where an 83-pound weight is used, another to a market that uses a 110-pound weight, and the third to a market using a 135-pound weight. Each farmer sells as many full measures as possible, and when the three return home, the first has 32 pounds of rice left, the sec ond 70 pounds, and the third 30 pounds. Find the total amount of rice they took to the market. 6. You are asked to design a system for numbering TV programs to facilitate the programming of VCRs. Each program should be assigned a number so

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

6. Find an inverse of a modulo m for each of these pairs of relatively prime integers using the method Exercises Exercises 1. Show that 15 is an inverse of 7 modulo 26. 2. Show that 937 is an inverse of 13 modulo 2436. 3. By inspection (as discussed prior to Example 1), find an inverse of 4 modulo 9. 4.

More information

1.6 Congruence Modulo m

1.6 Congruence Modulo m 1.6 Congruence Modulo m 47 5. Let a, b 2 N and p be a prime. Prove for all natural numbers n 1, if p n (ab) and p - a, then p n b. 6. In the proof of Theorem 1.5.6 it was stated that if n is a prime number

More information

SOLUTIONS TO PROBLEM SET 5. Section 9.1

SOLUTIONS TO PROBLEM SET 5. Section 9.1 SOLUTIONS TO PROBLEM SET 5 Section 9.1 Exercise 2. Recall that for (a, m) = 1 we have ord m a divides φ(m). a) We have φ(11) = 10 thus ord 11 3 {1, 2, 5, 10}. We check 3 1 3 (mod 11), 3 2 9 (mod 11), 3

More information

The Chinese Remainder Theorem

The Chinese Remainder Theorem The Chinese Remainder Theorem 8-3-2014 The Chinese Remainder Theorem gives solutions to systems of congruences with relatively prime moduli The solution to a system of congruences with relatively prime

More information

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

Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating by hand. Midterm #2: practice MATH 311 Intro to Number Theory midterm: Thursday, Oct 20 Please print your name: Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating

More information

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

Math 255 Spring 2017 Solving x 2 a (mod n) Math 255 Spring 2017 Solving x 2 a (mod n) Contents 1 Lifting 1 2 Solving x 2 a (mod p k ) for p odd 3 3 Solving x 2 a (mod 2 k ) 5 4 Solving x 2 a (mod n) for general n 9 1 Lifting Definition 1.1. Let

More information

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

The congruence relation has many similarities to equality. The following theorem says that congruence, like equality, is an equivalence relation. Congruences A congruence is a statement about divisibility. It is a notation that simplifies reasoning about divisibility. It suggests proofs by its analogy to equations. Congruences are familiar to us

More information

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

Collection of rules, techniques and theorems for solving polynomial congruences 11 April 2012 at 22:02 Collection of rules, techniques and theorems for solving polynomial congruences 11 April 2012 at 22:02 Public Polynomial congruences come up constantly, even when one is dealing with much deeper problems

More information

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

LECTURE 3: CONGRUENCES. 1. Basic properties of congruences We begin by introducing some definitions and elementary properties. LECTURE 3: CONGRUENCES 1. Basic properties of congruences We begin by introducing some definitions and elementary properties. Definition 1.1. Suppose that a, b Z and m N. We say that a is congruent to

More information

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 4 October 2013

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 4 October 2013 CMPSCI 250: Introduction to Computation Lecture #14: The Chinese Remainder Theorem David Mix Barrington 4 October 2013 The Chinese Remainder Theorem Infinitely Many Primes Reviewing Inverses and the Inverse

More information

Wilson s Theorem and Fermat s Theorem

Wilson s Theorem and Fermat s Theorem Wilson s Theorem and Fermat s Theorem 7-27-2006 Wilson s theorem says that p is prime if and only if (p 1)! = 1 (mod p). Fermat s theorem says that if p is prime and p a, then a p 1 = 1 (mod p). Wilson

More information

Applications of Fermat s Little Theorem and Congruences

Applications of Fermat s Little Theorem and Congruences Applications of Fermat s Little Theorem and Congruences Definition: Let m be a positive integer. Then integers a and b are congruent modulo m, denoted by a b mod m, if m (a b). Example: 3 1 mod 2, 6 4

More information

Practice Midterm 2 Solutions

Practice Midterm 2 Solutions Practice Midterm 2 Solutions May 30, 2013 (1) We want to show that for any odd integer a coprime to 7, a 3 is congruent to 1 or 1 mod 7. In fact, we don t need the assumption that a is odd. By Fermat s

More information

Modular Arithmetic. claserken. July 2016

Modular Arithmetic. claserken. July 2016 Modular Arithmetic claserken July 2016 Contents 1 Introduction 2 2 Modular Arithmetic 2 2.1 Modular Arithmetic Terminology.................. 2 2.2 Properties of Modular Arithmetic.................. 2 2.3

More information

Introduction. and Z r1 Z rn. This lecture aims to provide techniques. CRT during the decription process in RSA is explained.

Introduction. and Z r1 Z rn. This lecture aims to provide techniques. CRT during the decription process in RSA is explained. THE CHINESE REMAINDER THEOREM INTRODUCED IN A GENERAL KONTEXT Introduction The rst Chinese problem in indeterminate analysis is encountered in a book written by the Chinese mathematician Sun Tzi. The problem

More information

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 24 February 2012

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 24 February 2012 CMPSCI 250: Introduction to Computation Lecture #14: The Chinese Remainder Theorem David Mix Barrington 24 February 2012 The Chinese Remainder Theorem Infinitely Many Primes Reviewing Inverses and the

More information

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

University of British Columbia. Math 312, Midterm, 6th of June 2017 University of British Columbia Math 312, Midterm, 6th of June 2017 Name (please be legible) Signature Student number Duration: 90 minutes INSTRUCTIONS This test has 7 problems for a total of 100 points.

More information

Math 412: Number Theory Lecture 6: congruence system and

Math 412: Number Theory Lecture 6: congruence system and Math 412: Number Theory Lecture 6: congruence system and classes Gexin Yu gyu@wm.edu College of William and Mary Chinese Remainder Theorem Chinese Remainder Theorem: let m 1, m 2,..., m k be pairwise coprimes.

More information

CHAPTER 2. Modular Arithmetic

CHAPTER 2. Modular Arithmetic CHAPTER 2 Modular Arithmetic In studying the integers we have seen that is useful to write a = qb + r. Often we can solve problems by considering only the remainder, r. This throws away some of the information,

More information

Solutions for the Practice Questions

Solutions for the Practice Questions Solutions for the Practice Questions Question 1. Find all solutions to the congruence 13x 12 (mod 35). Also, answer the following questions about the solutions to the above congruence. Are there solutions

More information

ALGEBRA: Chapter I: QUESTION BANK

ALGEBRA: Chapter I: QUESTION BANK 1 ALGEBRA: Chapter I: QUESTION BANK Elements of Number Theory Congruence One mark questions: 1 Define divisibility 2 If a b then prove that a kb k Z 3 If a b b c then PT a/c 4 If a b are two non zero integers

More information

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

Solutions to Problem Set 6 - Fall 2008 Due Tuesday, Oct. 21 at 1:00 18.781 Solutions to Problem Set 6 - Fall 008 Due Tuesday, Oct. 1 at 1:00 1. (Niven.8.7) If p 3 is prime, how many solutions are there to x p 1 1 (mod p)? How many solutions are there to x p 1 (mod p)?

More information

LECTURE 7: POLYNOMIAL CONGRUENCES TO PRIME POWER MODULI

LECTURE 7: POLYNOMIAL CONGRUENCES TO PRIME POWER MODULI LECTURE 7: POLYNOMIAL CONGRUENCES TO PRIME POWER MODULI 1. Hensel Lemma for nonsingular solutions Although there is no analogue of Lagrange s Theorem for prime power moduli, there is an algorithm for determining

More information

Distribution of Primes

Distribution of Primes Distribution of Primes Definition. For positive real numbers x, let π(x) be the number of prime numbers less than or equal to x. For example, π(1) = 0, π(10) = 4 and π(100) = 25. To use some ciphers, we

More information

Math 127: Equivalence Relations

Math 127: Equivalence Relations Math 127: Equivalence Relations Mary Radcliffe 1 Equivalence Relations Relations can take many forms in mathematics. In these notes, we focus especially on equivalence relations, but there are many other

More information

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

Assignment 2. Due: Monday Oct. 15, :59pm Introduction To Discrete Math Due: Monday Oct. 15, 2012. 11:59pm Assignment 2 Instructor: Mohamed Omar Math 6a For all problems on assignments, you are allowed to use the textbook, class notes, and other

More information

Fermat s little theorem. RSA.

Fermat s little theorem. RSA. .. Computing large numbers modulo n (a) In modulo arithmetic, you can always reduce a large number to its remainder a a rem n (mod n). (b) Addition, subtraction, and multiplication preserve congruence:

More information

NUMBER THEORY AMIN WITNO

NUMBER THEORY AMIN WITNO NUMBER THEORY AMIN WITNO.. w w w. w i t n o. c o m Number Theory Outlines and Problem Sets Amin Witno Preface These notes are mere outlines for the course Math 313 given at Philadelphia

More information

Algorithmic Number Theory and Cryptography (CS 303)

Algorithmic Number Theory and Cryptography (CS 303) Algorithmic Number Theory and Cryptography (CS 303) Modular Arithmetic Jeremy R. Johnson 1 Introduction Objective: To become familiar with modular arithmetic and some key algorithmic constructions that

More information

Goldbach conjecture (1742, june, the 7 th )

Goldbach conjecture (1742, june, the 7 th ) Goldbach conjecture (1742, june, the 7 th ) We note P the prime numbers set. P = {p 1 = 2, p 2 = 3, p 3 = 5, p 4 = 7, p 5 = 11,...} remark : 1 P Statement : Each even number greater than 2 is the sum of

More information

The Chinese Remainder Theorem

The Chinese Remainder Theorem The Chinese Remainder Theorem Theorem. Let n 1,..., n r be r positive integers relatively prime in pairs. (That is, gcd(n i, n j ) = 1 whenever 1 i < j r.) Let a 1,..., a r be any r integers. Then the

More information

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

Discrete Square Root. Çetin Kaya Koç  Winter / 11 Discrete Square Root Çetin Kaya Koç koc@cs.ucsb.edu Çetin Kaya Koç http://koclab.cs.ucsb.edu Winter 2017 1 / 11 Discrete Square Root Problem The discrete square root problem is defined as the computation

More information

SOLUTIONS FOR PROBLEM SET 4

SOLUTIONS FOR PROBLEM SET 4 SOLUTIONS FOR PROBLEM SET 4 A. A certain integer a gives a remainder of 1 when divided by 2. What can you say about the remainder that a gives when divided by 8? SOLUTION. Let r be the remainder that a

More information

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

b) Find all positive integers smaller than 200 which leave remainder 1, 3, 4 upon division by 3, 5, 7 respectively. 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. Prove that m φ(n) + n φ(m) 1 (mod mn). Solution: a) Fermat s Little

More information

ON MODULI FOR WHICH THE FIBONACCI SEQUENCE CONTAINS A COMPLETE SYSTEM OF RESIDUES S. A. BURR Belt Telephone Laboratories, Inc., Whippany, New Jersey

ON MODULI FOR WHICH THE FIBONACCI SEQUENCE CONTAINS A COMPLETE SYSTEM OF RESIDUES S. A. BURR Belt Telephone Laboratories, Inc., Whippany, New Jersey ON MODULI FOR WHICH THE FIBONACCI SEQUENCE CONTAINS A COMPLETE SYSTEM OF RESIDUES S. A. BURR Belt Telephone Laboratories, Inc., Whippany, New Jersey Shah [1] and Bruckner [2] have considered the problem

More information

Constructions of Coverings of the Integers: Exploring an Erdős Problem

Constructions of Coverings of the Integers: Exploring an Erdős Problem Constructions of Coverings of the Integers: Exploring an Erdős Problem Kelly Bickel, Michael Firrisa, Juan Ortiz, and Kristen Pueschel August 20, 2008 Abstract In this paper, we study necessary conditions

More information

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

MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005 MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005 Deartment of Mathematical and Statistical Sciences University of Alberta Question 1. Find integers

More information

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

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 Quadratic Reciprocity To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we need to be able to evaluate q for any prime q. The first (and most delicate) case

More information

Primitive Roots. Chapter Orders and Primitive Roots

Primitive Roots. Chapter Orders and Primitive Roots Chapter 5 Primitive Roots The name primitive root applies to a number a whose powers can be used to represent a reduced residue system modulo n. Primitive roots are therefore generators in that sense,

More information

Solutions to Exercises Chapter 6: Latin squares and SDRs

Solutions to Exercises Chapter 6: Latin squares and SDRs Solutions to Exercises Chapter 6: Latin squares and SDRs 1 Show that the number of n n Latin squares is 1, 2, 12, 576 for n = 1, 2, 3, 4 respectively. (b) Prove that, up to permutations of the rows, columns,

More information

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

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., Binary exponentiation An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., What are the last two digits of the number 2 284? In the absence

More information

Data security (Cryptography) exercise book

Data security (Cryptography) exercise book University of Debrecen Faculty of Informatics Data security (Cryptography) exercise book 1 Contents 1 RSA 4 1.1 RSA in general.................................. 4 1.2 RSA background.................................

More information

Modular Arithmetic. Kieran Cooney - February 18, 2016

Modular Arithmetic. Kieran Cooney - February 18, 2016 Modular Arithmetic Kieran Cooney - kieran.cooney@hotmail.com February 18, 2016 Sums and products in modular arithmetic Almost all of elementary number theory follows from one very basic theorem: Theorem.

More information

Power = 36² mod 99 Power = 9 5 a 5 = 0 x = 81 Power = 9² mod 99 Power = 81 6 a 6 = 1 x = 81 x 81 mod 99 x = 27 7 a 7 = 1 x = 27 x 27 mod 99 x = 36

Power = 36² mod 99 Power = 9 5 a 5 = 0 x = 81 Power = 9² mod 99 Power = 81 6 a 6 = 1 x = 81 x 81 mod 99 x = 27 7 a 7 = 1 x = 27 x 27 mod 99 x = 36 Question 1 Section 4.1 11. What time does a 12-hour clock read a) 80 hours after it reads 11:00? b) 40 hours before it reads 12:00? c) 100 hours after it reads 6:00? I don't really understand this question

More information

MATH 135 Algebra, Solutions to Assignment 7

MATH 135 Algebra, Solutions to Assignment 7 MATH 135 Algebra, Solutions to Assignment 7 1: (a Find the smallest non-negative integer x such that x 41 (mod 9. Solution: The smallest such x is the remainder when 41 is divided by 9. We have 41 = 9

More information

Carmen s Core Concepts (Math 135)

Carmen s Core Concepts (Math 135) Carmen s Core Concepts (Math 135) Carmen Bruni University of Waterloo Week 7 1 Congruence Definition 2 Congruence is an Equivalence Relation (CER) 3 Properties of Congruence (PC) 4 Example 5 Congruences

More information

The Chinese Remainder Theorem

The Chinese Remainder Theorem The Chinese Remainder Theorem Theorem. Let m and n be two relatively prime positive integers. Let a and b be any two integers. Then the two congruences x a (mod m) x b (mod n) have common solutions. Any

More information

Sheet 1: Introduction to prime numbers.

Sheet 1: Introduction to prime numbers. Option A Hand in at least one question from at least three sheets Sheet 1: Introduction to prime numbers. [provisional date for handing in: class 2.] 1. Use Sieve of Eratosthenes to find all prime numbers

More information

by Michael Filaseta University of South Carolina

by Michael Filaseta University of South Carolina by Michael Filaseta University of South Carolina Background: A covering of the integers is a system of congruences x a j (mod m j, j =, 2,..., r, with a j and m j integral and with m j, such that every

More information

Discrete Math Class 4 ( )

Discrete Math Class 4 ( ) Discrete Math 37110 - Class 4 (2016-10-06) 41 Division vs congruences Instructor: László Babai Notes taken by Jacob Burroughs Revised by instructor DO 41 If m ab and gcd(a, m) = 1, then m b DO 42 If gcd(a,

More information

Mark Kozek. December 7, 2010

Mark Kozek. December 7, 2010 : in : Whittier College December 7, 2010 About. : in Hungarian mathematician, 1913-1996. Interested in combinatorics, graph theory, number theory, classical analysis, approximation theory, set theory,

More information

Algorithmic Number Theory and Cryptography (CS 303)

Algorithmic Number Theory and Cryptography (CS 303) Algorithmic Number Theory and Cryptography (CS 303) Modular Arithmetic and the RSA Public Key Cryptosystem Jeremy R. Johnson 1 Introduction Objective: To understand what a public key cryptosystem is and

More information

Number Theory. Konkreetne Matemaatika

Number Theory. Konkreetne Matemaatika ITT9131 Number Theory Konkreetne Matemaatika Chapter Four Divisibility Primes Prime examples Factorial Factors Relative primality `MOD': the Congruence Relation Independent Residues Additional Applications

More information

Introduction to Modular Arithmetic

Introduction to Modular Arithmetic 1 Integers modulo n 1.1 Preliminaries Introduction to Modular Arithmetic Definition 1.1.1 (Equivalence relation). Let R be a relation on the set A. Recall that a relation R is a subset of the cartesian

More information

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

Exam 1 7 = = 49 2 ( ) = = 7 ( ) = Exam 1 Problem 1. a) Define gcd(a, b). Using Euclid s algorithm comute gcd(889, 168). Then find x, y Z such that gcd(889, 168) = x 889 + y 168 (check your answer!). b) Let a be an integer. Prove that gcd(3a

More information

Linear Congruences. The solutions to a linear congruence ax b (mod m) are all integers x that satisfy the congruence.

Linear Congruences. The solutions to a linear congruence ax b (mod m) are all integers x that satisfy the congruence. Section 4.4 Linear Congruences Definition: A congruence of the form ax b (mod m), where m is a positive integer, a and b are integers, and x is a variable, is called a linear congruence. The solutions

More information

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = =

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = = Math 115 Discrete Math Final Exam December 13, 2000 Your name It is important that you show your work. 1. Use the Euclidean algorithm to solve the decanting problem for decanters of sizes 199 and 98. In

More information

An elementary study of Goldbach Conjecture

An elementary study of Goldbach Conjecture An elementary study of Goldbach Conjecture Denise Chemla 26/5/2012 Goldbach Conjecture (7 th, june 1742) states that every even natural integer greater than 4 is the sum of two odd prime numbers. If we

More information

SESAME Modular Arithmetic. MurphyKate Montee. March 2018 IN,Z, We think numbers should satisfy certain rules, which we call axioms:

SESAME Modular Arithmetic. MurphyKate Montee. March 2018 IN,Z, We think numbers should satisfy certain rules, which we call axioms: SESAME Modular Arithmetic MurphyKate Montee March 08 What is a Number? Examples of Number Systems: We think numbers should satisfy certain rules which we call axioms: Commutivity Associativity 3 Existence

More information

Numbers (8A) Young Won Lim 6/21/17

Numbers (8A) Young Won Lim 6/21/17 Numbers (8A Copyright (c 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version

More information

Numbers (8A) Young Won Lim 5/24/17

Numbers (8A) Young Won Lim 5/24/17 Numbers (8A Copyright (c 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version

More information

Numbers (8A) Young Won Lim 5/22/17

Numbers (8A) Young Won Lim 5/22/17 Numbers (8A Copyright (c 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version

More information

Solutions for the Practice Final

Solutions for the Practice Final Solutions for the Practice Final 1. Ian and Nai play the game of todo, where at each stage one of them flips a coin and then rolls a die. The person who played gets as many points as the number rolled

More information

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.

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. Solutions to Exam 1 Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively rime ositive integers. Prove that m φ(n) + n φ(m) 1 (mod mn). c) Find the remainder of 1 008

More information

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

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 Exercise help set 6/2011 Number Theory 1. x 2 0 (mod 2) x 2 (mod 6) x 2 (mod 3) a) x 5 (mod 7) x 5 (mod 7) x 8 (mod 15) x 8 3 (mod 5) (x 8 2 (mod 3)) So x 0y + 2z + 5w + 8u (mod 210). y is not needed.

More information

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

Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating by hand. Midterm #: practice MATH Intro to Number Theory midterm: Thursday, Nov 7 Please print your name: Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating

More information

Goldbach Conjecture (7 th june 1742)

Goldbach Conjecture (7 th june 1742) Goldbach Conjecture (7 th june 1742) We note P the odd prime numbers set. P = {p 1 = 3, p 2 = 5, p 3 = 7, p 4 = 11,...} n 2N\{0, 2, 4}, p P, p n/2, q P, q n/2, n = p + q We call n s Goldbach decomposition

More information

Congruence. Solving linear congruences. A linear congruence is an expression in the form. ax b (modm)

Congruence. Solving linear congruences. A linear congruence is an expression in the form. ax b (modm) Congruence Solving linear congruences A linear congruence is an expression in the form ax b (modm) a, b integers, m a positive integer, x an integer variable. x is a solution if it makes the congruence

More information

Math 319 Problem Set #7 Solution 18 April 2002

Math 319 Problem Set #7 Solution 18 April 2002 Math 319 Problem Set #7 Solution 18 April 2002 1. ( 2.4, problem 9) Show that if x 2 1 (mod m) and x / ±1 (mod m) then 1 < (x 1, m) < m and 1 < (x + 1, m) < m. Proof: From x 2 1 (mod m) we get m (x 2 1).

More information

Mathematics Explorers Club Fall 2012 Number Theory and Cryptography

Mathematics Explorers Club Fall 2012 Number Theory and Cryptography Mathematics Explorers Club Fall 2012 Number Theory and Cryptography Chapter 0: Introduction Number Theory enjoys a very long history in short, number theory is a study of integers. Mathematicians over

More information

Degree project NUMBER OF PERIODIC POINTS OF CONGRUENTIAL MONOMIAL DYNAMICAL SYSTEMS

Degree project NUMBER OF PERIODIC POINTS OF CONGRUENTIAL MONOMIAL DYNAMICAL SYSTEMS Degree project NUMBER OF PERIODIC POINTS OF CONGRUENTIAL MONOMIAL DYNAMICAL SYSTEMS Author: MD.HASIRUL ISLAM NAZIR BASHIR Supervisor: MARCUS NILSSON Date: 2012-06-15 Subject: Mathematics and Modeling Level:

More information

Number Theory/Cryptography (part 1 of CSC 282)

Number Theory/Cryptography (part 1 of CSC 282) Number Theory/Cryptography (part 1 of CSC 282) http://www.cs.rochester.edu/~stefanko/teaching/11cs282 1 Schedule The homework is due Sep 8 Graded homework will be available at noon Sep 9, noon. EXAM #1

More information

Solutions for the 2nd Practice Midterm

Solutions for the 2nd Practice Midterm Solutions for the 2nd Practice Midterm 1. (a) Use the Euclidean Algorithm to find the greatest common divisor of 44 and 17. The Euclidean Algorithm yields: 44 = 2 17 + 10 17 = 1 10 + 7 10 = 1 7 + 3 7 =

More information

Math 3560 HW Set 6. Kara. October 17, 2013

Math 3560 HW Set 6. Kara. October 17, 2013 Math 3560 HW Set 6 Kara October 17, 013 (91) Let I be the identity matrix 1 Diagonal matrices with nonzero entries on diagonal form a group I is in the set and a 1 0 0 b 1 0 0 a 1 b 1 0 0 0 a 0 0 b 0 0

More information

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.

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. Great Theoretical Ideas In Computer Science Steven Rudich CS - Spring Lecture Feb, Carnegie Mellon University Modular Arithmetic and the RSA Cryptosystem p- p MAX(a,b) + MIN(a,b) = a+b n m means that m

More information

Cryptography, Number Theory, and RSA

Cryptography, Number Theory, and RSA Cryptography, Number Theory, and RSA Joan Boyar, IMADA, University of Southern Denmark November 2015 Outline Symmetric key cryptography Public key cryptography Introduction to number theory RSA Modular

More information

Modular arithmetic Math 2320

Modular arithmetic Math 2320 Modular arithmetic Math 220 Fix an integer m 2, called the modulus. For any other integer a, we can use the division algorithm to write a = qm + r. The reduction of a modulo m is the remainder r resulting

More information

Zhanjiang , People s Republic of China

Zhanjiang , People s Republic of China Math. Comp. 78(2009), no. 267, 1853 1866. COVERS OF THE INTEGERS WITH ODD MODULI AND THEIR APPLICATIONS TO THE FORMS x m 2 n AND x 2 F 3n /2 Ke-Jian Wu 1 and Zhi-Wei Sun 2, 1 Department of Mathematics,

More information

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees. 7 Symmetries 7 Permutations A permutation of a set is a reordering of its elements Another way to look at it is as a function Φ that takes as its argument a set of natural numbers of the form {, 2,, n}

More information

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

CMath 55 PROFESSOR KENNETH A. RIBET. Final Examination May 11, :30AM 2:30PM, 100 Lewis Hall CMath 55 PROFESSOR KENNETH A. RIBET Final Examination May 11, 015 11:30AM :30PM, 100 Lewis Hall Please put away all books, calculators, cell phones and other devices. You may consult a single two-sided

More information

MAT Modular arithmetic and number theory. Modular arithmetic

MAT Modular arithmetic and number theory. Modular arithmetic Modular arithmetic 1 Modular arithmetic may seem like a new and strange concept at first The aim of these notes is to describe it in several different ways, in the hope that you will find at least one

More information

ON MULTIPLICATIVE SEMIGROUPS OF RESIDUE CLASSES

ON MULTIPLICATIVE SEMIGROUPS OF RESIDUE CLASSES ON MULTIPLICATIVE SEMIGROUPS OF RESIDUE CLASSES E. T. PARKER1 The set of residue classes, modulo any positive integer, is commutative and associative under the operation of multiplication. The author made

More information

The Sign of a Permutation Matt Baker

The Sign of a Permutation Matt Baker The Sign of a Permutation Matt Baker Let σ be a permutation of {1, 2,, n}, ie, a one-to-one and onto function from {1, 2,, n} to itself We will define what it means for σ to be even or odd, and then discuss

More information

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

PT. Primarity Tests Given an natural number n, we want to determine if n is a prime number. PT. Primarity Tests Given an natural number n, we want to determine if n is a prime number. (PT.1) If a number m of the form m = 2 n 1, where n N, is a Mersenne number. If a Mersenne number m is also a

More information

MODULAR ARITHMETIC II: CONGRUENCES AND DIVISION

MODULAR ARITHMETIC II: CONGRUENCES AND DIVISION MODULAR ARITHMETIC II: CONGRUENCES AND DIVISION MATH CIRCLE (BEGINNERS) 02/05/2012 Modular arithmetic. Two whole numbers a and b are said to be congruent modulo n, often written a b (mod n), if they give

More information

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

PRIMES IN SHIFTED SUMS OF LUCAS SEQUENCES. Lenny Jones Department of Mathematics, Shippensburg University, Shippensburg, Pennsylvania #A52 INTEGERS 17 (2017) PRIMES IN SHIFTED SUMS OF LUCAS SEQUENCES Lenny Jones Department of Mathematics, Shippensburg University, Shippensburg, Pennsylvania lkjone@ship.edu Lawrence Somer Department of

More information

Math 124 Homework 5 Solutions

Math 124 Homework 5 Solutions Math 12 Homework 5 Solutions by Luke Gustafson Fall 2003 1. 163 1 2 (mod 2 gives = 2 the smallest rime. 2a. First, consider = 2. We know 2 is not a uadratic residue if and only if 3, 5 (mod 8. By Dirichlet

More information

EE 418: Network Security and Cryptography

EE 418: Network Security and Cryptography EE 418: Network Security and Cryptography Homework 3 Solutions Assigned: Wednesday, November 2, 2016, Due: Thursday, November 10, 2016 Instructor: Tamara Bonaci Department of Electrical Engineering University

More information

In this paper, we discuss strings of 3 s and 7 s, hereby dubbed dreibens. As a first step

In this paper, we discuss strings of 3 s and 7 s, hereby dubbed dreibens. As a first step Dreibens modulo A New Formula for Primality Testing Arthur Diep-Nguyen In this paper, we discuss strings of s and s, hereby dubbed dreibens. As a first step towards determining whether the set of prime

More information

Discrete Mathematics & Mathematical Reasoning Multiplicative Inverses and Some Cryptography

Discrete Mathematics & Mathematical Reasoning Multiplicative Inverses and Some Cryptography Discrete Mathematics & Mathematical Reasoning Multiplicative Inverses and Some Cryptography Colin Stirling Informatics Some slides based on ones by Myrto Arapinis Colin Stirling (Informatics) Discrete

More information

MATH 433 Applied Algebra Lecture 12: Sign of a permutation (continued). Abstract groups.

MATH 433 Applied Algebra Lecture 12: Sign of a permutation (continued). Abstract groups. MATH 433 Applied Algebra Lecture 12: Sign of a permutation (continued). Abstract groups. Permutations Let X be a finite set. A permutation of X is a bijection from X to itself. The set of all permutations

More information

6.2 Modular Arithmetic

6.2 Modular Arithmetic 6.2 Modular Arithmetic Every reader is familiar with arithmetic from the time they are three or four years old. It is the study of numbers and various ways in which we can combine them, such as through

More information

LUCAS-SIERPIŃSKI AND LUCAS-RIESEL NUMBERS

LUCAS-SIERPIŃSKI AND LUCAS-RIESEL NUMBERS LUCAS-SIERPIŃSKI AND LUCAS-RIESEL NUMBERS DANIEL BACZKOWSKI, OLAOLU FASORANTI, AND CARRIE E. FINCH Abstract. In this paper, we show that there are infinitely many Sierpiński numbers in the sequence of

More information

Foundations of Cryptography

Foundations of Cryptography Foundations of Cryptography Ville Junnila viljun@utu.fi Department of Mathematics and Statistics University of Turku 2015 Ville Junnila viljun@utu.fi Lecture 10 1 of 17 The order of a number (mod n) Definition

More information

Is 1 a Square Modulo p? Is 2?

Is 1 a Square Modulo p? Is 2? Chater 21 Is 1 a Square Modulo? Is 2? In the revious chater we took various rimes and looked at the a s that were quadratic residues and the a s that were nonresidues. For examle, we made a table of squares

More information

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

Cryptography Math 1580 Silverman First Hour Exam Mon Oct 2, 2017 Name: Cryptography Math 1580 Silverman First Hour Exam Mon Oct 2, 2017 INSTRUCTIONS Read Carefully Time: 50 minutes There are 5 problems. Write your name legibly at the top of this page. No calculators

More information

A REMARK ON A PAPER OF LUCA AND WALSH 1. Zhao-Jun Li Department of Mathematics, Anhui Normal University, Wuhu, China. Min Tang 2.

A REMARK ON A PAPER OF LUCA AND WALSH 1. Zhao-Jun Li Department of Mathematics, Anhui Normal University, Wuhu, China. Min Tang 2. #A40 INTEGERS 11 (2011) A REMARK ON A PAPER OF LUCA AND WALSH 1 Zhao-Jun Li Department of Mathematics, Anhui Normal University, Wuhu, China Min Tang 2 Department of Mathematics, Anhui Normal University,

More information

Number Theory and Public Key Cryptography Kathryn Sommers

Number Theory and Public Key Cryptography Kathryn Sommers Page!1 Math 409H Fall 2016 Texas A&M University Professor: David Larson Introduction Number Theory and Public Key Cryptography Kathryn Sommers Number theory is a very broad and encompassing subject. At

More information

5 Symmetric and alternating groups

5 Symmetric and alternating groups MTHM024/MTH714U Group Theory Notes 5 Autumn 2011 5 Symmetric and alternating groups In this section we examine the alternating groups A n (which are simple for n 5), prove that A 5 is the unique simple

More information

Permutation Groups. Definition and Notation

Permutation Groups. Definition and Notation 5 Permutation Groups Wigner s discovery about the electron permutation group was just the beginning. He and others found many similar applications and nowadays group theoretical methods especially those

More information