Similar documents



Math 319 Problem Set #3 Solution 21 February 2002



Applications of Fermat s Little Theorem and Congruences

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

Every Positive Integer is the Sum of Four Squares! (and other exciting problems)

Computer and Network Security

k, then n = p2α 1 1 pα k

Homework until Test #2

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

Cryptography and Network Security Number Theory

Factorization Algorithms for Polynomials over Finite Fields

Lectures on Number Theory. Lars-Åke Lindahl

QUADRATIC RECIPROCITY IN CHARACTERISTIC 2

COMMUTATIVE RINGS. Definition: A domain is a commutative ring R that satisfies the cancellation law for multiplication:

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, Notes on Algebra

Integer Factorization using the Quadratic Sieve

Overview of Number Theory Basics. Divisibility

Factoring Algorithms

Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and

Continued Fractions and the Euclidean Algorithm

8 Primes and Modular Arithmetic

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

Stupid Divisibility Tricks

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

Computing exponents modulo a number: Repeated squaring

Introduction to Finite Fields (cont.)

Integer roots of quadratic and cubic polynomials with integer coefficients

FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z

Settling a Question about Pythagorean Triples

SUM OF TWO SQUARES JAHNAVI BHASKAR

Lecture 13 - Basic Number Theory.

All trees contain a large induced subgraph having all degrees 1 (mod k)

Invertible elements in associates and semigroups. 1

On Generalized Fermat Numbers 3 2n +1

Cryptography and Network Security Chapter 8

THE CONGRUENT NUMBER PROBLEM

Iterations of sum of powers of digits

MACM 101 Discrete Mathematics I

FACTORING CERTAIN INFINITE ABELIAN GROUPS BY DISTORTED CYCLIC SUBSETS

PYTHAGOREAN TRIPLES KEITH CONRAD

CONTRIBUTIONS TO ZERO SUM PROBLEMS

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Number Theory Hungarian Style. Cameron Byerley s interpretation of Csaba Szabó s lectures

ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

Mathematical Association of America is collaborating with JSTOR to digitize, preserve and extend access to Mathematics Magazine.

Collinear Points in Permutations

3 Some Integer Functions

Handout NUMBER THEORY

PROBLEM SET 6: POLYNOMIALS

V Quantitative Reasoning: Computers, Number Theory and Cryptography

11 Ideals Revisiting Z

Module MA3411: Abstract Algebra Galois Theory Appendix Michaelmas Term 2013

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.

Factoring Polynomials

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: b + 90c = c + 10b

Midterm Practice Problems

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

MOP 2007 Black Group Integer Polynomials Yufei Zhao. Integer Polynomials. June 29, 2007 Yufei Zhao

Greatest Common Factors and Least Common Multiples with Venn Diagrams

Some facts about polynomials modulo m (Full proof of the Fingerprinting Theorem)

Cryptography and Network Security Department of Computer Science and Engineering Indian Institute of Technology Kharagpur

Number Theory and the RSA Public Key Cryptosystem

The Chinese Remainder Theorem

Discrete Mathematics, Chapter 4: Number Theory and Cryptography

An Introductory Course in Elementary Number Theory. Wissam Raji

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples

Mathematics 2540 Paper 5540H/3H

POLYNOMIAL RINGS AND UNIQUE FACTORIZATION DOMAINS

Some Polynomial Theorems. John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA

INTRODUCTORY SET THEORY

Polynomials and Factoring

Goldbach's Strong Conjecture This states that all even integers are formed by the addition of at least one pair of prime numbers.

Polynomials and Factoring

A simple criterion on degree sequences of graphs

About the inverse football pool problem for 9 games 1

The Factor Theorem and a corollary of the Fundamental Theorem of Algebra

An Innocent Investigation

COMMUTATIVITY DEGREES OF WREATH PRODUCTS OF FINITE ABELIAN GROUPS

Elementary Number Theory

Number Theory and Cryptography using PARI/GP

Why? A central concept in Computer Science. Algorithms are ubiquitous.

Labeling outerplanar graphs with maximum degree three

PROOFS BY DESCENT KEITH CONRAD

Chapter 3. if 2 a i then location: = i. Page 40

Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

FACTORING IN QUADRATIC FIELDS. 1. Introduction. This is called a quadratic field and it has degree 2 over Q. Similarly, set

Unique Factorization

Automata and Formal Languages

OSTROWSKI FOR NUMBER FIELDS

Transcription:

Chapter 4 Complementary Sets Of Systems Of Congruences Proceedings NCUR VII. è1993è, Vol. II, pp. 793í796. Jeærey F. Gold Department of Mathematics, Department of Physics University of Utah Don H. Tucker Department of Mathematics University of Utah Introduction We introduce remodulization and use it to characterize the complementary sets of systems of congruences. The following is an excerpt of a continuing eæort to characterize systems of congruences. Remodulization Deænition 1 If a and b are integers, then a mod b = fa; a æ b; a æ 2b;:::g : We will write x ç a mod b, meaning that x is an element oftheseta mod b. èthe symbol ç is not an equality symbol, but rather a specialized form of the ë2" or ëis an element of:::" symbolè. The common terminology is to say that x 1

