is 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

Similar documents
SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

Discrete Structures Lecture Primes and Greatest Common Divisor

5.1. Primes, Composites, and Tests for Divisibility

PRACTICE PROBLEMS: SET 1

Number Theory Solutions Packet

2x 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 1. Greatest common divisor. 1.1 The division theorem. In the beginning, there are the natural numbers 0, 1, 2, 3, 4,...,

32 Divisibility Theory in Integral Domains

Elementary Properties of the Integers

NOTES ON INTEGERS. 1. Integers

Try the assignment f(1) = 2; f(2) = 1; f(3) = 4; f(4) = 3;.

Standard forms for writing numbers

a the relation arb is defined if and only if = 2 k, k

Chapter 3 Basic Number Theory

HOMEWORK ASSIGNMENT 5

Chapter 2. Divisibility. 2.1 Common Divisors

Deepening Mathematics Instruction for Secondary Teachers: Algebraic Structures

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

Commutative Rings and Fields

A Readable Introduction to Real Mathematics

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

4 Powers of an Element; Cyclic Groups

THESIS. Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.

NOTES ON SIMPLE NUMBER THEORY

2x 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?

Winter Camp 2009 Number Theory Tips and Tricks

MATH 145 Algebra, Solutions to Assignment 4

3. pour from one decanter to the other until either the receiving decanter is full or the poured decanter is empty.

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

Arithmetic, Algebra, Number Theory

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

Wednesday, February 21. Today we will begin Course Notes Chapter 5 (Number Theory).

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

3. pour from one decanter to the other until either the receiving decanter is full or the poured decanter is empty.

Climbing an Infinite Ladder

CSE 20 DISCRETE MATH. Winter

