MATH 145 Algebra, Solutions to Assignment 4
|
|
- Jennifer Glenn
- 5 years ago
- Views:
Transcription
1 MATH 145 Algebra, Solutions to Assignment 4 1: a Let a 975 and b161 Find d gcda, b and find s, t Z such that as + bt d Solution: The Euclidean Algorithm gives , , , , and so we have d gcda, b 13 Bac-Substitution then gives the sequence s 0 1, s 1, s 5, s 3 17, s 4 and so we can tae s and t 17 to get as + bt d b Solve the linear diophantine equation 33x + 765y 1 Solution: Let a 33, b 765 and c 1 The Euclidean Algorithm gives , , , , and so we have d gcda, b 17 Bac-Substitution gives the sequence 1,, 3, 8, 19 and so we have a 19 b 8 d We have c/d 1/17 13, so we multiply the above equation by 13 to get a 47 b 104 c Thus one solution to the equation ax + by c is given by x, y u, v 47, 104 Since a/d 33/17 19 and b/d 765/17 45, the general solution is x, y u, v + b d, a d 47, , 19 where Z c Given positive integers a and b with gcda, b 1, find the largest integer c for which there do not exist positive integers x and y such that ax + by c Solution: We claim that the largest such integer is c ab We need to show that when c ab there do not exist positive integers x and y such that ax + by c, and when c > ab there do exist such positive integers x and y Suppose first that c ab Then one solution to ax + by c is given by x 0, y 0 b, 0 so, by the Chinese Remainder Theorem, the general solution is x, y b, 0 + b, a b b, a where Z To get x a > 0 we need > 0 since a > 0 but to get y b b > 0 we need b < b hence < 0 since b > 0, and so there are no positive integers x and y such that ax + by c Now suppose that c > ab Since gcda, b 1 we can choose s, t Z so that as + bt 1 and then we can let u sc and v tc to get au + bv c Then the general solution to the equation ax + by c is given by x, y u, v + b, a with Z Note that when x, y u, v + b, a we have x > 0 u b > 0 b < u < u b and we have y > 0 v + a > 0 a < v < v a Choose u b 1 Then < u b so that x > 0 and u b 1 au ab 1 c av ab 1 > ab av ab 1 v b so that y > 0
2 : a Let n 7 14 Find the prime factorizations of each of the numbers n, τn, σn and ρn Solution: Using the formula e p m! m p + m p + m p + we have 3 n ! 14! 13! Using the formula τ i i + 1 we have τn Using the formula σ i 1 + pi i we have σn Using the formula ρn n τn/ and noting that τn/ , we have ρn b Show that for n, m Z +, if ρn ρm then n m Solution: Let n, m Z + If ρn ρm 1 then n m 1 Suppose that ρn ρm Note that since ρn n τn/, it follows that for any prime p we have e p ρn ep n τn/ In particular the prime factors of ρn are equal to the prime factors of n Similarly, the prime factors of ρm are equal to the prime factors of m Since ρn ρm it follows that n and m have the same prime factors Let n i and let m l i where p 1, p,, p r are the distinct prime factors of n and m and i, l i Z + For each index i we have i τn/ e pi ρn e pi ρm l i τm/ and hence i τm τn l i If we had τm < τn then we would have i τm τn l i < l i for all i, but this would imply that τn i + 1 < l i + 1 τm Similarly, we cannot have τm > τn so we must have τm τn, hence i τm τn, l i l i for all indices i and so n m c For n Z + and l R, let σ l n d n d l so that, for example, we have σ 0 n τn and σ 1 n σn Show that for n, m Z + and 0 l R, if σ l n σ l m and σ l n σ l m then n m Solution: When n 1 we have σ l n 1 for all l R Let n r i where p 1, p,, p r are the distinct prime factors of n and each i Z + Since the positive divisors of n are the numbers of the form d r with 0 i i we have and σ l n d l d n p 1 1l p 1l 1 p l p rl r 0 0 r r 0 p l r 1 + l pi + p l i + + p il i σ l r 1 + l pi + p l i + + P i il r 1 + l pi + p l i + + i l r l i σ ln n l r 0 r r p r rl il + i 1l + + l + 1 il i Thus for all n Z + and all l R we have σ l n n l σ l n Given n, m Z + with σ l n σ l m and σ l n σ l m, and given 0 l R we have n l σ ln σ l n σ lm σ l m ml and hence n m
3 3: a Show that for all, n Z +, we have n gcd, n n Solution: Let d gcd, n When > n we have n 0 and hence n d n Suppose that n Note that n n!! n! n n 1! 1! n! n n 1 1 Choose s, t Z so that s + nt d Then we have d n s + nt n s n + nt n which is a multiple of n n 1 1 s n n nt n n s n t n b Show that for all a, b, c, d,, l Z, if ad bc 1 then gcda + bl, c + dl gcd, l Solution: Suppose ad bc 1 Let u gcd, l and let v gcd a+bl, c+dl Since u and u l it follows that u x + ly for all x, y Z In particular, u a + bl and u c + dl and so u v Since v a + bl and v c + dl it follows that v a + blx + c + dly for all x, y Z In particular, v a + bld c + dlb, that is v, and v c + dla a + blc, that is v l Since v and v l we have v u c For all positive integers a, b and c, if c ab then c gcda, c gcdb, c Solution: Write a p 1 1 p p n n, b p 1 1 p p n m n and c p 1 m m 1 p p n n Note that ab p p + p n n+ n gcda, c p 1 min{ 1,m 1} p min{,m } p n min{ n,m n} gcdb, c p 1 min{ 1,m 1} p min{,m } p n min{ n,m n} gcda, c gcdb, c p 1 min{ 1,m 1}+min{ 1,m 1} p min{,m }+min{,m } p n min{ n,m n}+min{ n,m n} Suppose that c ab so we have m i i + i for all i Fix an index i We consider three cases Case 1 If m i i then we have m i min{ i, m i } min{ i, m i } + min{ i, m i } Case If m i i then we have m i min{ i, m i } min{ i, m i } + min{ i, m i } Case 3 If m i i and m i i then we have m i i + i min{ i, m i } + min{ i, m i } In all three cases we have m i min{ i, m i } + min{ i, m i } Thus c gcda, c gcdb, c as required d Show that for all, l, n Z + we have gcd lcm, l, n lcm gcd, n, gcdl, n Solution: Let p be any prime number Let r e p, s e p l and t e p n Then e p gcd lcm, l, n min e p lcm, l, t min maxr, s, t { } minr, t if r s max minr, t, mins, t mins, t if s r max e p gcd, n, ep gcdl, n e p lcm gcd, n, gcdl, n Since this holds for all primes p, we obtain the required formula gcd lcm, l, n lcm gcd, n, gcdl, n
4 4: a Show that for all a, b, c Z, if a + b + c 3 0 then a b c 0 Solution: Let a, b, c Z with a, b, c 0, 0, 0 and suppose, for a contradiction, that a + b + c 3 0 If we had a 0 then we would have b, c 0, 0 and b c 3 so that b 3c, but this is not possible since e b is odd but e 3c is even If we had b 0 then we would have a, c 0, 0 and a c 3 so that a 3c, but this is not possible since e 3 a is even but e 3 3c is odd Thus we must have a 0 and b 0 Since a + b c 3 we have a + ab + b 3c, hence ab 3c a b and hence 8a b 3c a b But this is not possible since e 8a b is odd but e 3c a b is even b Show that there exist infinitely many primes of the form p 6 1 with Z + Solution: By the Division Algorithm, all integers are of the form 6+r for some, r Z with 0 r 5, Since , all integers are of the form 6+s for some, s Z with 1 s 4 Every prime p 3 is not a multiple of or 3, so every prime p 3 is of the form p 6 1 or p 6+1 for some Z + Suppose, for a contradiction that there are finitely many primes of the form p 6 1 with Z +, say p 1, p,, p l is the complete list of all such primes Let n 6p 1 p p l 1 None of the primes, 3, p 1, p,, p l is a factor of n since when n is divided by any of these primes q the remainder is q 1, not 0 and so all of the prime factors of n are of the form p 6+1 But since 6+16l+1 36l+6+6l+1 66l++l+1 it follows that the product of numbers hence, by induction, the product of finitely many numbers of the form is also of the same form Since all of the prime factors of n is of the form it follows that n is a product of finitely many numbers of the form and so n itself is of the form But n is not of the form because n 6p 1 p p l 1 which is of the form 6 1 c Show that there exists n Z with 1 n 100 such that the number 1 n! Solution: We have 100 1! 50 l 1!l! 50 l l 1! 50 and so , 50!! 50 l 1! which is a square 1 d Find all a, b Z + such that a a+b b b a l ! is a square l 1! ! l 1! Solution: Let a, b Z + with a a+b b b a Since a a+b b b a, the numbers a and b must have the same prime factors and, if a m i and b m l i, where the are distinct primes and i, l i Z +, then we have a a+b m a+b i and b b a m l b a i, so we must have i a + b l i b a for all indices i Since a + b > b a and i a + b l i b a we have i < l i for all i Since i < l i for all i we have a b, say b ac with c Z + Since a a+b b b a and b ac we have a a+ac ac ac a aac ac ac a Divide both sides by a ac a to get a a c ac a, that is a a c c 1 a It follows that a c c 1, and hence also that b ac a c c c 1 c c c+1 Note that c c 1 is a square if and only if c 1 is even or c is a square if and only if c c+1 is a square, and so the all solutions are of the form a, b c c 1/, c c+1/, where c Z + and c is odd or c is an even square Conversely, when c Z + and either c is odd or c is an even square, if we let a c c 1/ and b c c+1/ then a, b Z + and b ac and b b a ac ac a a ac a c ac a a ac a c ac 1 a ac a c c 1/ a a ac a a a a ac+a a b+a a a+b
5 5: Let S { x, y, z R 3 x + y + z 1 } and let S S \ {0, 0, 1} Define F : S R as follows Given a point x, y, z S, let L be the line in R 3 through 0, 0, 1 and x, y, z, let u, v, 0 be the point at which L crosses the xy-plane, and let F x, y, z u, v Also, let G F 1 : R S a Find a formula for F and G Solution: The points on L are of the form u, v, w 0, 0, 1 + t x, y, z 0, 0, 1 tx, ty, 1 + tz 1, t R The point at which L crosses the xy-plane occurs when w 0, that is when t 1 u, v, w tx, ty, 1 + tz 1 x 1 z, y 1 z, 0 Thus x u, v F x, y, z 1 z, y 1 z 1 z, and it is the point To find G F 1, given u, v R, let M be the line in R 3 through 0, 0, 1 and u, v, 0 The Gu, v is the point on M which lies in x, y, z S The points on M are of the form x, y, z 0, 0, 1 + t u, v, 0 0, 0, 1 tu, tv, 1 t, t R The points where M intersects S satisfy 1 x + y + z tu + tv + 1 t t u + t v + t t + 1, that is u + v + 1t t 0, so they occur when t 0 and t When t 0 we obtain the point x, y, z tu, tv, 1 t 0, 0, 1 and when t we obtain the point u x, y, z Gu, v tu, tv, 1 t, v, u +v 1 b Explain why F and G give a biective correspondence F : S Q 3 Q and G F 1 : Q S Q 3 Solution: The maps F and G give a biective correspondence F : S R 3 and G F 1 : R S When x, y, z Q 3, the formula for F shows that u, v F x, y, z Q, and when u, v Q the formula for G shows that Gu, v Q 3 and so the restrictions of F and G give a biective correspondence F : S Q 3 Q and G F 1 : Q S Q 3 c Use the biective correspondence in Part b to find all a, b, c, w Z such that a + b + c w Solution: Let a, b, c, w Z with a + b + c w If w 0 then a b c 0 Suppose that w 0 If 0 r Z is a common divisor of a, b and c, then r is also a divisor of w and we have a + b + c r r r w r Suppose that gcda, b, c 1 Since a +b +c w we have a + b + c w w w 1 so a w, b w, c w S Q 3 If a w, b w, c w 0, 0, 1 then a b 0 and c w Otherwise we have a w, b w, c w S Q 3 and so a w, b w, c w Gu, v u for some u, v Q, v, u +v 1 Taing u, v m, m l, where, l Z, we have a w, b w, c w m lm +l +m, +l +m, +l m +l +m +l +m a, b, c w m, lm, +l m If s a prime and p s w then since a, b and c have no common divisors, either p a or p b or p c and in either case it follows that p s +l +m Thus we have w +l +m, say +l +m wd, and so d a, b, c, w m, lm, +l m, +l +m We must have d gcdm, lm, + l m because gcda, b, c 1 and so It follows that all solutions a, b, c, w Z to the equation a + b + c w are of the form a, b, c, w r m, lm, +l m, + l +m for some r,, l Z, m Z +, d where d gcdm, lm, + l m
MATH 145 Algebra, Solutions to Assignment 4
MATH 145 Algebra, Solutions to Assignment 4 1: a) Find the inverse of 178 in Z 365. Solution: We find s and t so that 178s + 365t = 1, and then 178 1 = s. The Euclidean Algorithm gives 365 = 178 + 9 178
More information4 Powers of an Element; Cyclic Groups
4 Powers of an Element; Cyclic Groups Notation When considering an abstract group (G, ), we will often simplify notation as follows x y will be expressed as xy (x y) z will be expressed as xyz x (y z)
More informationIntermediate Math Circles February 29, 2012 Linear Diophantine Equations I
Intermediate Math Circles February 29, 2012 Linear Diophantine Equations I Diophantine equations are equations intended to be solved in the integers. We re going to focus on Linear Diophantine Equations.
More informationM381 Number Theory 2004 Page 1
M81 Number Theory 2004 Page 1 [[ Comments are written like this. Please send me (dave@wildd.freeserve.co.uk) details of any errors you find or suggestions for improvements. ]] Question 1 20 = 2 * 10 +
More informationMATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.
MATH 501 Discrete Mathematics Lecture 6: Number theory Prof. Dr. Slim Abdennadher, slim.abdennadher@guc.edu.eg German University Cairo, Department of Media Engineering and Technology 1 Number theory Number
More informationNumber Theory Proof Portfolio
Number Theory Proof Portfolio Jordan Rock May 12, 2015 This portfolio is a collection of Number Theory proofs and problems done by Jordan Rock in the Spring of 2014. The problems are organized first by
More informationCOMP239: Mathematics for Computer Science II. Prof. Chadi Assi EV7.635
COMP239: Mathematics for Computer Science II Prof. Chadi Assi assi@ciise.concordia.ca EV7.635 The Euclidean Algorithm The Euclidean Algorithm Finding the GCD of two numbers using prime factorization is
More informationPRACTICE PROBLEMS: SET 1
PRACTICE PROBLEMS: SET MATH 437/537: PROF. DRAGOS GHIOCA. Problems Problem. Let a, b N. Show that if gcd(a, b) = lcm[a, b], then a = b. Problem. Let n, k N with n. Prove that (n ) (n k ) if and only if
More informationHomework 3, solutions
Homework 3, solutions Problem 1. Read the proof of Proposition 1.22 (page 32) in the book. Using simialr method prove that there are infinitely many prime numbers of the form 3n 2. Solution. Note that
More informationElementary Number Theory Review. Franz Luef
Elementary Number Theory Review Principle of Induction Principle of Induction Suppose we have a sequence of mathematical statements P(1), P(2),... such that (a) P(1) is true. (b) If P(k) is true, then
More informationMATH FINAL EXAM REVIEW HINTS
MATH 109 - FINAL EXAM REVIEW HINTS Answer: Answer: 1. Cardinality (1) Let a < b be two real numbers and define f : (0, 1) (a, b) by f(t) = (1 t)a + tb. (a) Prove that f is a bijection. (b) Prove that any
More informationHomework #2 solutions Due: June 15, 2012
All of the following exercises are based on the material in the handout on integers found on the class website. 1. Find d = gcd(475, 385) and express it as a linear combination of 475 and 385. That is
More informationSolutions to Section 1.3 Homework Problems S. F. Ellermeyer
Solutions to Section 1.3 Homework Problems S. F. Ellermeyer 1. (a) The prime factorization of 38 is 38 = 2 19 so the set of positive divisors of 38 is D (38) = f1; 2; 19; 38g. The prime factorization of
More informationLecture Notes. Advanced Discrete Structures COT S
Lecture Notes Advanced Discrete Structures COT 4115.001 S15 2015-01-13 Recap Divisibility Prime Number Theorem Euclid s Lemma Fundamental Theorem of Arithmetic Euclidean Algorithm Basic Notions - Section
More informationChapter 2. Divisibility. 2.1 Common Divisors
Chapter 2 Divisibility 2.1 Common Divisors Definition 2.1.1. Let a and b be integers. A common divisor of a and b is any integer that divides both a and b. Suppose that a and b are not both zero. By Proposition
More informationCh 4.2 Divisibility Properties
Ch 4.2 Divisibility Properties - Prime numbers and composite numbers - Procedure for determining whether or not a positive integer is a prime - GCF: procedure for finding gcf (Euclidean Algorithm) - Definition:
More informationApplied Cryptography and Computer Security CSE 664 Spring 2017
Applied Cryptography and Computer Security Lecture 11: Introduction to Number Theory Department of Computer Science and Engineering University at Buffalo 1 Lecture Outline What we ve covered so far: symmetric
More information5: The Integers (An introduction to Number Theory)
c Oksana Shatalov, Spring 2017 1 5: The Integers (An introduction to Number Theory) The Well Ordering Principle: Every nonempty subset on Z + has a smallest element; that is, if S is a nonempty subset
More informationMath 109 HW 9 Solutions
Math 109 HW 9 Solutions Problems IV 18. Solve the linear diophantine equation 6m + 10n + 15p = 1 Solution: Let y = 10n + 15p. Since (10, 15) is 5, we must have that y = 5x for some integer x, and (as we
More informationMath 131 notes. Jason Riedy. 6 October, Linear Diophantine equations : Likely delayed 6
Math 131 notes Jason Riedy 6 October, 2008 Contents 1 Modular arithmetic 2 2 Divisibility rules 3 3 Greatest common divisor 4 4 Least common multiple 4 5 Euclidean GCD algorithm 5 6 Linear Diophantine
More information3 The fundamentals: Algorithms, the integers, and matrices
3 The fundamentals: Algorithms, the integers, and matrices 3.4 The integers and division This section introduces the basics of number theory number theory is the part of mathematics involving integers
More informationProof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have
Exercise 13. Consider positive integers a, b, and c. (a) Suppose gcd(a, b) = 1. (i) Show that if a divides the product bc, then a must divide c. I give two proofs here, to illustrate the different methods.
More informationMATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.
MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences. Congruences Let n be a postive integer. The integers a and b are called congruent modulo n if they have the same
More information12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.
Math 3, Fall 010 Assignment 3 Solutions Exercise 1. Find all the integral solutions of the following linear diophantine equations. Be sure to justify your answers. (i) 3x + y = 7. (ii) 1x + 18y = 50. (iii)
More informationExercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93.
Exercises Exercises 1. Determine whether each of these integers is prime. a) 21 b) 29 c) 71 d) 97 e) 111 f) 143 2. Determine whether each of these integers is prime. a) 19 b) 27 c) 93 d) 101 e) 107 f)
More information1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.
000 Chapter 1 Arithmetic in 1.1 The Division Algorithm Revisited 1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = 3. 2. (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11. 3. (a) q = 6, r =
More informationThe following is an informal description of Euclid s algorithm for finding the greatest common divisor of a pair of numbers:
Divisibility Euclid s algorithm The following is an informal description of Euclid s algorithm for finding the greatest common divisor of a pair of numbers: Divide the smaller number into the larger, and
More informationNumber Theory Solutions Packet
Number Theory Solutions Pacet 1 There exist two distinct positive integers, both of which are divisors of 10 10, with sum equal to 157 What are they? Solution Suppose 157 = x + y for x and y divisors of
More informationa the relation arb is defined if and only if = 2 k, k
DISCRETE MATHEMATICS Past Paper Questions in Number Theory 1. Prove that 3k + 2 and 5k + 3, k are relatively prime. (Total 6 marks) 2. (a) Given that the integers m and n are such that 3 (m 2 + n 2 ),
More informationBasic elements of number theory
Cryptography Basic elements of number theory Marius Zimand 1 Divisibility, prime numbers By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a
More informationCMPUT 403: Number Theory
CMPUT 403: Number Theory Zachary Friggstad February 26, 2016 Outline Factoring Sieve Multiplicative Functions Greatest Common Divisors Applications Chinese Remainder Theorem Factoring Theorem (Fundamental
More information1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.
000 Chapter 1 Arithmetic in 1.1 The Division Algorithm Revisited 1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = 3. 2. (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11. 3. (a) q = 6, r =
More informationBasic elements of number theory
Cryptography Basic elements of number theory Marius Zimand By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a k for some integer k. Notation
More informationIntermediate Math Circles February 26, 2014 Diophantine Equations I
Intermediate Math Circles February 26, 2014 Diophantine Equations I 1. An introduction to Diophantine equations A Diophantine equation is a polynomial equation that is intended to be solved over the integers.
More informationProblem Set 7 Solutions
Problem Set 7 Solutions ECS 20 (Fall 2016) Patrice Koehl koehl@cs.ucdavis.edu November 15, 2017 Exercise 1 a) Let a be a natural number strictly greater than 1. Show that gcd(a, a 1) = 1. b) Use the result
More informationDeepening Mathematics Instruction for Secondary Teachers: Algebraic Structures
Deepening Mathematics Instruction for Secondary Teachers: Algebraic Structures Lance Burger Fresno State Preliminary Edition Contents Preface ix 1 Z The Integers 1 1.1 What are the Integers?......................
More informationChapter 5. Number Theory. 5.1 Base b representations
Chapter 5 Number Theory The material in this chapter offers a small glimpse of why a lot of facts that you ve probably nown and used for a long time are true. It also offers some exposure to generalization,
More informationChapter 5: The Integers
c Dr Oksana Shatalov, Fall 2014 1 Chapter 5: The Integers 5.1: Axioms and Basic Properties Operations on the set of integers, Z: addition and multiplication with the following properties: A1. Addition
More informationNOTES ON INTEGERS. 1. Integers
NOTES ON INTEGERS STEVEN DALE CUTKOSKY The integers 1. Integers Z = {, 3, 2, 1, 0, 1, 2, 3, } have addition and multiplication which satisfy familar rules. They are ordered (m < n if m is less than n).
More information4 Number Theory and Cryptography
4 Number Theory and Cryptography 4.1 Divisibility and Modular Arithmetic This section introduces the basics of number theory number theory is the part of mathematics involving integers and their properties.
More informationCourse: CS1050c (Fall '03) Homework2 Solutions Instructor: Prasad Tetali TAs: Kim, Woo Young: Deeparnab Chakrabarty:
Course: CS1050c (Fall '03) Homework2 Solutions Instructor: Prasad Tetali TAs: Kim, Woo Young: wooyoung@cc.gatech.edu, Deeparn Chakrarty: deepc@cc.gatech.edu Section 3.7 Problem 10: Prove that 3p 2 is irrational
More informationAnalytic Number Theory Solutions
Analytic Number Theory Solutions Sean Li Cornell University sxl6@cornell.edu Jan. 2013 Introduction This document is a wor-in-progress solution manual for Tom Apostol s Introduction to Analytic Number
More informationAn Introduction to Mathematical Thinking: Algebra and Number Systems. William J. Gilbert and Scott A. Vanstone, Prentice Hall, 2005
Chapter 2 Solutions An Introduction to Mathematical Thinking: Algebra and Number Systems William J. Gilbert and Scott A. Vanstone, Prentice Hall, 2005 Solutions prepared by William J. Gilbert and Alejandro
More information1 Overview and revision
MTH6128 Number Theory Notes 1 Spring 2018 1 Overview and revision In this section we will meet some of the concerns of Number Theory, and have a brief revision of some of the relevant material from Introduction
More informationMATH10040 Chapter 1: Integers and divisibility
MATH10040 Chapter 1: Integers and divisibility Recall the basic definition: 1. Divisibilty Definition 1.1. If a, b Z, we say that b divides a, or that a is a multiple of b and we write b a if there is
More informationNumber Theory Math 420 Silverman Exam #1 February 27, 2018
Name: Number Theory Math 420 Silverman Exam #1 February 27, 2018 INSTRUCTIONS Read Carefully Time: 50 minutes There are 5 problems. Write your name neatly at the top of this page. Write your final answer
More informationChapter 3: The Euclidean Algorithm and Diophantine. Math 138 Burger California State University, Fresno
Chapter 3: The Euclidean Algorithm and Diophantine Equations Math 138 Burger California State University, Fresno Greatest Common Divisor d is the greatest common divisor of integers a and b if d is the
More informationNumber Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru
Number Theory Marathon Mario Ynocente Castro, National University of Engineering, Peru 1 2 Chapter 1 Problems 1. (IMO 1975) Let f(n) denote the sum of the digits of n. Find f(f(f(4444 4444 ))). 2. Prove
More informationChapter 1. Greatest common divisor. 1.1 The division theorem. In the beginning, there are the natural numbers 0, 1, 2, 3, 4,...,
Chapter 1 Greatest common divisor 1.1 The division theorem In the beginning, there are the natural numbers 0, 1, 2, 3, 4,..., which constitute the set N. Addition and multiplication are binary operations
More informationNumber Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru
Number Theory Marathon Mario Ynocente Castro, National University of Engineering, Peru 1 2 Chapter 1 Problems 1. (IMO 1975) Let f(n) denote the sum of the digits of n. Find f(f(f(4444 4444 ))). 2. Prove
More informationMTH 346: The Chinese Remainder Theorem
MTH 346: The Chinese Remainder Theorem March 3, 2014 1 Introduction In this lab we are studying the Chinese Remainder Theorem. We are going to study how to solve two congruences, find what conditions are
More informationSolutions Math 308 Homework 9 11/20/2018. Throughout, let a, b, and c be non-zero integers.
Throughout, let a, b, and c be non-zero integers. Solutions Math 308 Homework 9 11/20/2018 1. Consider the following statements: i. a is divisible by 3; ii. a is divisible by 9; iii. a is divisible by
More information2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?
Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative
More informationMATH 3330 ABSTRACT ALGEBRA SPRING Definition. A statement is a declarative sentence that is either true or false.
MATH 3330 ABSTRACT ALGEBRA SPRING 2014 TANYA CHEN Dr. Gordon Heier Tuesday January 14, 2014 The Basics of Logic (Appendix) Definition. A statement is a declarative sentence that is either true or false.
More informationObjective Type Questions
DISTANCE EDUCATION, UNIVERSITY OF CALICUT NUMBER THEORY AND LINEARALGEBRA Objective Type Questions Shyama M.P. Assistant Professor Department of Mathematics Malabar Christian College, Calicut 7/3/2014
More informationAn Algorithm for Prime Factorization
An Algorithm for Prime Factorization Fact: If a is the smallest number > 1 that divides n, then a is prime. Proof: By contradiction. (Left to the reader.) A multiset is like a set, except repetitions are
More informationLecture 2. The Euclidean Algorithm and Numbers in Other Bases
Lecture 2. The Euclidean Algorithm and Numbers in Other Bases At the end of Lecture 1, we gave formulas for the greatest common divisor GCD (a, b), and the least common multiple LCM (a, b) of two integers
More informationcse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska
cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska LECTURE 12 CHAPTER 4 NUMBER THEORY PART1: Divisibility PART 2: Primes PART 1: DIVISIBILITY Basic Definitions Definition Given m,n Z, we say
More information8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2
MATH 135: Randomized Exam Practice Problems These are the warm-up exercises and recommended problems taken from all the extra practice sets presented in random order. The challenge problems have not been
More informationGreatest Common Divisor MATH Greatest Common Divisor. Benjamin V.C. Collins, James A. Swenson MATH 2730
MATH 2730 Greatest Common Divisor Benjamin V.C. Collins James A. Swenson The world s least necessary definition Definition Let a, b Z, not both zero. The largest integer d such that d a and d b is called
More informationChapter 3 Basic Number Theory
Chapter 3 Basic Number Theory What is Number Theory? Well... What is Number Theory? Well... Number Theory The study of the natural numbers (Z + ), especially the relationship between different sorts of
More informationChuck Garner, Ph.D. May 25, 2009 / Georgia ARML Practice
Some Chuck, Ph.D. Department of Mathematics Rockdale Magnet School for Science Technology May 25, 2009 / Georgia ARML Practice Outline 1 2 3 4 Outline 1 2 3 4 Warm-Up Problem Problem Find all positive
More informationNOTES ON SIMPLE NUMBER THEORY
NOTES ON SIMPLE NUMBER THEORY DAMIEN PITMAN 1. Definitions & Theorems Definition: We say d divides m iff d is positive integer and m is an integer and there is an integer q such that m = dq. In this case,
More informationMATH 420 FINAL EXAM J. Beachy, 5/7/97
MATH 420 FINAL EXAM J. Beachy, 5/7/97 1. (a) For positive integers a and b, define gcd(a, b). (b) Compute gcd(1776, 1492). (c) Show that if a, b, c are positive integers, then gcd(a, bc) = 1 if and only
More informationMath Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions
Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Warm-up Problems 1. What is a prime number? Give an example of an even prime number and an odd prime number. A prime number
More informationEUCLID S ALGORITHM AND THE FUNDAMENTAL THEOREM OF ARITHMETIC after N. Vasiliev and V. Gutenmacher (Kvant, 1972)
Intro to Math Reasoning Grinshpan EUCLID S ALGORITHM AND THE FUNDAMENTAL THEOREM OF ARITHMETIC after N. Vasiliev and V. Gutenmacher (Kvant, 1972) We all know that every composite natural number is a product
More informationis square-free. Suppose it were not and had a square factor x 2 p r 1. This is a contradiction, as the only possible primes dividing p r 1
1. Section 3.5 - Problem 8 Let n be a positive integer. By the fundamental theorem of arithmetic we can factor n as n = p e 1 1 p e where the p i are distinct primes and e i 0 for each i. For each e i,
More information1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).
MATH 135: Randomized Exam Practice Problems These are the warm-up exercises and recommended problems taken from all the extra practice sets presented in random order. The challenge problems have not been
More informationMath Homework # 4
Math 446 - Homework # 4 1. Are the following statements true or false? (a) 3 5(mod 2) Solution: 3 5 = 2 = 2 ( 1) is divisible by 2. Hence 2 5(mod 2). (b) 11 5(mod 5) Solution: 11 ( 5) = 16 is NOT divisible
More informationMath.3336: Discrete Mathematics. Primes and Greatest Common Divisors
Math.3336: Discrete Mathematics Primes and Greatest Common Divisors Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu
More informationSummary: Divisibility and Factorization
Summary: Divisibility and Factorization One of the main subjects considered in this chapter is divisibility of integers, and in particular the definition of the greatest common divisor Recall that we have
More information(a) 14 and 42 (b) 33 and 18 (c) 45 and 108 (d) 24 and 2039, given that 2039 is a prime number
Math 236: Discrete Mathematics with Applications Tutorial 2: 23 February 2012 1. Determine which of the following pairs of integers are relatively prime (give reasons for your answers): (a) 14 and 42 (b)
More informationCHAPTER 3. Congruences. Congruence: definitions and properties
CHAPTER 3 Congruences Part V of PJE Congruence: definitions and properties Definition. (PJE definition 19.1.1) Let m > 0 be an integer. Integers a and b are congruent modulo m if m divides a b. We write
More informationDiscrete Structures Lecture Primes and Greatest Common Divisor
DEFINITION 1 EXAMPLE 1.1 EXAMPLE 1.2 An integer p greater than 1 is called prime if the only positive factors of p are 1 and p. A positive integer that is greater than 1 and is not prime is called composite.
More informationDirect Proof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Direct Proof Fall / 24
Direct Proof MAT231 Transition to Higher Mathematics Fall 2014 MAT231 (Transition to Higher Math) Direct Proof Fall 2014 1 / 24 Outline 1 Overview of Proof 2 Theorems 3 Definitions 4 Direct Proof 5 Using
More informationSimultaneous Linear, and Non-linear Congruences
Simultaneous Linear, and Non-linear Congruences CIS002-2 Computational Alegrba and Number Theory David Goodwin david.goodwin@perisic.com 09:00, Friday 18 th November 2011 Outline 1 Polynomials 2 Linear
More informationMath Circles - Lesson 2 Linear Diophantine Equations cont.
Math Circles - Lesson 2 Linear Diophantine Equations cont. Zack Cramer - zcramer@uwaterloo.ca March 7, 2018 Last week we discussed linear Diophantine equations (LDEs), which are equations of the form ax
More informationCS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II
CS 5319 Advanced Discrete Structure Lecture 9: Introduction to Number Theory II Divisibility Outline Greatest Common Divisor Fundamental Theorem of Arithmetic Modular Arithmetic Euler Phi Function RSA
More informationWriting Assignment 2 Student Sample Questions
Writing Assignment 2 Student Sample Questions 1. Let P and Q be statements. Then the statement (P = Q) ( P Q) is a tautology. 2. The statement If the sun rises from the west, then I ll get out of the bed.
More informationProofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)
Proofs Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm Reading (Epp s textbook) 4.3 4.8 1 Divisibility The notation d n is read d divides n. Symbolically,
More informationNumber theory lectures
Number theory lectures By Dr. Mohammed M. AL-Ashker Associated professor Mathematics Department E.mail:mashker @ mail.iugaza.edu Islamic University of Gaza P.O.Box 108, Gaza, Palestine 1 Contents 1 Divisibility
More informationMATH 215 Final. M4. For all a, b in Z, a b = b a.
MATH 215 Final We will assume the existence of a set Z, whose elements are called integers, along with a well-defined binary operation + on Z (called addition), a second well-defined binary operation on
More informationMath Circle Beginners Group February 28, 2016 Euclid and Prime Numbers
Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Warm-up Problems 1. What is a prime number? Give an example of an even prime number and an odd prime number. (a) Circle the prime
More informationNumber Theory. Introduction
Number Theory Introduction Number theory is the branch of algebra which studies the properties of the integers. While we may from time to time use real or even complex numbers as tools to help us study
More information2k n. k=0. 3x 2 7 (mod 11) 5 4x 1 (mod 9) 2 r r +1 = r (2 r )
MATH 135: Randomized Exam Practice Problems These are the warm-up exercises and recommended problems take from the extra practice sets presented in random order. The challenge problems have not been included.
More informationMa/CS 6a Class 1. Course Details
Ma/CS 6a Class 1 By Adam Sheffer Course Details Adam Sheffer. adamsh@caltech.edu 1:00 Monday, Wednesday, and Friday. http://www.math.caltech.edu/~2014-15/1term/ma006a/ 1 Course Structure No exam! Grade
More informationLecture 11 - Basic Number Theory.
Lecture 11 - Basic Number Theory. Boaz Barak October 20, 2005 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that a divides b,
More informationChapter 5.1: Induction
Chapter.1: Induction Monday, July 1 Fermat s Little Theorem Evaluate the following: 1. 1 (mod ) 1 ( ) 1 1 (mod ). (mod 7) ( ) 8 ) 1 8 1 (mod ). 77 (mod 19). 18 (mod 1) 77 ( 18 ) 1 1 (mod 19) 18 1 (mod
More informationMathematics for Cryptography
Mathematics for Cryptography Douglas R. Stinson David R. Cheriton School of Computer Science University of Waterloo Waterloo, Ontario, N2L 3G1, Canada March 15, 2016 1 Groups and Modular Arithmetic 1.1
More information2. THE EUCLIDEAN ALGORITHM More ring essentials
2. THE EUCLIDEAN ALGORITHM More ring essentials In this chapter: rings R commutative with 1. An element b R divides a R, or b is a divisor of a, or a is divisible by b, or a is a multiple of b, if there
More informationAlgorithmic number theory. Questions/Complaints About Homework? The division algorithm. Division
Questions/Complaints About Homework? Here s the procedure for homework questions/complaints: 1. Read the solutions first. 2. Talk to the person who graded it (check initials) 3. If (1) and (2) don t work,
More informationElementary Algebra Chinese Remainder Theorem Euclidean Algorithm
Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm April 11, 2010 1 Algebra We start by discussing algebraic structures and their properties. This is presented in more depth than what we
More informationNumber theory (Chapter 4)
EECS 203 Spring 2016 Lecture 10 Page 1 of 8 Number theory (Chapter 4) Review Questions: 1. Does 5 1? Does 1 5? 2. Does (129+63) mod 10 = (129 mod 10)+(63 mod 10)? 3. Does (129+63) mod 10 = ((129 mod 10)+(63
More informationSenior Math Circles Cryptography and Number Theory Week 2
Senior Math Circles Cryptography and Number Theory Week 2 Dale Brydon Feb. 9, 2014 1 Divisibility and Inverses At the end of last time, we saw that not all numbers have inverses mod n, but some do. We
More informationMATH10040: Numbers and Functions Homework 1: Solutions
MATH10040: Numbers and Functions Homework 1: Solutions 1. Prove that a Z and if 3 divides into a then 3 divides a. Solution: The statement to be proved is equivalent to the statement: For any a N, if 3
More informationRings and modular arithmetic
Chapter 8 Rings and modular arithmetic So far, we have been working with just one operation at a time. But standard number systems, such as Z, have two operations + and which interact. It is useful to
More informationMathematics for Computer Science Exercises for Week 10
Mathematics for Computer Science Exercises for Week 10 Silvio Capobianco Last update: 7 November 2018 Problems from Section 9.1 Problem 9.1. Prove that a linear combination of linear combinations of integers
More information2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?
Chapter 3: Theory of Modular Arithmetic 25 SECTION C Solving Linear Congruences By the end of this section you will be able to solve congruence equations determine the number of solutions find the multiplicative
More informationNumber Theory Basics Z = {..., 2, 1, 0, 1, 2,...} For, b Z, we say that divides b if z = b for some. Notation: b Fact: for all, b, c Z:
Number Theory Basics Z = {..., 2, 1, 0, 1, 2,...} For, b Z, we say that divides b if z = b for some z Z Notation: b Fact: for all, b, c Z:, 1, and 0 0 = 0 b and b c = c b and c = (b + c) b and b = ±b 1
More informationSOLUTIONS Math 345 Homework 6 10/11/2017. Exercise 23. (a) Solve the following congruences: (i) x (mod 12) Answer. We have
Exercise 23. (a) Solve the following congruences: (i) x 101 7 (mod 12) Answer. We have φ(12) = #{1, 5, 7, 11}. Since gcd(7, 12) = 1, we must have gcd(x, 12) = 1. So 1 12 x φ(12) = x 4. Therefore 7 12 x
More information