CHAPTER 4. COMP. SETS OF SYSTEMS OF CONGRUENCES 2 is congruent to a modulo b. These sets are also frequently called residue classes since they consist of those integers which, upon division by b, leave a remainder èresidueè of a. It is customary to write a as the least non-negative residue. Deænition 2 If a 1 ;a 2 ;:::;a n,b 2 Z, then ëa 1 ;a 2 ;:::;a n ëmodb =èa 1 mod bèëèa 2 mod bèëæææëèa n mod bè = në a i mod b: Theorem 1 èremodulization Theoremè Suppose a, b, and c 2 Z and c 0, then a mod b =ëa; a + b;:::;a+ bèc, 1èë mod cb : Proof. We write a mod b = f ::: a, cb; a, èc, 1èb; ::: a, b; a; a + b; ::: a +èc, 1èb; a + cb; a +èc +1èb; ::: a +è2c, 1èb; ::: g and upon rewriting the columns, a mod b = f ::: a, cb; a + b, cb; ::: a +èc, 1èb, cb; a; a + b; ::: a +èc, 1èb; a + cb; a + b + cb; ::: a +èc, 1èb + cb; ::: g : Then, forming unions on the extended columns, the result follows. We refer to this process as remodulization by a factor c. Complementary Sets Using Deænition 2, the complementary set of amodbis given by ëa mod bë c = Z nfa mod bg =ë0; 1; 2;:::;a, 1;a+1;:::;b, 1ë mod b: In this case, the complementary set consists of b, 1 congruences modulo b. We will always refer to the size of a complementary set with respect to a speciæc modulus. The following represents a system of congruences: : x ç a 1 mod b 1 x ç a 2 mod b 2. x ç a n mod b n è4.1è

CHAPTER 4. COMP. SETS OF SYSTEMS OF CONGRUENCES 3 Characterizing the size of the complementary set of a system of congruences è4.1è is equivalent to counting those integers which are not elements of any of the given congruences. Our method will be to remove the set of numbers satisfying the system of congruences è4.1è from the set of integers Z in a systematic way. Note that Z can be written as a complete residue class, ë1; 2;:::;bë mod b, for all b1. All numbers satisfying the ærst congruence in è4.1è will be removed from Z, leaving the complementary set for that congruence. Then we iterate the process by removing all integers satisfying the second congruence from this remaining set, and so on. Stated another way, we are interested in determining the size of ëa 1 mod b 1 ë a 2 mod b 2 ëæææëa n mod b n ë c = Z n è në a i mod b i è where the b i are pairwise relatively prime. Our method is to determine the number of èremainingè congruences needed to characterize this complementary set. Using the remodulization method, the set of congruences can be expressed in terms of the common modulus, Q n mod b i and the integers, Z, can be expressed in terms of a complete residue class of the same modulus. To illustrate this procedure, suppose we have the following system of congruences ç x ç a1 mod b 1 ; x ç a 2 mod b 2 where gcdèb 1 ;b 2 è = 1. By the Chinese Remainder Theorem ë1,2ë, these intersect in a unique residue class modulo b 1 b 2. Remodulizing the congruences by b 2 and b 1, respectively, this system can be expressed as ç a1 mod b 1 = ëa 1 ;a 1 + b 1 ;:::;a 1 + b 1 èb 2, 1èë mod b 1 b 2 a 2 mod b 2 = ëa 2 ;a 2 + b 2 ;:::;a 2 + b 2 èb 1, 1èë mod b 1 b 2 The ærst congruence, after remodulization, consists of b 2 congruences mod b 1 b 2 while the second remodulized congruence consists of b 1 congruences mod b 1 b 2 ; furthermore, Z consists of b 1 b 2 congruences èmodulo b 1 b 2 è. Therefore, subtracting b 1 and b 2 from b 1 b 2 and adding one to this sum èthe unique intersection of the two congruences was removed twice from b 1 b 2 è, we obtain b 1 b 2, b 1, b 2 +1 remaining congruences mod b 1 b 2 in the complementary set ëa 1 mod b 1 ë a 2 mod b 2 ë c :

