1.6 Congruence Modulo m
|
|
- Nelson Blair
- 6 years ago
- Views:
Transcription
1 1.6 Congruence Modulo m 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 it was stated that if n is a prime number p, thenn = p is the only prime factorization of n. Explain why this is true. 7. In our proof of Theorem we stated that A similar argument shows that p r >q s is also impossible. Under the assumptions used in our proof of the theorem, present this similar argument. Exercise Notes: For Exercise 5, use induction on n. 1.6 Congruence Modulo m Karl Friedrich Gauss ( ) has been called the Prince of Mathematicians for his many contributions to pure and applied mathematics. One of Gauss s most important contributions to number theory was the introduction of an equivalence relation on the integers called congruence modulo m, wherem 1 is an integer. We will investigate Gauss s congruence relation. We will also show that the operations of addition, subtraction, and multiplication preserve Gauss s relation (see Theorem 1.6.2). Definition (Congruence modulo m). Let m 1 be an integer. For any integers a and b, we define a b (mod m) if and only if m (a b). For example, 10 2 (mod 4) because 4 (10 2), 5 3 (mod 4) since 4 ( 5 3), and 24 0 (mod 4) because 4 (24 0). Remark. When a b (mod m) we say that a is congruent to b modulo m. a 6 b (mod m), when we wish to say that a is not congruent to b modulo m. We also write The notation a b (mod m) given in Definition is just a statement about divisibility and is used mainly to simplify reasoning about the divisibility concept. When m 1 is an integer and a, b are integers, one can easily verify that the following are all equivalent: 1. a b (mod m), 2. m (a b), 3. a b = km for some k 2 Z, 4. a = b + km for some k 2 Z. Example 1. Let n be any integer. The division algorithm (see Theorem 1.4.1) implies that there are integers k and r such that n =4k + r and 0 apple r<4. Thus, we have n =4k + 0, n =4k + 1, n =4k+2 or n =4k+3. We conclude for every integer n that either n 0 (mod 4) or n 1 (mod 4) or n 2 (mod 4) or n 3 (mod 4) Fundamental Properties In this section we shall establish a series of theorems that will allow us to develop a so-called congruence algebra. The following theorem is a fundamental result showing that the congruence modulo m relation is preserved under the operations of addition, subtraction, and multiplication.
2 48 Chapter 1. The Integers Theorem Let m 1. (a + c) (b + d)(mod m), 2. (a c) (b d)(mod m), 3. ac bd (mod m). 1. Ifa b (mod m) and c d (mod m), then Proof. Assume that a b (mod m) and c d (mod m), that is for some integers i and j. a b = mi (1.8) c d = mj (1.9) 1. To prove (a + c) (b + d)(mod m), we add the corresponding sides of equations (1.8) and (1.9) to obtain (a b)+(c d) = mi + mj. So, (a + c) (b + d) =m(i + j). Therefore, (a + c) (b + d)(mod m). 2. To prove (a c) (b d)(mod m), we subtract the corresponding sides of equations (1.8) and (1.9) to obtain (a b) (c d) =mi mj. So, (a c) (b d) =m(i j). Therefore, (a c) (b d)(mod m). 3. To prove ac bd (mod m), we first multiply (both sides of) equation (1.8) by c and multiply equation (1.9) by b obtaining ac bc = mic (1.10) bc bd = mjb. (1.11) Adding equations (1.10) and (1.11) gives ac bd = m(ic + jb). Thus, ac bd (mod m). This completes the proof. Corollary Let m 1. Ifa b (mod m), then for all integers c we have 1. a + c b + c (mod m), 2. a c b c (mod m), 3. ac bc (mod m). Proof. Assume a b (mod m). Since c c (mod m), Theorem implies 1 3. Theorem Let m 1. Ifa b (mod m), then a 2 b 2 (mod m). Proof. Assume a b (mod m). From Theorem 1.6.2(3) we conclude that aa bb (mod m). Therefore, a 2 b 2 (mod m). Using Theorem 1.6.2(3) and mathematical induction on k, one can prove (see Exercise 13) the following theorem. Theorem Let m 1. For every integer k 1, ifa b (mod m) then a k b k (mod m). Theorem Let Z be the set of integers. Let m 1 be an integer. Let the relation on Z be defined by a b if and only if a b (mod m) (1.12) whenever a, b 2 Z. Then is an equivalence relation.
3 1.6 Congruence Modulo m 49 Proof. We shall prove that the relation on Z defined by (1.12) is an equivalence relation; that is, we prove that is reflexive, symmetric, and transitive. Proof that is reflexive. Let x 2 Z be arbitrary. We prove that x x, that is, we prove that x x = km for some k 2 Z. Clearly, for k = 0 we get that x x =0m. Therefore, x x. Proof that is symmetric. Let x, y 2 Z be arbitrary. Assume x y, that is, assume x y = km for some k 2 Z. We prove that y x. Since x y = km, it follows (by multiplying both sides of the equation by 1) that y x =( k)m where k is an integer. Therefore, y x. Proof that is transitive. Let x, y, z 2 Z be arbitrary. Assume x y and y z, that is, assume x y = im and y z = jm for some i, j 2 Z. We prove that x z. Since x y = im and y z = jm, it follows (by adding these latter two equations) that x z = im + jm =(i + j)m where i + j is an integer. Therefore, x z. Theorems 1.6.2, 1.6.5, and allow us to derive congruence relations by using congruence algebra. Example 2. Let m>1 be a whole number. Suppose that a 4(mod m), b 10 (mod m), and c 3(mod m). Show that 3a 2 2b c 3 +4m 1(mod m). Solution. We are given that a 4(mod m), b 10 (mod m), and c 3(mod m). (1.13) We will show that 3a 2 2b c 3 +4m 1(mod m) as follows: 3a 2 2b c 3 +4m 3a 2 2b c 3 (mod m) because 4m 0(mod m) (mod m) by (1.13) 1(mod m) because = 1. Therefore, 3a 2 +2b + c 3 +4m 1(mod m). s Congruence Classes Let m 1 be an integer and let be the equivalence relation on Z defined by (1.12). Recalling Definition 0.5.2, for any a 2 Z the set [a] is the equivalence class of a. Since the relation is so closely connected with m, we shall also use [a] m to also denote [a].thus, [a] m = {x 2 Z : x a (mod m)}. Observe that [a] m = {a + mk : k 2 Z} because x 2 [a] m i x a (mod m) i x = a + mk for some k 2 Z. We shall call [a] m the congruence class of a (mod m). Applying Theorem 0.5.4, we see that a b (mod m) if and only if [a] m =[b] m (1.14) for all a, b 2 Z. We conclude from Theorem and Definition that Z/ = {[a] m : a 2 Z} is the partition of the set of integers Z induced by, where is defined by (1.12). We shall now use the notation Z m to denote this partition Z/. Lemma Let m>1 be an integer. For all a 2 Z and b 2 Z, we have that
4 50 Chapter 1. The Integers 1. [a] m =[b] m if and only if a b (mod m); 2. a 2 [b] m if and only if a b (mod m). Proof. Since congruence modulo m is an equivalence relation on Z, items 1 and 2 follow from Lemma and Corollary 0.5.5, respectively. We now begin to determine the number of distinct equivalence classes that the congruence modulo m relation produces. Theorem Let m 1 be an integer. For any integer a there is exactly one integer r in the list 0, 1,...,m 1 such that a r (mod m). Proof. Let m 1 be an integer and let a be any integer. We will prove that there is a unique integer r in the list 0, 1,...,m 1 such that a r (mod m). Existence: By Theorem 1.4.1, there exists integers q and r such that a = qm + r and 0 apple r<m. Thus, (1) a r = qm and therefore, a r (mod m) and 0 apple r<m. Uniqueness: Let r be as in the existence part of our proof. Let r 0 be any integer also satisfying 0 apple r 0 <mand a r 0 (mod m). We shall prove that r = r 0. Since a r 0 (mod m), there is an integer q 0 such that a r 0 = q 0 m and thus, a = q 0 m + r 0. From (1) we also see that a = qm + r. Since 0 apple r, r 0 <m, Theorem now implies that r = r 0. Problem 3. Show that every perfect square is congruent to 0 or 1 (mod 4). Solution. Let n be a perfect square. So n = k 2 for some integer k. Theorem asserts that k r (mod 4) for some r in the list 0, 1, 2, 3. Thus, either k 0 (mod 4), k 1 (mod 4), k 2 (mod 4), or k 3 (mod 4). (1.15) Thus, (1.15) and Theorem imply that either k (mod 4), k (mod 4), k (mod 4), or k (mod 4). Since (mod 4) and (mod 4), we conclude that in every case either k 2 0 (mod 4) or k 2 1 (mod 4). Therefore, because n = k 2, we conclude that n 0 (mod 4) or n 1 (mod 4). s Given an integer m 1, Theorem asserts that every integer is congruent (mod m) to exactly one of the numbers in the list 0, 1,...,m 1. For this reason, we shall call this list a complete residue system (mod m). Corollary Let m 1 be an integer. For any integer k there is exactly one integer r in the list 0, 1,...,m 1 such that [k] m =[r] m. Proof. Let k be an integer. By Theorem there is exactly one integer r in the list 0, 1,...,m 1 such that k r (mod m). Lemma implies that [k] m =[r] m. Thus, there is exactly one such r where [k] m =[r] m. Corollary Let m 1 be an integer. For integers k 6= r in the list 0, 1,...,m 1, we have that [k] m 6=[r] m and hence, [k] m and [r] m are disjoint. Proof. Let k 6= r both be in the list 0, 1,...,m 1. (1.16) Since k and r are two di erent integers in the list (1.16), Corollary implies [k] m 6=[r] m. Theorem now implies that [k] m \ [r] m = ;.
5 1.6 Congruence Modulo m 51 Let m 1 be an integer. Corollaries and assert that there are exactly m many distinct congruence classes (mod m) for a given integer m 1. We conclude that Z m = {[0] m, [1] m, [2] m,...,[m 1] m }. Example 4. Let Z be the set of integers. Consider the equivalence relation on Z defined by a b if and only if a b (mod 5) and let Z 5 be the partition of Z induced by (see Figure 1.3). Note that: 1. For every a 2 Z, [a] 5 = {a +5k : k 2 Z}. 2. Corollaries and imply that Z = [0] 5 [ [1] 5 [ [2] 5 [ [3] 5 [ [4] 5 and the sets [0] 5, [1] 5, [2] 5, [3] 5, [4] 5 are all mutually disjoint. Thus, Z 5 = {[0] 5, [1] 5, [2] 5, [3] 5, [4] 5 }. 3. The set Z 5 is a partition of Z as represented by the diagram in Figure 1.3. Z = " " " " " [0] 5 [1] 5 [2] 5 [3] 5 [4] 5 Figure 1.3: Partition of Z induced by. Remark Let m 1 be an integer. When the integer m is understood, we shall drop the subscripts; that is, we will just use [a] instead of [a] m and shall write Z m = {[0], [1], [2],...,[m 1]}. Many texts just let Z m = {0, 1, 2,...,m 1}, which clearly simplifies the notation, and at times we will do the same. Exercises Which of the following are valid congruences? 5 13 (mod 4), 18 2 (mod 10) and 4 14 (mod 6). 2. By dividing 97 by 7, find a so that a 97 (mod 7) and 0 apple a<7. Now find b so that b 97 (mod 7) and 0 apple b<7. 3. Let m 1 be an integer. Show that if n 1(mod m), then n 2 + n 2(mod m) for every integer n. 4. Find a counterexample showing that the converse of Theorem does not hold. 5. Prove that for every odd integer k we have k 2 1 (mod 8). 6. Prove that (m 1) 2 1(mod m) for every whole number m>1. 7. Let m 1 be an integer and let a, b, k be integers where k 1. Prove that if a b (mod m) and k m, thena b (mod k).
6 52 Chapter 1. The Integers 8. Let m 1 be an integer and let a, b, k be integers where k 1. Prove that if a b (mod m), then ak bk (mod mk). 9. Let m 1 be an integer and let a, b, k be integers. Suppose that gcd(k, m) = 1. Prove that if ka kb (mod m), then a b (mod m). 10. Show that every perfect square is congruent to 0, 1 or 4 (mod 8). 11. Show that for all integers n, n 3 n (mod 3). 12. For every pair of integers x and y, show that x 2 + y 2 is congruent to 0, 1 or 2 (mod 4). 13. Prove Theorem using mathematical induction. 14. Let m = 6 and define the equivalence relation on Z: a b if and only if a b (mod 6). Let Z 6 = {[0], [1], [2], [3], [4], [5]} be the partition induced by, where[a] =[a] 6 for any a 2 Z. Determine which of the following are true. Justify your answers. (a) [2] = [3]. (b) [2] = [ 4]. (c) 5 2 [8]. (d) 5 2 [11]. (e) [3 + 4] = [1]. (f) [3 4] = [0]. 15. Let a be an integer and let m>1 be a whole number. Prove that [a] m = [0] m if and only if m a. 16. Let a and b be integers and let m>1 be a whole number. Prove that [a] m =[b] m if and only if a b = mi for some integer i. 17. Let Z 6 = {[0], [1], [2], [3], [4], [5]}. Consider the proposed function f : Z 6! Z defined by f([a]) = a for all [a] 2 Z 6. Show that f is not well-defined. Exercise Notes: For Exercise 3, use Theorems and For Exercise 5, see Exercise 4 on page 41. For Exercise 11, we know by Theorem that there are three cases to consider: n 0 (mod 3), n 1 (mod 3), or n 2 (mod 3). For Exercise 12, use Example 3 and congruence algebra. For Exercise 14, review Lemma For Exercise 17, review Lemma and Problem 4 on page Modular Arithmetic Modular arithmetic is a system of arithmetic that is based on the congruence modulo m relation. Carl Friedrich Gauss first introduced modular arithmetic in 1801 and it has become an important tool in number theory. In the next definition, we will first recall the rules of integer arithmetic that we all learned in elementary school. These rules are referred to as the ring axioms. We shall soon see that modular arithmetic also satisfies these same rules. Definition Let Z be the set of integers with the usual binary operations and +. We say that (Z, +, ) is a ring because it satisfies the following seven Ring Axioms: 1. a + b = b + a for all a, b 2 Z. 2. (a + b)+c = a +(b + c) for all a, b, c 2 Z.
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 informationThe 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 informationMath 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 informationNumber Theory - Divisibility Number Theory - Congruences. Number Theory. June 23, Number Theory
- Divisibility - Congruences June 23, 2014 Primes - Divisibility - Congruences Definition A positive integer p is prime if p 2 and its only positive factors are itself and 1. Otherwise, if p 2, then p
More information6.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 informationModular 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 informationLECTURE 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 informationCMPSCI 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 informationSOLUTIONS 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 informationNumber 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 informationMAT 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 informationFermat 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 informationCMPSCI 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 informationSolutions 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 informationCarmen 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 informationDistribution 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 informationIntroduction 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 informationALGEBRA: 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 informationNumber 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 informationWilson 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 informationNUMBER 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 informationThe 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 informationConstructions 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 informationPractice 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 informationModular 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 information6. 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 informationDiscrete 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#A3 INTEGERS 17 (2017) A NEW CONSTRAINT ON PERFECT CUBOIDS. Thomas A. Plick
#A3 INTEGERS 17 (2017) A NEW CONSTRAINT ON PERFECT CUBOIDS Thomas A. Plick tomplick@gmail.com Received: 10/5/14, Revised: 9/17/16, Accepted: 1/23/17, Published: 2/13/17 Abstract We show that out of the
More informationAn 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 informationPrimitive 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 informationLECTURE 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 informationCHAPTER 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 informationAssignment 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 informationA Quick Introduction to Modular Arithmetic
A Quick Introduction to Modular Arithmetic Art Duval University of Texas at El Paso November 16, 2004 1 Idea Here are a few quick motivations for modular arithmetic: 1.1 Sorting integers Recall how you
More informationCryptography 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 informationTwo congruences involving 4-cores
Two congruences involving 4-cores ABSTRACT. The goal of this paper is to prove two new congruences involving 4- cores using elementary techniques; namely, if a 4 (n) denotes the number of 4-cores of n,
More informationSolutions 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 information1 = 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 informationCongruence. 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 informationTo 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 informationSESAME 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 informationModular 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 informationp 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 informationMATH 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 informationPublic Key Encryption
Math 210 Jerry L. Kazdan Public Key Encryption The essence of this procedure is that as far as we currently know, it is difficult to factor a number that is the product of two primes each having many,
More informationFoundations 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 informationIntroduction. 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 informationPower = 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 informationMath 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 informationArithmetic of Remainders (Congruences)
Arithmetic of Remainders (Congruences) Donald Rideout, Memorial University of Newfoundland 1 Divisibility is a fundamental concept of number theory and is one of the concepts that sets it apart from other
More information12. 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,...
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
More informationSOLUTIONS 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 informationPermutation Groups. Every permutation can be written as a product of disjoint cycles. This factorization is unique up to the order of the factors.
Permutation Groups 5-9-2013 A permutation of a set X is a bijective function σ : X X The set of permutations S X of a set X forms a group under function composition The group of permutations of {1,2,,n}
More information17. 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 informationCalculators 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 informationb) 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 informationModular Arithmetic: refresher.
Lecture 7. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. Division!!! 3. Euclid s GCD Algorithm. A little tricky here! Clock Math If it is 1:00
More informationMST125. Essential mathematics 2. Number theory
MST125 Essential mathematics 2 Number theory This publication forms part of the Open University module MST125 Essential mathematics 2. Details of this and other Open University modules can be obtained
More informationA theorem on the cores of partitions
A theorem on the cores of partitions Jørn B. Olsson Department of Mathematical Sciences, University of Copenhagen Universitetsparken 5,DK-2100 Copenhagen Ø, Denmark August 9, 2008 Abstract: If s and t
More informationPRIMES 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 informationON THE EQUATION a x x (mod b) Jam Germain
ON THE EQUATION a (mod b) Jam Germain Abstract. Recently Jimenez and Yebra [3] constructed, for any given a and b, solutions to the title equation. Moreover they showed how these can be lifted to higher
More informationPermutation 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 informationcode V(n,k) := words module
Basic Theory Distance Suppose that you knew that an English word was transmitted and you had received the word SHIP. If you suspected that some errors had occurred in transmission, it would be impossible
More informationAn 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 informationTutorial 1. (ii) There are finite many possible positions. (iii) The players take turns to make moves.
1 Tutorial 1 1. Combinatorial games. Recall that a game is called a combinatorial game if it satisfies the following axioms. (i) There are 2 players. (ii) There are finite many possible positions. (iii)
More informationA STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP
INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 6 (2006), #A31 A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP Shinji Tanimoto Department of Mathematics, Kochi Joshi University
More informationCongruence properties of the binary partition function
Congruence properties of the binary partition function 1. Introduction. We denote by b(n) the number of binary partitions of n, that is the number of partitions of n as the sum of powers of 2. As usual,
More informationTilings with T and Skew Tetrominoes
Quercus: Linfield Journal of Undergraduate Research Volume 1 Article 3 10-8-2012 Tilings with T and Skew Tetrominoes Cynthia Lester Linfield College Follow this and additional works at: http://digitalcommons.linfield.edu/quercus
More informationCollection 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 informationA 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 informationDegree 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 informationUniversity 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 informationNIM Games: Handout 1
NIM Games: Handout 1 Based on notes by William Gasarch 1 One-Pile NIM Games Consider the following two-person game in which players alternate making moves. There are initially n stones on the board. During
More informationWarm-Up Up Exercises. 1. Find the value of x. ANSWER 32
Warm-Up Up Exercises 1. Find the value of x. ANSWER 32 2. Write the converse of the following statement. If it is raining, then Josh needs an umbrella. ANSWER If Josh needs an umbrella, then it is raining.
More informationPlaying with Permutations: Examining Mathematics in Children s Toys
Western Oregon University Digital Commons@WOU Honors Senior Theses/Projects Student Scholarship -0 Playing with Permutations: Examining Mathematics in Children s Toys Jillian J. Johnson Western Oregon
More informationAlgorithmic 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 information1111: Linear Algebra I
1111: Linear Algebra I Dr. Vladimir Dotsenko (Vlad) Lecture 7 Dr. Vladimir Dotsenko (Vlad) 1111: Linear Algebra I Lecture 7 1 / 8 Invertible matrices Theorem. 1. An elementary matrix is invertible. 2.
More informationON 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 informationPublic Key Cryptography Great Ideas in Theoretical Computer Science Saarland University, Summer 2014
7 Public Key Cryptography Great Ideas in Theoretical Computer Science Saarland University, Summer 2014 Cryptography studies techniques for secure communication in the presence of third parties. A typical
More informationLecture 8. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. 3. Euclid s GCD Algorithm
Lecture 8. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. 3. Euclid s GCD Algorithm Clock Math If it is 1:00 now. What time is it in 5 hours?
More informationFORBIDDEN INTEGER RATIOS OF CONSECUTIVE POWER SUMS
FORBIDDEN INTEGER RATIOS OF CONSECUTIVE POWER SUMS IOULIA N. BAOULINA AND PIETER MOREE To the memory of Prof. Wolfgang Schwarz Abstract. Let S k (m) := 1 k + 2 k +... + (m 1) k denote a power sum. In 2011
More informationMODULAR 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 informationGoldbach 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 informationby 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 informationGeometry Unit 2 Review Day 1 What to expect on the test:
Geometry Unit 2 Review Day 1 What to expect on the test: Conditional s Converse Inverse Contrapositive Bi-conditional statements Today we are going to do more work with Algebraic Proofs Counterexamples/Instances
More informationCongruences Modulo Small Powers of 2 and 3 for Partitions into Odd Designated Summands
1 3 47 6 3 11 Journal of Integer Sequences, Vol. 0 (017), Article 17.4.3 Congruences Modulo Small Powers of 3 for Partitions into Odd Designated Summs B. Hemanthkumar Department of Mathematics M. S. Ramaiah
More informationReceived: 10/24/14, Revised: 12/8/14, Accepted: 4/11/15, Published: 5/8/15
#G3 INTEGERS 15 (2015) PARTIZAN KAYLES AND MISÈRE INVERTIBILITY Rebecca Milley Computational Mathematics, Grenfell Campus, Memorial University of Newfoundland, Corner Brook, Newfoundland, Canada rmilley@grenfell.mun.ca
More informationPT. 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 informationFinal exam. Question Points Score. Total: 150
MATH 11200/20 Final exam DECEMBER 9, 2016 ALAN CHANG Please present your solutions clearly and in an organized way Answer the questions in the space provided on the question sheets If you run out of room
More informationMATH 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 informationChapter 1. The alternating groups. 1.1 Introduction. 1.2 Permutations
Chapter 1 The alternating groups 1.1 Introduction The most familiar of the finite (non-abelian) simple groups are the alternating groups A n, which are subgroups of index 2 in the symmetric groups S n.
More informationThe tenure game. The tenure game. Winning strategies for the tenure game. Winning condition for the tenure game
The tenure game The tenure game is played by two players Alice and Bob. Initially, finitely many tokens are placed at positions that are nonzero natural numbers. Then Alice and Bob alternate in their moves
More informationELEMENTS OF NUMBER THEORY & CONGRUENCES. Lagrange, Legendre and Gauss. Mth Mathematicst
ELEMENTS OF NUMBER THEORY & CONGRUENCES Lagrange, Legendre and Gauss ELEMENTS OF NUMBER THEORY & CONGRUENCES 1) If a 0, b 0 Z and a/b, b/a then 1) a=b 2) a=1 3) b=1 4) a=±b Ans : is 4 known result. If
More informationMathematics 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 information5 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 informationON 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 informationMonotone Sequences & Cauchy Sequences Philippe B. Laval
Monotone Sequences & Cauchy Sequences Philippe B. Laval Monotone Sequences & Cauchy Sequences 2 1 Monotone Sequences and Cauchy Sequences 1.1 Monotone Sequences The techniques we have studied so far require
More informationSolutions 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 informationDE BRUIJN SEQUENCES WITH VARYING COMBS. Abbas Alhakim 1 Department of Mathematics, American University of Beirut, Beirut, Lebanon
#A1 INTEGERS 14A (2014) DE BRUIJN SEQUENCES WITH VARYING COMBS Abbas Alhakim 1 Department of Mathematics, American University of Beirut, Beirut, Lebanon aa145@aub.edu.lb Steve Butler Department of Mathematics,
More informationSolutions 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