. In particular if a b then N(

Chapter 5: The Integers

Solutions to Section 1.3 Homework Problems S. F. Ellermeyer

CSE 215: Foundations of Computer Science Recitation Exercises Set #5 Stony Brook University. Name: ID#: Section #: Score: / 4

MATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time.

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

Ch 4.2 Divisibility Properties

Writing Assignment 2 Student Sample Questions

Cool Results on Primes

Math 109 HW 9 Solutions

3. pour from one decanter to the other until either the receiving decanter is full or the poured decanter is empty.

LINEAR CONGRUENCES AND LINEAR DIOPHANTINE EQUATIONS

We want to show P (n) is true for all integers

Chapter 5. Number Theory. 5.1 Base b representations

Homework #5 Solutions

Chapter 1 A Survey of Divisibility 14

Exam 2 Review Chapters 4-5

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

Math 319 Problem Set #2 Solution 14 February 2002

Discrete Math. Instructor: Mike Picollelli. Day 10

Math Review. for the Quantitative Reasoning measure of the GRE General Test

Lecture 2. The Euclidean Algorithm and Numbers in Other Bases

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Exercises 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.

MATH FINAL EXAM REVIEW HINTS

LP03 Chapter 5. A prime number is a natural number greater that 1 that has only itself and 1 as factors. 2, 3, 5, 7, 11, 13, 17, 19, 23, 29,

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

p = This is small enough that its primality is easily verified by trial division. A candidate prime above 1000 p of the form p U + 1 is

CS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II


USA Mathematical Talent Search Round 3 Solutions Year 20 Academic Year

Lecture Notes. Advanced Discrete Structures COT S

Number Theory and Divisibility

MATH 152 Problem set 6 solutions

8 Primes and Modular Arithmetic

Executive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics:

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

Arithmetic. Integers: Any positive or negative whole number including zero

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

Section 5.1 Polynomial Functions and Models

Four Basic Sets. Divisors

Solutions, Project on p-adic Numbers, Real Analysis I, Fall, 2010.

M3P14 LECTURE NOTES 8: QUADRATIC RINGS AND EUCLIDEAN DOMAINS

REVIEW Chapter 1 The Real Number System

Sums of Squares. Bianca Homberg and Minna Liu

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

Division Algorithm B1 Introduction to the Division Algorithm (Procedure) quotient remainder

COMP239: Mathematics for Computer Science II. Prof. Chadi Assi EV7.635

Summary: Divisibility and Factorization

Numbers. 2.1 Integers. P(n) = n(n 4 5n 2 + 4) = n(n 2 1)(n 2 4) = (n 2)(n 1)n(n + 1)(n + 2); 120 =

2. THE EUCLIDEAN ALGORITHM More ring essentials

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

Section 3-4: Least Common Multiple and Greatest Common Factor

Number Theory and Graph Theory. Prime numbers and congruences.

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

1. (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.

[Part 2] Asymmetric-Key Encipherment. Chapter 9. Mathematics of Cryptography. Objectives. Contents. Objectives

Math 412, Introduction to abstract algebra. Overview of algebra.

Factorization in Polynomial Rings

Transcription:

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, by the division algorithm write e i = 2f i + r i with r i {0, 1}. Then we have n = (p f 1 1 p f )2 p r 1 1 p r We have (p f 1 1 p f )2 is a square. I claim that p r 1 1 p r is square-free. Suppose it were not and had a square factor x 2 p r 1 1 p r, with x 1. Then some prime q divides x and so q 2 divides p r 1 1 p r. This is a contradiction, as the only possible primes dividing p r 1 1 p r the p i, and as r i 1, we have p 2 i does not divide p r 1 1 p r Thus n can be written as the product of a square and a square-free integer. 2. Section 3.5 - Problem 10 Write a = p e 1 1 p e and b = p f 1 1 p f where the p i are distinct primes and e i, f i 0. As a 3 b 2 we have 3e i 2f i and hence e i 2 3 f i f i for each i. Thus a b. 3. Section 3.5 - Problem 32 (5th edition). Problem 30 (6th edition) For distinct primes p i we have (p e 1 1 p e, p f 1 1 p f ) = pmin{e 1,f 1 } 1 p min{e,f } [p e 1 1 p e, p f 1 1 p f ] = pmax{e 1,f 1 } 1 p max{e,f } We use this to compute the greatest common divisors and least common multiples. a) (2 3 2 5 3, 2 2 3 3 7 2 ) = 2 3 2 (2 3 2 5 3, 2 2 3 3 7 2 ) = 2 2 3 3 5 3 7 2 b) (2 3 5 7, 7 11 13) = 7 (2 3 5 7, 7 11 13) = 2 3 5 7 11 13 c) (2 8 3 6 5 4 11 13, 2 3 5 13) = 2 3 5 (2 8 3 6 5 4 11 13, 2 3 5 13) = 2 8 3 6 5 4 11 13 d) (41 101 47 43 103 1001, 41 11 43 47 83 111 ) = 41 11 (41 101 47 43 103 1001, 41 11 43 47 83 111 ) = 41 101 43 47 47 43 83 111 103 1001 4. Section 3.5 - Problem 36 (5th edition). Problem 34 (the 6th edition) Let us assume that a and b are positive (we will multiply each by ±1 to get all integer solutions at the end). Note that (a, b) = 18 = 2 3 2 and [a, b] = 540 = 2 2 3 3 5. Thus the only prime divisors of a and b are 2, 3 and 5. Write a = 2 d 2 3 d 3 5 d 5 and b = 2 e 2 3 e 3 5 e 5, where d 2, d 3, d 5, e 2, e 3, e 5 are non-negative integers. The smaller of the two exponents, min(d 2, e 2 ) equals 1 (the exponent of 2 in 18) and max(d 2, e 2 ) equals 2 (the exponent of 2 in 540). After possibly interchanging a and b, we may assume d 2 = 1 and e 2 = 2. Similarly, min(d 3, e 3 ) = 2 (the exponent of 3 in 18), max(d 3, e 3 ) = 3 (the exponent of 3 in 540), and min(d 5, e 5 ) = 0 (the exponent of 5 in 18), min(d 5, e 5 ) = 1 (the exponent of 5 in 540). Thus (d 3, e 3 ) = (2, 3) or (3, 2) and (d 5, e 5 ) = (0, 1) or (1, 0). This gives rise to four possibilities:. are