CHAPTER 4. COMP. SETS OF SYSTEMS OF CONGRUENCES 4 However, b 1 b 2, b 1, b 2 + 1 can be rewritten as èb 1, 1èèb 2, 1è; this is typical. S n Theorem 2 The complementary set of f a i mod b i g,wheretheb i are pair- b i. wise relatively prime, contains exactly Q n èb i,1è congruences modulo Q n Proof. Suppose we have asystem of congruences è4.1è where the b i are pairwise relatively prime. We have already found that the complementary sets of a 1 mod b 1 and a 1 mod b 1 ë a 2 mod b 2 consist of èb 1,1è congruences modulo b 1 and èb 2, 1èèb 1, 1è congruences modulo b 1 b 2, respectively. For the induction argument, suppose we have found the complementary set up to k th congruence of è4.1è to consist of the union of Q k èb i, 1è congruences Q k modulo b i; then we remove from it the set of numbers congruent fa k+1 mod b k+1 g. The complementary set of the latter congruence is comprised of èb k+1, 1è congruences modulo b k+1. Each of these congruences shares a unique intersection with each of the congruences in the remaining complementary set; there are èb k+1, 1è Q k èb i, 1è such intersections Q k+1 modulo b i. Therefore, the remaining complementary set, after removing the èk +1è st congruence from the remaining complementary set, consists of congruences modulo k+1 Y b i. k+1 Y èb i, 1è If the moduli b i are primes, then we may use Euler's phi function ë3,4ë, or totient, to formulate the complementary set of a system of congruences. The totient æèmè counts the number of integers not exceeding m which are relatively prime to m. For any prime p, æèpè =p, 1; moreover, because the totient is multiplicative, æèp 1 p 2 æææp n è=æèp 1 èæèp 2 è ææææèp n è= Q n èp i, 1è. Corollary 1 Suppose we have a system of congruences where themoduli p i are primes and p i 6= p j,fori 6= j. Then the complementary set of consists of æ è ny p i! : x ç a 1 mod p 1 x ç a 2 mod p 2. x ç a n mod p n congruences modulo ny p i.

CHAPTER 4. COMP. SETS OF SYSTEMS OF CONGRUENCES 5 Deænition 3 The density of the complementary set of a system of congruences è4.1è, where gcdèb i ;b j è=1for i 6= j, with respect to the set Z, is ny ç ç bi, 1 çènè = : As an illustration, we calculate the size and density of the complementary set of the following system: : b i x ç 1mod3 x ç 2mod5 x ç 3mod7 The complement of the ærst congruence, 1 mod 3, is ë2; 3ë mod 3, a union of two congruences modulo 3. The complement of 2 mod 5 is ë1; 3; 4; 5ë mod 5. Each of the congruences in the complementary set modulo 3 shares a unique intersection with the congruences of the complementary set modulo 5; there are è3, 1èè5, 1è = remaining congruences modulo 15. Finally, removing all numbers satisfying 3 mod 7 from these remaining congruences, the complementary set consists of è3, 1èè5, 1èè7, 1è = 4 congruences modulo 105. The density of the complementary set with respect to the set Z at each step in the process is 2=3, =15, and 4=105, respectively. If a system consists of æ bi congruences of the same modulus b i, for each b i, we have the following extension of Theorem 2. Suppose : x ç ëa 1;1 ;a 1;2 ;:::;a 1;æb 1 ëmodb 1 x ç ëa 2;1 ;a 2;2 ;:::;a 2;æb 2 ëmodb 2. x ç ëa n;1 ;a n;2 ;:::;a n;æbn ëmodb n è4.2è where the b i are pairwise relatively prime, and a i;j 6= a i;k for all j 6= k, and æ bi b i. The complementary set of the ærst congruence is the union of b 1, æ b1 congruences. Likewise, the complementary set of the second congruence contains b 2,æ b2 congruences; their intersection contains èb 2,æ b2 èèb 1,æ b1 è congruences modulo b 1 b 2. Iterating the process, the complementary set of è4.2è consists of Q n èb i, æ bi è congruences modulo Q n b i. At eachstep,however, it is necessary to insure that b i, æ bi 0; otherwise, if æ bi = b i, the complementary set vanishes altogether, since for that particular value of i, ëa i;1 ;a i;2 ;:::;a i;æbi ëisa complete residue class modulo b i, i.e., the entire set Z. n Sn Theorem 3 The complementary set of ëa i;1;:::;a i;æbi ëmodb i o, where a i;j 6= a i;k for j 6= k, and æ bi b i, and the b i are pairwise relatively prime,

CHAPTER 4. COMP. SETS OF SYSTEMS OF CONGRUENCES 6 Q n contains exactly èb i, æ bi è Q n congruences modulo b i. The density of the complementary set is çènè = Q ç n b i,æ bi b i ç. References ë1ë Gold, Jeærey F. and Don H. Tucker, Remodulization of Congruences and Its Applications. To be submitted. ë2ë Gold, Jeærey F. and Don H. Tucker, Remodulization of Congruences, Proceedings - National Conference on Undergraduate Research, èuniversity of North Carolina Press, Asheville, North Carolina, 1992è, Vol. II, pp. 1036í41. ë3ë David M. Burton, Elementary Number Theory èwm. C. Brown Publishers, Iowa, 199è, Second Edition, pp. 156í160. ë4ë Oystein Ore, Number Theory and Its History èdover Publications, Inc., New York, 19è, pp. 109í115.