1.4 Integers Modulo n
|
|
- Flora Wade
- 7 years ago
- Views:
Transcription
1 1.4 J.A.Beachy Integers Modulo n from A Study Guide f Beginner s by J.A.Beachy, a supplement to Abstract Algebra by Beachy / Blair 31. Find the multiplicative inverse of each nonzero element of Z 7. Solution: Since 6 1 (mod 7), the class [6] 7 is its own inverse. Furtherme, 2 4 = 8 1 (mod 7), and 3 5 = 15 1 (mod 7), so [2] 7 and [4] 7 are inverses of each other, and [3] 7 and [5] 7 are inverses of each other. 32. Find the multiplicative inverse of each nonzero element of Z 13. Comment: If ab 1 (mod n), then [a] n and [b] n are inverses, as are [ a] n and [ b] n. If ab 1 (mod n), then [a] n and [ b] n are inverses, as are [ a] n and [b] n. It is useful to list the integers with m with m ±1 (mod n), and look at the various ways to fact them. Solution: Note that 14, 27, and 40 are congruent to 1, while 12, 25, and 39 are congruent to 1. Facting 14, we see that [2] 13 and [7] 13 are inverses. Facting 12, we see that [3] 13 and [ 4] 13 are inverses, as are the pairs [4] 13 and [ 3] 13, and [6] 13 and [ 2] 13. Facting 40, we see that [5] 13 and [8] 13 are inverses. Here is the list of inverses: [2] 1 13 = [7] 13; [3] 1 13 = [9] 13; [4] 1 13 = [10] 13; [5] 1 13 = [8] 13; [6] 1 13 = [11] 13. Since [12] 1 13 = [ 1] 1 13 = [ 1] 13 = [12] 13, this answers the question f all of the nonzero elements of Z Find the multiplicative der of each element of Z 7. Solution: It helps to use Exercise in the text, which shows that if gcd(a,n) = 1, then the multiplicative der of [a] n is a divis of ϕ(n). In this problem, it follows that the possibilities f the multiplicative der of an element are the diviss of 6: 1, 2, 3 and 6. We have 2 2 = 4 (mod 7), and 2 3 = 8 1 (mod 7), so [2] 7 has multiplicative der 3. We have (mod 7), (mod 7), and 3 6 (3 3 ) 2 ( 1) 2 1 (mod 7), so [3] 7 has multiplicative der 6. Actually, after seeing that [3] 7 does not have multiplicative der 2 3, we can conclude that it has multiplicative der 6, since that is the only possibility left. We have (mod 7), (mod 7), so [4] 7 has multiplicative der 3. We have (mod 7), (mod 7), so [5] 7 has multiplicative der 6. We could have done the calculations with 2, since 5 2 (mod 7). This would have allowed us to use the calculations we had already made in the case of 2. Finally, it is clear that [6] 7 has multiplicative der 2, since [6] 7 = [ 1] Find the multiplicative der of each element of Z 9. Solution: We have ϕ(9) = 6, so [a] 6 9 = [1] 9 f all [a] 9 Z 9, and the possible multiplicative ders are 1, 2, 3 and 6. The elements are [1] 9,[2] 9,[4] 9,[5] 9,[7] 9,[8] 9.
2 1.4 J.A.Beachy 2 We have 2 2 = 4, 2 3 = 8, 2 4 = (mod 9), (mod 9), and (mod 9). This shows that [2] 9 has multiplicative der 6, and also shows that Z 9 is cyclic. We can use this infmation to shten our calculations f the other elements, by expressing them as the various powers of [2] 9. Since [4] 9 = [2] 2 9, it is easy to see that [4]3 9 = [1] 9, while [4] 2 9 [1] 9, so [4] 9 has multiplicative der 3. The element [8] 9 = [2] 3 9 must have der 2. This also obviously follows from the fact that [8] 9 = [ 1] 9. We have [7] 9 = [2] 4 9, so [7]3 9 = ([2]4 9 )3 = ([2] 6 9 )2 = [1] 9, and it then follows that [7] 9 has multiplicative der 3. The smallest positive power of [5] 9 = [2] 5 9 that will give us an exponent divisible by 6 is 30, so [5] 6 9 = ([2]5 9 )6 = ([2] 6 9 )5 = [1] 5 9 = [1] 9 and no smaller exponent gives [1] 9. We conclude that [5] 9 has multiplicative der Find [91] 1 501, if possible (in Z 501 ). Solution: We need to use the Euclidean algithm. [ ] [ ] [ ] [ Thus ( 11) = 1, so 91( 11) 1 (mod 501). Answer: [91] = [ 11] 501 = [490] Find [3379] , if possible (in Z 4061 ). Solution: The inverse does not exist. [ ] [ ] [ At the next step, , and so gcd(4061,3379) = ] [ ] In Z 20 : find all units (list the multiplicative inverse of each); find all idempotent elements; find all nilpotent elements. Comment: We know that Z n has ϕ(n) units. They occur in pairs, since gcd(a,n) = 1 if and only if gcd(n a,n) = 1. This helps in checking your list. Solution: TheunitsofZ 20 aretheequivalenceclasses representedby1, 3, 7, 9, 11, 13, 17, and 19. We have [3] 1 20 = [7] 20, [9] 1 20 = [9] 20, and [11] 1 20 = [11] 20 by trial and err, and then [13] 1 20 = [ 7] 1 20 = [ 3] 20 = [17] 20, and [19] 1 20 = [ 1] 1 20 = [ 1] 20 = [19] 20. The idempotent elements of Z 20 can be found by using trial and err. They are [0] 20, [1] 20, [5] 20, and [16] 20. If you want a me systematic approach, you can use the hint in Exercise of the text: if n = bc, with gcd(b,c) = 1, then any solution to the congruences x 1 (mod b) and x 0 (mod c) will be idempotent modulo n. The nilpotent elements of Z 20 can be found by using trial and err, by using the result stated in Problem They are [0] 20 and [10] 20. ]
3 1.4 J.A.Beachy Show that Z 17 is cyclic. Comment: Toshow thatz 17 iscyclic, weneedtofindanelement whosemultiplicative der is 16. The solution just uses trial and err. It is known than if p is prime, then Z p is cyclic, but there is no known algithm f actually finding the one element whose powers cover all of Z p. Solution: We begin by trying [2]. We have [2] 2 = [4], [2] 3 = [8], and [2] 4 = [16] = [ 1]. Exercise of the text shows that the multiplicative der of an element has to be a divis of ϕ(17) = 16, so the next possibility to check is 8. Since [2] 8 = [ 1] 2 = [1], it follows that [2] has multiplicative der 8. We next try [3]. We have [3] 2 = [9], [3] 4 = [81] = [ 4], and [3] 8 = [16] = [ 1]. The only divis of 16 that is left to try is 16 itself, so [3] does in fact have multiplicative der 16, and we are done. 39. Show that Z 35 is not cyclic but that each element has the fm [8]i 35 [ 4]j 35, f some positive integers i, j. Solution: We first compute the powers of [8]: [8] 2 = [ 6], [8] 3 = [8][ 6] = [ 13], and [8] 4 = [ 6] 2 = [1], so the multiplicative der of [8] is 4, and the powers we have listed represent the only possible values of [8] i. We next compute the powers of [ 4]: [ 4] 2 = [16], [ 4] 3 = [ 4][16] = [6], [ 4] 4 = [ 4][6] = [11], [ 4] 5 = [ 4][11] = [ 9], and [ 4] 6 = [ 4][ 9] = [1], so the multiplicative der of [ 4] is 6. There are 24 possible products of the fm [8] i [ 4] j, f 0 i < 4 and 0 j < 6. Are these all different? Suppose that [8] i [ 4] j = [8] m [ 4] n, f some 0 i < 4 and 0 j < 6 and 0 m < 4 and 0 n < 6. Then [8] i m = [ 4] n j, and since the only power of [8] that is equal to a power of [ 4] is [1] (as shown by our computations), this fces i = m and n = j. We conclude that since there are 24 different elements of the fm [8] i [ 4] j, every element in Z 35 must be of this fm. Finally, ([8] i [ 4] j ) 12 = ([8] 4 ) 3i ([ 4] 6 ) 2j = [1], so no element of Z 35 has multiplicative der 24, showing that Z 35 is not cyclic. 40. Solve the equation [x] [x] 11 [6] 11 = [0] 11. Solution: We can fact [x] 2 +[x] [6] = ([x]+[3])([x] [2]). Collary implies that either [x] + [3] = [0] [x] [2] = [0], and so the only possible solutions are [x] = [ 3] and [x] = [2]. Substituting these values back into the equation shows that they are indeed solutions, so the answer is [x] = [2] [x] = [ 3]. 41. Prove that [a] n is a nilpotent element of Z n if and only if each prime divis of n is a divis of a. Solution: First assume that each prime divis of n is a divis of a. If n = p α 1 1 pα 2 2 pαt t is the prime factization of n, then we must have a = p β 1 1 pβ 2 2 pβt t d, where 0 β j α j f all j. If k is the smallest positive integer such that kβ i α i f all i, then n a k, and so [a] k n = [0] k.
4 1.4 J.A.Beachy 4 Conversely, if [a] n is nilpotent, with [a] k n = [0], then n a k, so each prime divis of n is a divis of a k. But if a prime p is a divis of a k, then it must be a divis of a, and this completes the proof. 42. Show that if n > 1 is an odd integer, then ϕ(2n) = ϕ(n). Solution: Since n is odd, the prime 2 does not occur in its prime factization. The fmula in Proposition shows that to compute ϕ(2n) in terms of ϕ(n) we need to add 2 (1 1 2 ), and this does not change the computation. Alternate solution: Since n is odd, the integers n and 2 are relatively prime. Exercise of the text states that if m,n are relatively prime positive integers, then ϕ(mn) = ϕ(m)ϕ(n). It follows that ϕ(2n) = ϕ(2)ϕ(n) = ϕ(n). ANSWERS AND HINTS 43. Write out multiplication tables f the following sets. (a) Z 9 Answer: This set is cyclic, and each element can be expressed as a power of 2. Writing out a table in the der [1],[2],[4],[8],[7],[5] of consecutive powers of 2 means that each row is just a shift of the one above it. Other ders are interesting too (b) Z 10 Answer: The first table uses the fact that Z 10 is cyclic, and lists the elements as consecutive powers of 3. The second table shows a different pattern compare this to the pattern in part (c), which differs in a crucial way along the main diagonal. (c) Z 12 Answer: (d) Z 14 Hint: Problem 47 shows that each element of Z 14 is a power of 3, so a quick way to write out the table is to use the der [1],[3],[9],[13],[11],[5]. Then the table will have
5 1.4 J.A.Beachy 5 the same pattern as the one in part (a). 44. Find the multiplicative inverses of the given elements (if possible). (a) [12] in Z 15 Answer: There is no inverse, since 12 is not relatively prime to 15. (c) [7] in Z 15 Answer: [7] 1 = [13] 45. Find the multiplicative ders of the following elements. (b) [5] and [7] in Z 17 Answer: [5] and [7] both have multiplicative der Find the multiplicative der of each element of the following sets. (b) Z 10 Answer: [3] and [7] = [ 3] have der 4; [9] = [ 1] has der 2; [1] has der Is Z 14 cyclic? Answer: Yes; [3] has multiplicative der 6 = ϕ(14). 48. Is Z 16 cyclic? Answer: No Hint: Check that each element has multiplicative der less than Is Z 18 cyclic? Answer: Yes; [5] has multiplicative der 6 = ϕ(18). 50. Find all idempotent elements in the following sets. (a) Z 14 Hint: Exercise in the text states that if n = bc, with gcd(b,c) = 1, then any solution to the congruences x 1 (mod b) and x 0 (mod c) will be idempotent modulo n. First take b = 7, c = 2 and then b = 2, c = In Z 24 : find all units (list the multiplicative inverse of each); find all idempotent elements; find all nilpotent elements. Answer: The units of Z 24 are the equivalence classes represented by 1, 5, 7, 11, 13, 17, 19, and 23, and each element is its own inverse. The idempotent elements are [0] 24,[1] 24,[9] 24,[16] 24. The nilpotent elements are [0] 24,[6] 24,[12] 24,[18] Find {n Z + ϕ(n) = 2} and {n Z + ϕ(n) = 4}. Answer: {n Z + ϕ(n) = 2} = {3,4,6} and {n Z + ϕ(n) = 4} = {5,8,10,12}
ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS
ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS John A. Beachy Northern Illinois University 2014 ii J.A.Beachy This is a supplement to Abstract Algebra, Third Edition by John A. Beachy and William D. Blair
More informationMath 319 Problem Set #3 Solution 21 February 2002
Math 319 Problem Set #3 Solution 21 February 2002 1. ( 2.1, problem 15) Find integers a 1, a 2, a 3, a 4, a 5 such that every integer x satisfies at least one of the congruences x a 1 (mod 2), x a 2 (mod
More information= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that
Instructions. Answer each of the questions on your own paper, and be sure to show your work so that partial credit can be adequately assessed. Credit will not be given for answers (even correct ones) without
More informationTest1. Due Friday, March 13, 2015.
1 Abstract Algebra Professor M. Zuker Test1. Due Friday, March 13, 2015. 1. Euclidean algorithm and related. (a) Suppose that a and b are two positive integers and that gcd(a, b) = d. Find all solutions
More informationApplications 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 informationHomework until Test #2
MATH31: Number Theory Homework until Test # Philipp BRAUN Section 3.1 page 43, 1. It has been conjectured that there are infinitely many primes of the form n. Exhibit five such primes. Solution. Five such
More information8 Primes and Modular Arithmetic
8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.
More informationComputing exponents modulo a number: Repeated squaring
Computing exponents modulo a number: Repeated squaring How do you compute (1415) 13 mod 2537 = 2182 using just a calculator? Or how do you check that 2 340 mod 341 = 1? You can do this using the method
More informationCHAPTER 5. Number Theory. 1. Integers and Division. Discussion
CHAPTER 5 Number Theory 1. Integers and Division 1.1. Divisibility. Definition 1.1.1. Given two integers a and b we say a divides b if there is an integer c such that b = ac. If a divides b, we write a
More informationNumber Theory: A Mathemythical Approach. Student Resources. Printed Version
Number Theory: A Mathemythical Approach Student Resources Printed Version ii Contents 1 Appendix 1 2 Hints to Problems 3 Chapter 1 Hints......................................... 3 Chapter 2 Hints.........................................
More informationNumber Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may
Number Theory Divisibility and Primes Definition. If a and b are integers and there is some integer c such that a = b c, then we say that b divides a or is a factor or divisor of a and write b a. Definition
More informationArkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan
Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan 3 Binary Operations We are used to addition and multiplication of real numbers. These operations combine two real numbers
More informationKevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm
MTHSC 412 Section 2.4 Prime Factors and Greatest Common Divisor Greatest Common Divisor Definition Suppose that a, b Z. Then we say that d Z is a greatest common divisor (gcd) of a and b if the following
More informationI. GROUPS: BASIC DEFINITIONS AND EXAMPLES
I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called
More informationOverview of Number Theory Basics. Divisibility
Overview of Number Theory Basics Murat Kantarcioglu Based on Prof. Ninghui Li s Slides Divisibility Definition Given integers a and b, b 0, b divides a (denoted b a) if integer c, s.t. a = cb. b is called
More informationChapter 3. if 2 a i then location: = i. Page 40
Chapter 3 1. Describe an algorithm that takes a list of n integers a 1,a 2,,a n and finds the number of integers each greater than five in the list. Ans: procedure greaterthanfive(a 1,,a n : integers)
More informationk, then n = p2α 1 1 pα k
Powers of Integers An integer n is a perfect square if n = m for some integer m. Taking into account the prime factorization, if m = p α 1 1 pα k k, then n = pα 1 1 p α k k. That is, n is a perfect square
More informationV55.0106 Quantitative Reasoning: Computers, Number Theory and Cryptography
V55.0106 Quantitative Reasoning: Computers, Number Theory and Cryptography 3 Congruence Congruences are an important and useful tool for the study of divisibility. As we shall see, they are also critical
More informationPublic Key Cryptography: RSA and Lots of Number Theory
Public Key Cryptography: RSA and Lots of Number Theory Public vs. Private-Key Cryptography We have just discussed traditional symmetric cryptography: Uses a single key shared between sender and receiver
More informationThe last three chapters introduced three major proof techniques: direct,
CHAPTER 7 Proving Non-Conditional Statements The last three chapters introduced three major proof techniques: direct, contrapositive and contradiction. These three techniques are used to prove statements
More informationOn the generation of elliptic curves with 16 rational torsion points by Pythagorean triples
On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples Brian Hilley Boston College MT695 Honors Seminar March 3, 2006 1 Introduction 1.1 Mazur s Theorem Let C be a
More informationU.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009. Notes on Algebra
U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009 Notes on Algebra These notes contain as little theory as possible, and most results are stated without proof. Any introductory
More informationLecture 13 - Basic Number Theory.
Lecture 13 - Basic Number Theory. Boaz Barak March 22, 2010 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that A divides B, denoted
More informationGroups in Cryptography
Groups in Cryptography Çetin Kaya Koç http://cs.ucsb.edu/~koc/cs178 koc@cs.ucsb.edu Koç (http://cs.ucsb.edu/~koc) ucsb cs 178 intro to crypto winter 2013 1 / 13 Groups in Cryptography A set S and a binary
More informationElementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.
Elementary Number Theory and Methods of Proof CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215 1 Number theory Properties: 2 Properties of integers (whole
More informationNotes on Factoring. MA 206 Kurt Bryan
The General Approach Notes on Factoring MA 26 Kurt Bryan Suppose I hand you n, a 2 digit integer and tell you that n is composite, with smallest prime factor around 5 digits. Finding a nontrivial factor
More informationSUM OF TWO SQUARES JAHNAVI BHASKAR
SUM OF TWO SQUARES JAHNAVI BHASKAR Abstract. I will investigate which numbers can be written as the sum of two squares and in how many ways, providing enough basic number theory so even the unacquainted
More informationSUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by
SUBGROUPS OF CYCLIC GROUPS KEITH CONRAD 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by g = {g k : k Z}. If G = g, then G itself is cyclic, with g as a generator. Examples
More informationClock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system
CHAPTER Number Theory FIGURE FIGURE FIGURE Plus hours Plus hours Plus hours + = + = + = FIGURE. Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter described a mathematical
More informationALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION
ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION Aldrin W. Wanambisi 1* School of Pure and Applied Science, Mount Kenya University, P.O box 553-50100, Kakamega, Kenya. Shem Aywa 2 Department of Mathematics,
More information8 Divisibility and prime numbers
8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express
More informationEvery Positive Integer is the Sum of Four Squares! (and other exciting problems)
Every Positive Integer is the Sum of Four Squares! (and other exciting problems) Sophex University of Texas at Austin October 18th, 00 Matilde N. Lalín 1. Lagrange s Theorem Theorem 1 Every positive integer
More informationDigitalCommons@University of Nebraska - Lincoln
University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln MAT Exam Expository Papers Math in the Middle Institute Partnership 7-1-007 Pythagorean Triples Diane Swartzlander University
More informationPrime Factorization, Greatest Common Factor (GCF), and Least Common Multiple (LCM)
Prime Factorization, Greatest Common Factor (GCF), and Least Common Multiple (LCM) Definition of a Prime Number A prime number is a whole number greater than 1 AND can only be divided evenly by 1 and itself.
More informationWinter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov alexanderrem@gmail.com
Polynomials Alexander Remorov alexanderrem@gmail.com Warm-up Problem 1: Let f(x) be a quadratic polynomial. Prove that there exist quadratic polynomials g(x) and h(x) such that f(x)f(x + 1) = g(h(x)).
More informationSECTION 10-2 Mathematical Induction
73 0 Sequences and Series 6. Approximate e 0. using the first five terms of the series. Compare this approximation with your calculator evaluation of e 0.. 6. Approximate e 0.5 using the first five terms
More informationRevised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)
Chapter 23 Squares Modulo p Revised Version of Chapter 23 We learned long ago how to solve linear congruences ax c (mod m) (see Chapter 8). It s now time to take the plunge and move on to quadratic equations.
More informationPYTHAGOREAN TRIPLES KEITH CONRAD
PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient
More informationSettling a Question about Pythagorean Triples
Settling a Question about Pythagorean Triples TOM VERHOEFF Department of Mathematics and Computing Science Eindhoven University of Technology P.O. Box 513, 5600 MB Eindhoven, The Netherlands E-Mail address:
More informationQuotient Rings and Field Extensions
Chapter 5 Quotient Rings and Field Extensions In this chapter we describe a method for producing field extension of a given field. If F is a field, then a field extension is a field K that contains F.
More informationRSA Question 2. Bob thinks that p and q are primes but p isn t. Then, Bob thinks Φ Bob :=(p-1)(q-1) = φ(n). Is this true?
RSA Question 2 Bob thinks that p and q are primes but p isn t. Then, Bob thinks Φ Bob :=(p-1)(q-1) = φ(n). Is this true? Bob chooses a random e (1 < e < Φ Bob ) such that gcd(e,φ Bob )=1. Then, d = e -1
More information26 Ideals and Quotient Rings
Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan 26 Ideals and Quotient Rings In this section we develop some theory of rings that parallels the theory of groups discussed
More information(0, 0) : order 1; (0, 1) : order 4; (0, 2) : order 2; (0, 3) : order 4; (1, 0) : order 2; (1, 1) : order 4; (1, 2) : order 2; (1, 3) : order 4.
11.01 List the elements of Z 2 Z 4. Find the order of each of the elements is this group cyclic? Solution: The elements of Z 2 Z 4 are: (0, 0) : order 1; (0, 1) : order 4; (0, 2) : order 2; (0, 3) : order
More informationComputer and Network Security
MIT 6.857 Computer and Networ Security Class Notes 1 File: http://theory.lcs.mit.edu/ rivest/notes/notes.pdf Revision: December 2, 2002 Computer and Networ Security MIT 6.857 Class Notes by Ronald L. Rivest
More informationRSA and Primality Testing
and Primality Testing Joan Boyar, IMADA, University of Southern Denmark Studieretningsprojekter 2010 1 / 81 Correctness of cryptography cryptography Introduction to number theory Correctness of with 2
More informationOur Primitive Roots. Chris Lyons
Our Primitive Roots Chris Lyons Abstract When n is not divisible by 2 or 5, the decimal expansion of the number /n is an infinite repetition of some finite sequence of r digits. For instance, when n =
More information11 Ideals. 11.1 Revisiting Z
11 Ideals The presentation here is somewhat different than the text. In particular, the sections do not match up. We have seen issues with the failure of unique factorization already, e.g., Z[ 5] = O Q(
More informationMATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS
MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS Class Meetings: MW 2:00-3:15 pm in Physics 144, September 7 to December 14 [Thanksgiving break November 23 27; final exam December 21] Instructor:
More informationLecture 3: Finding integer solutions to systems of linear equations
Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture
More information3 0 + 4 + 3 1 + 1 + 3 9 + 6 + 3 0 + 1 + 3 0 + 1 + 3 2 mod 10 = 4 + 3 + 1 + 27 + 6 + 1 + 1 + 6 mod 10 = 49 mod 10 = 9.
SOLUTIONS TO HOMEWORK 2 - MATH 170, SUMMER SESSION I (2012) (1) (Exercise 11, Page 107) Which of the following is the correct UPC for Progresso minestrone soup? Show why the other numbers are not valid
More informationSOLUTIONS FOR PROBLEM SET 2
SOLUTIONS FOR PROBLEM SET 2 A: There exist primes p such that p+6k is also prime for k = 1,2 and 3. One such prime is p = 11. Another such prime is p = 41. Prove that there exists exactly one prime p such
More informationNumber Theory and Cryptography using PARI/GP
Number Theory and Cryptography using Minh Van Nguyen nguyenminh2@gmail.com 25 November 2008 This article uses to study elementary number theory and the RSA public key cryptosystem. Various commands will
More informationSYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me
SYSTEMS OF PYTHAGOREAN TRIPLES CHRISTOPHER TOBIN-CAMPBELL Abstract. This paper explores systems of Pythagorean triples. It describes the generating formulas for primitive Pythagorean triples, determines
More informationFactoring. Factoring 1
Factoring Factoring 1 Factoring Security of RSA algorithm depends on (presumed) difficulty of factoring o Given N = pq, find p or q and RSA is broken o Rabin cipher also based on factoring Factoring like
More informationMath Workshop October 2010 Fractions and Repeating Decimals
Math Workshop October 2010 Fractions and Repeating Decimals This evening we will investigate the patterns that arise when converting fractions to decimals. As an example of what we will be looking at,
More informationPrimes. Name Period Number Theory
Primes Name Period A Prime Number is a whole number whose only factors are 1 and itself. To find all of the prime numbers between 1 and 100, complete the following exercise: 1. Cross out 1 by Shading in
More informationSome Polynomial Theorems. John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA 90405 rkennedy@ix.netcom.
Some Polynomial Theorems by John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA 90405 rkennedy@ix.netcom.com This paper contains a collection of 31 theorems, lemmas,
More information4. FIRST STEPS IN THE THEORY 4.1. A
4. FIRST STEPS IN THE THEORY 4.1. A Catalogue of All Groups: The Impossible Dream The fundamental problem of group theory is to systematically explore the landscape and to chart what lies out there. We
More informationNumber Theory Hungarian Style. Cameron Byerley s interpretation of Csaba Szabó s lectures
Number Theory Hungarian Style Cameron Byerley s interpretation of Csaba Szabó s lectures August 20, 2005 2 0.1 introduction Number theory is a beautiful subject and even cooler when you learn about it
More informationGENERATING SETS KEITH CONRAD
GENERATING SETS KEITH CONRAD 1 Introduction In R n, every vector can be written as a unique linear combination of the standard basis e 1,, e n A notion weaker than a basis is a spanning set: a set of vectors
More informationSolving Rational Equations
Lesson M Lesson : Student Outcomes Students solve rational equations, monitoring for the creation of extraneous solutions. Lesson Notes In the preceding lessons, students learned to add, subtract, multiply,
More informationby the matrix A results in a vector which is a reflection of the given
Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that
More informationChapter 11 Number Theory
Chapter 11 Number Theory Number theory is one of the oldest branches of mathematics. For many years people who studied number theory delighted in its pure nature because there were few practical applications
More informationFive fundamental operations. mathematics: addition, subtraction, multiplication, division, and modular forms
The five fundamental operations of mathematics: addition, subtraction, multiplication, division, and modular forms UC Berkeley Trinity University March 31, 2008 This talk is about counting, and it s about
More informationDiscrete Mathematics, Chapter 4: Number Theory and Cryptography
Discrete Mathematics, Chapter 4: Number Theory and Cryptography Richard Mayr University of Edinburgh, UK Richard Mayr (University of Edinburgh, UK) Discrete Mathematics. Chapter 4 1 / 35 Outline 1 Divisibility
More informationBasic Proof Techniques
Basic Proof Techniques David Ferry dsf43@truman.edu September 13, 010 1 Four Fundamental Proof Techniques When one wishes to prove the statement P Q there are four fundamental approaches. This document
More informationAn Introduction to the RSA Encryption Method
April 17, 2012 Outline 1 History 2 3 4 5 History RSA stands for Rivest, Shamir, and Adelman, the last names of the designers It was first published in 1978 as one of the first public-key crytographic systems
More informationCHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY
January 10, 2010 CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY The set of polynomials over a field F is a ring, whose structure shares with the ring of integers many characteristics.
More informationMATH 289 PROBLEM SET 4: NUMBER THEORY
MATH 289 PROBLEM SET 4: NUMBER THEORY 1. The greatest common divisor If d and n are integers, then we say that d divides n if and only if there exists an integer q such that n = qd. Notice that if d divides
More informationThe cyclotomic polynomials
The cyclotomic polynomials Notes by G.J.O. Jameson 1. The definition and general results We use the notation e(t) = e 2πit. Note that e(n) = 1 for integers n, e(s + t) = e(s)e(t) for all s, t. e( 1 ) =
More informationPrimality - Factorization
Primality - Factorization Christophe Ritzenthaler November 9, 2009 1 Prime and factorization Definition 1.1. An integer p > 1 is called a prime number (nombre premier) if it has only 1 and p as divisors.
More informationCryptography and Network Security Number Theory
Cryptography and Network Security Number Theory Xiang-Yang Li Introduction to Number Theory Divisors b a if a=mb for an integer m b a and c b then c a b g and b h then b (mg+nh) for any int. m,n Prime
More informationMATH10040 Chapter 2: Prime and relatively prime numbers
MATH10040 Chapter 2: Prime and relatively prime numbers Recall the basic definition: 1. Prime numbers Definition 1.1. Recall that a positive integer is said to be prime if it has precisely two positive
More informationStudy of algorithms for factoring integers and computing discrete logarithms
Study of algorithms for factoring integers and computing discrete logarithms First Indo-French Workshop on Cryptography and Related Topics (IFW 2007) June 11 13, 2007 Paris, France Dr. Abhijit Das Department
More information. 0 1 10 2 100 11 1000 3 20 1 2 3 4 5 6 7 8 9
Introduction The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive integer We say d is a
More informationJust the Factors, Ma am
1 Introduction Just the Factors, Ma am The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive
More informationSolutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014
Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014 3.4: 1. If m is any integer, then m(m + 1) = m 2 + m is the product of m and its successor. That it to say, m 2 + m is the
More informationBreaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and
Breaking The Code Ryan Lowe Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and a minor in Applied Physics. As a sophomore, he took an independent study
More information3 1. Note that all cubes solve it; therefore, there are no more
Math 13 Problem set 5 Artin 11.4.7 Factor the following polynomials into irreducible factors in Q[x]: (a) x 3 3x (b) x 3 3x + (c) x 9 6x 6 + 9x 3 3 Solution: The first two polynomials are cubics, so if
More informationGREATEST COMMON DIVISOR
DEFINITION: GREATEST COMMON DIVISOR The greatest common divisor (gcd) of a and b, denoted by (a, b), is the largest common divisor of integers a and b. THEOREM: If a and b are nonzero integers, then their
More informationr + s = i + j (q + t)n; 2 rs = ij (qj + ti)n + qtn.
Chapter 7 Introduction to finite fields This chapter provides an introduction to several kinds of abstract algebraic structures, particularly groups, fields, and polynomials. Our primary interest is in
More informationHow To Prove The Dirichlet Unit Theorem
Chapter 6 The Dirichlet Unit Theorem As usual, we will be working in the ring B of algebraic integers of a number field L. Two factorizations of an element of B are regarded as essentially the same if
More informationSolving Linear Systems, Continued and The Inverse of a Matrix
, Continued and The of a Matrix Calculus III Summer 2013, Session II Monday, July 15, 2013 Agenda 1. The rank of a matrix 2. The inverse of a square matrix Gaussian Gaussian solves a linear system by reducing
More information4.5 Finite Mathematical Systems
4.5 Finite Mathematical Systems We will be looking at operations on finite sets of numbers. We will denote the operation by a generic symbol, like *. What is an operation? An operation is a rule for combining
More informationThe application of prime numbers to RSA encryption
The application of prime numbers to RSA encryption Prime number definition: Let us begin with the definition of a prime number p The number p, which is a member of the set of natural numbers N, is considered
More informationMatrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.
Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that
More informationHandout NUMBER THEORY
Handout of NUMBER THEORY by Kus Prihantoso Krisnawan MATHEMATICS DEPARTMENT FACULTY OF MATHEMATICS AND NATURAL SCIENCES YOGYAKARTA STATE UNIVERSITY 2012 Contents Contents i 1 Some Preliminary Considerations
More informationChapter 2 Remodulization of Congruences Proceedings NCUR VI. è1992è, Vol. II, pp. 1036í1041. Jeærey F. Gold Department of Mathematics, Department of Physics University of Utah Don H. Tucker Department
More informationCONSEQUENCES OF THE SYLOW THEOREMS
CONSEQUENCES OF THE SYLOW THEOREMS KEITH CONRAD For a group theorist, Sylow s Theorem is such a basic tool, and so fundamental, that it is used almost without thinking, like breathing. Geoff Robinson 1.
More informationStupid Divisibility Tricks
Stupid Divisibility Tricks 101 Ways to Stupefy Your Friends Appeared in Math Horizons November, 2006 Marc Renault Shippensburg University Mathematics Department 1871 Old Main Road Shippensburg, PA 17013
More informationIntroduction. Appendix D Mathematical Induction D1
Appendix D Mathematical Induction D D Mathematical Induction Use mathematical induction to prove a formula. Find a sum of powers of integers. Find a formula for a finite sum. Use finite differences to
More informationThe Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.
The Prime Numbers Before starting our study of primes, we record the following important lemma. Recall that integers a, b are said to be relatively prime if gcd(a, b) = 1. Lemma (Euclid s Lemma). If gcd(a,
More informationNotes on Algebraic Structures. Peter J. Cameron
Notes on Algebraic Structures Peter J. Cameron ii Preface These are the notes of the second-year course Algebraic Structures I at Queen Mary, University of London, as I taught it in the second semester
More informationa 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.
Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given
More informationSolutions Manual for How to Read and Do Proofs
Solutions Manual for How to Read and Do Proofs An Introduction to Mathematical Thought Processes Sixth Edition Daniel Solow Department of Operations Weatherhead School of Management Case Western Reserve
More informationThe Euclidean Algorithm
The Euclidean Algorithm A METHOD FOR FINDING THE GREATEST COMMON DIVISOR FOR TWO LARGE NUMBERS To be successful using this method you have got to know how to divide. If this is something that you have
More informationAlgebra & Number Theory. A. Baker
Algebra & Number Theory [0/0/2009] A. Baker Department of Mathematics, University of Glasgow. E-mail address: a.baker@maths.gla.ac.uk URL: http://www.maths.gla.ac.uk/ ajb Contents Chapter. Basic Number
More information4.2 Euclid s Classification of Pythagorean Triples
178 4. Number Theory: Fermat s Last Theorem Exercise 4.7: A primitive Pythagorean triple is one in which any two of the three numbers are relatively prime. Show that every multiple of a Pythagorean triple
More informationSolutions to TOPICS IN ALGEBRA I.N. HERSTEIN. Part II: Group Theory
Solutions to TOPICS IN ALGEBRA I.N. HERSTEIN Part II: Group Theory No rights reserved. Any part of this work can be reproduced or transmitted in any form or by any means. Version: 1.1 Release: Jan 2013
More informationminimal polyonomial Example
Minimal Polynomials Definition Let α be an element in GF(p e ). We call the monic polynomial of smallest degree which has coefficients in GF(p) and α as a root, the minimal polyonomial of α. Example: We
More information