(i) a = 2 1 3 2 = 18 b = 2 2 3 3 5 1 = 540, (ii) a = 2 1 3 2 5 = 90 b = 2 2 3 3 = 108, (iii) a = 2 1 3 3 = 54 b = 2 2 3 2 5 = 180, and (iv) a = 2 1 3 3 5 = 270 b = 2 2 3 2 = 36. All other possibilities are obtained from these four by interchanging a and b and multiplying a or b (or both) by 1. 5. Section 3.5 - Problem 60 (50th edition). Problem 56 (6th edition) We will argue by contradiction. Suppose there are finitely many primes of the form 6 + 5, where is a positive integer. Let them be p 1,..., p. Let N = 6p 1 p 1. We have N > 1, as p 1 = 5 > 0. Let q be an arbitrary prime dividing N. By the division algorithm we have q = 6a + r for some integer a and r {0,..., 5}. If r {0, 2, 4} then q is even and hence is 2. But 2 does not divide N, as 2 divides N + 1. Thus r 2, If r = 3, then 3 q = 3(2a + 1) and thus q = 3. Again, 3 does not divide N, as 3 divides N + 1. Thus q 3. If r = 5, then q is of the form 6 + 5. By our assumption p 1,..., p are the only primes of this form. Thus q = p i for some i. But p i divides N + 1, so does not divide N. Thus every prime q dividing N is of the form 6a + 1 for some integer a. For any two integers of this form we have (6a+1)(6b+1) = 6(6ab+a+b)+1, which is also in this form. As we showed above, N is the product of primes, say, q 1,..., q r (not necessarily distinct), and each of these primes is of the form 6 + 1. Thus N = q 1... q r must also be of this form. This is a contradiction, as N is of the form 6 + 5. This contradiction shows that there are infinitely many primes of the form 6 + 5. 6. Section 3.5 - Problem 72 (5th edition). Problem 68 (6th edition) Let p i be one of the primes in the list. Suppose i m, then we have p i Q. Supose p i (Q + R), then p i (Q + R Q) = R. This is a contradiction, as p i does not appear in the prime factorization of R. Thus p i does not divide Q + R. If m < i n, then p i R, and by the same reasoning we have p i does not divide Q + R. Thus none of the primes in the list divide Q + R. If there were finitely many primes p 1,..., p n, then as every integer > 1 has a prime factor, one of the p i would have to divide Q + R. This is a contradiction and so there are infinitely many primes. 7. Section 3.7 - Problem 2 a) As (3, 4) = 1 there are infinitely many solutions. As x = y = 1 gives a particular solution, all solutions are given by x = 1 + 4n, y = 1 3n, where n is an integer. b) As (12, 18) = 6 which does not divide 50, there are no solutions c) First we find a particular solution to 30x + 47y = 1 by using the Euclidean algorithm. 74 = 30 + 17 30 = 17 + 13

17 = 13 + 4 13 = 4 3 + 1 Bac substitution: 1 = 13 4 3 = 13 (17 13) 3 = 13 4 17 3 = (30 17) 4 17 3 = 30 4 17 7 = 30 4 (47 30) 7 = 30 11 47 7 Thus x 0 = 11, y 0 = 7 is a particular solution to 30x+47y = 1. To get a particular solution to 30x + 47y = 11, multiply both numbers by 11: x 1 = 121, y 1 = 77. The general solution is thus x = 121 + 47t, y = 77 30t, where t ranges over the integers. d) As (25, 95) = 5 which divides 970, there are infinitely many solutions. Divide both sides by 5: our equation reduces to 5x + 19y = 194. x 0 = 4, y 0 = 1 is a particular solution to 5x + 19y = 1. x 1 = 194 4 = 776, y 0 = 194 is a particular solution to As x = 16, y = 6 gives a particular solution, all solutions are given by x = 776 + 19t, y = 194 5t, where t ranges over the integers. e) Euclidean algorithm: 1001 = 102 9 + 83 102 = 83 1 + 19 83 = 19 4 + 7 19 = 7 2 + 5 7 = 5 1 + 2 5 = 2 2 + 1 Thus (102, 1001) = 1, and the Diophantine equation 102x + 1001y = 1 has infinitely many solutions. To find a particular solution, use bac substitution: 1 = 5 2 2 = 5 (7 5) 2 = 7 ( 2) + 5 3 = 7 ( 2) + (19 7 2) 3 = 19 3 7 8 = 19 3 (83 19 4) 8 = 83 ( 8)+19 35 = 83 ( 8)+(102 83) 35 = 102 35 83 43 = 102 35 (1001 102 9) 43 = 1001 ( 43) + 102 422. Thus x = 422, y = 43 gives a particular solution, and the general solution is x = 422 + 1001t, y = 43 102t, where t ranges over the integers. 8. Section 3.7 - Problem 6 This problem can be posed as finding a nonnegative integer solution to the linear diophantine equation 63x + 7 = 23y, where x is the number of plantains in a pile, and y is the number of plantains each traveller receives. We find a particular solution x = 5, y = 14 and then, noting that (63, 23) = 1, all integer solutions are given by x = 5+23n, y = 14+63n, where n is an integer. These are both positive if and only if n 0. Thus the number of plantains in a pile could be any positive integer of the form 5 + 23n. 9. Section 3.7 - Problem 8 This problem can be posed as finding a nonnegative integer solution to the linear diophantine equation 6o + 33g = 549, where o is the number of oranges and g is the number of grapefruits. Since (18, 33) = 3, and 549 is divisible by 3, we see that there will be infinitely many solutions. To simplify our equation, let us divide both sides by 3: 6o + 11g = 183. A particular solution to 6o + 11g = 1 is o = 2, g = 1. A particular solution to 2o+11g = 183 is thus o = 2 183 = 366, and g = ( 1) 183 = 183. General solution: o = 366 + 11t, g = 183 6t, where t is an integer.

To get positive solutions, we need to choose t so that 366 + 11t 0 and 183 6t 0. From the first inequality, t 366 11 = 33 3 11, and from the second, t 183 6 = 301 2. The only integer values of t satisfying these inequalities are 31, 32, and 33. t = 31 correspond to o = 25, g = 3, t = 32 correspond to o = 14, g = 9, t = 33 correspond to o = 3, g = 15. The total number of pieces of fruit purchased in these three cases are 25 + 3 = 28 if t = 31, 14 + 9 = 23 if t = 32, and 3 + 15 = 28 if t = 33. The smallest number of pieces of fruit purchased is 28: 3 oranges and 15 grapefruits. 10. Section 3.7 - Problem 10 We consider the linear diophantine equation 11l + 8c = T, where l represents the number of lobster dinners bought, c represents the number of chicen dinners bought, and T represents the total bill. If T = 1, then l = 3, c = 4 gives a particular solution. As (8, 11) = 1, for an arbitrary integer T the general solution is given by l = 3T + 8n, c = 4T 11n, where n is an integer. Both solutions are non-negative if 3T + 8n 0 and c = 4T 11n 0, i.e., n [ 3 8 T, 4 11 T ]. a) If T = 777, then 3 8 T = 2913 8, 4 11 T = 282 6 11, and the integers n in the interval [ 3 8 T, 4 11 T ] are 291, 290,..., 283. Thus there are 9 possibilities for l = 3 777 + 8n and c = 4 777 11n: (1) l = 3 and c = 93 if n = 291, (2) l = 11 and c = 82 if n = 290, (3) l = 19 and c = 71 if n = 289, (4) l = 27 and c = 60 if n = 288, (5) l = 35 and c = 49 if n = 287, (6) l = 43 and c = 38 if n = 286, (7) l = 51 and c = 27 if n = 285, (8) l = 59 and c = 16 if n = 284, and (9) l = 67 and c = 5 if n = 283. b) If T = 96, then 3 8 T = 36, 4 11 T = 3410 11, and the integers n in the interval [ 3 8 T, 4 11 T ] are 36 and 35. Thus there are 2 possibilities for l = 3 96 + 8n and c = 4 96 11n: (1) l = 0 and c = 12 if n = 36, (2) l = 8 and c = 1 if n = 35.

c) If T = 69, then 3 8 T = 257 8, 4 11 T = 25 1, and there are no integers in the interval 11 [ 3 8 T, 4 T ]. It is impossible for the total bill to be $69. 11