SOLUTIONS FOR PROBLEM SET 2



Similar documents
Applications of Fermat s Little Theorem and Congruences

Homework until Test #2

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

z 0 and y even had the form

Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014

SOLVING POLYNOMIAL EQUATIONS

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

GREATEST COMMON DIVISOR

MATH10040 Chapter 2: Prime and relatively prime numbers

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

Notes on Factoring. MA 206 Kurt Bryan

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

Just the Factors, Ma am

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

6.1 The Greatest Common Factor; Factoring by Grouping

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

Settling a Question about Pythagorean Triples

The Pointless Machine and Escape of the Clones

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

Some practice problems for midterm 2

4.2 Euclid s Classification of Pythagorean Triples

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

PROPERTIES OF ELLIPTIC CURVES AND THEIR USE IN FACTORING LARGE NUMBERS

MACM 101 Discrete Mathematics I

Primality - Factorization

Unique Factorization

Advanced GMAT Math Questions

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

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

The last three chapters introduced three major proof techniques: direct,

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

Playing with Numbers

H/wk 13, Solutions to selected problems

8 Primes and Modular Arithmetic

FACTORS AND MULTIPLES Answer Key

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson


8 Divisibility and prime numbers

Factoring Polynomials

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

RSA and Primality Testing

11 Ideals Revisiting Z

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

Lecture 13 - Basic Number Theory.

MATH 289 PROBLEM SET 4: NUMBER THEORY

Using the ac Method to Factor

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

FACTORING POLYNOMIALS

3 1. Note that all cubes solve it; therefore, there are no more

SECTION 10-2 Mathematical Induction

Today s Topics. Primes & Greatest Common Divisors

The Euclidean Algorithm

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

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

Chapter 9. Systems of Linear Equations

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

Cryptography and Network Security Chapter 8

Algebraic Structures II

Math Circle Beginners Group October 18, 2015

s = s = s =

mod 10 = mod 10 = 49 mod 10 = 9.

Section 4.2: The Division Algorithm and Greatest Common Divisors

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

APPLICATIONS AND MODELING WITH QUADRATIC EQUATIONS

Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov

FACTORING OUT COMMON FACTORS

( ) FACTORING. x In this polynomial the only variable in common to all is x.

Handout #1: Mathematical Reasoning

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives

Congruent Number Problem

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

4. FIRST STEPS IN THE THEORY 4.1. A

NUMBER SYSTEMS. William Stallings

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

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Integer roots of quadratic and cubic polynomials with integer coefficients

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

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

DIVISIBILITY AND GREATEST COMMON DIVISORS

Factoring Algorithms

Lecture Notes on Discrete Mathematics

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

By reversing the rules for multiplication of binomials from Section 4.6, we get rules for factoring polynomials in certain forms.

4. How many integers between 2004 and 4002 are perfect squares?

it is easy to see that α = a

Introduction. Appendix D Mathematical Induction D1

Definitions 1. A factor of integer is an integer that will divide the given integer evenly (with no remainder).

Invention of the plane geometrical formulae - Part I

Polynomials. Dr. philippe B. laval Kennesaw State University. April 3, 2005

FACTORING CERTAIN INFINITE ABELIAN GROUPS BY DISTORTED CYCLIC SUBSETS

CONTINUED FRACTIONS AND PELL S EQUATION. Contents 1. Continued Fractions 1 2. Solution to Pell s Equation 9 References 12

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

An Innocent Investigation

Baltic Way Västerås (Sweden), November 12, Problems and solutions

Negative Integer Exponents

PROBLEM SET 6: POLYNOMIALS

1.3 Polynomials and Factoring

Transcription:

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 that p+6k is also prime for k = 1,2,3 and 4. SOLUTION: First of all, note that p = 5 has the stated property. Indeed, are all prime. 5, 5+6 = 11, 5+12 = 17, 5+18 = 23, 5+24 = 29 Note that p = 2 and p = 3 don t have the stated property. Now let us consider a prime p > 5. We can write p = 5q +r, where r {0,1,2,3,4}. We will consider each of the five cases separately. Since p > 5, we have q 1. Case 1: Assume r = 0. Then p = 5q and hence 5 p. Since p > 5, we have q > 1 in this case. This is impossible because p is a prime. Case 2: Assume r = 1. Then p+24 = (5q +1)+24 = 5q +25 = 5(q +5). Since q +5 > 1, it follows that p+24 is not prime. Case 3: Assume r = 2. Then p+18 = (5q +2)+18 = 5q +20 = 5(q +4). Since q +4 > 1, it follows that p+18 is not prime. Case 4: Assume r = 3. Then p+12 = (5q +3)+12 = 5q +15 = 5(q +3). Since q +3 > 1, it follows that p+12 is not prime. Case 5: Assume r = 4. Then p+6 = (5q +4)+6 = 5q+10 = 5(q +2). Since q +2 > 1, it follows that p+6 is not prime. In summary, if p > 5, then we have shown that at least one of the numbers p, p+6, p+12, p+18, p+24 is not prime. We have also ruled out p = 2 and p = 3. It follows that exactly one prime p has the stated property, namely p = 5. B: Prove that if n Z, then n 3 gives a remainder of 0, 1, or 6 when divided by 7. 1

SOLUTION:BytheDivisonAlgorithm,weknowthatn = 7q+r,wherer {0,1,2,3,4,5,6}. We will consider all seven cases separately. First note that n 3 = (7q+r) 3 = (7q) 3 +3(7q) 2 r +3(7q)r 2 +r 3 = 7(7 2 q 3 +3 7q 2 r +3qr 2 )+r 3. Thus, n 3 = 7k+r 3, where k = 7 2 q 3 +3 7q 2 r+3qr 2. Since q and r are in Z, it follows that k Z. Now we consider the seven cases. Note that 0 3 = 0 = 7 0+0, 1 3 = 1 = 7 0+1, 2 3 = 8 = 7 1+1, 3 3 = 27 = 7 3+6, 4 3 = 64 = 7 9+1, 5 3 = 125 = 7 7 17+6, 6 3 = 216 = 7 30+6. In each case, we have found that r 3 = 7u+v, where u Z and v {0,1,6}. Finally, we have n 3 = 7k +r 3 = 7k +7u+v = 7(k + u)+v, where v {0,1,6}. Note that k+u Z. It follows that the remainder that n 3 gives when divided by 7 is either 0 or 1 or 6. C: Prove that if n is an odd integer, then n is of the form 4k +1 or 4k +3, where k Z. SOLUTION: Since n is an integer, by the Division Algorithm, we have n = 4k +r, where k Z and r {0,1,2,3}. If r = 0, then n = 4q = 2(2q) is even. If r = 2, then n = 4q + 2 = 2(2q + 1) and n is also even in this case. Thus, if n is odd, then r 0 and r 2. It follows that if n is odd, then r = 1 or r = 3. Thus, if n is odd, we must have n = 4k +1 or n = 4k +3, where k Z. D: Prove that if n is an odd integer, then n 2 gives a remainder of 1 when divided by 8. SOLUTION: We will use the result from problem C. Assume that n is odd. Then we know that n = 4k +1 or n = 4k +3, where k Z. If n = 4k+1, then n 2 = (4k+1) 2 = 16k 2 +8k+1 = 8(2k 2 +1)+1. Since 2k 2 +1 is an integer, it follows that n 2 gives a remainder of 1 when divided by 8. If n = 4k + 3, then n 2 = (4k + 3) 2 = 16k 2 + 24k + 9 = 8(2k 2 + 3k + 1) + 1. Since 2k 2 +3k +1 is an integer, it follows that n 2 gives a remainder of 1 when divided by 8. In summary, if n is odd, then n 2 gives a remainder of 1 when divided by 8. 2

E: Prove that if n is an even integer, then n 2 gives a remainder of 0 or 4 when divided by 8. SOLUTION: Suppose that n is even. Then n = 2k, where k Z. Hence n 2 = 4k 2 and hence n 2 is divisible by 4. Thus, we have 4 n 2. By the Division Algorithm, we have n 2 = 8q+r, where r {0,1,2,3,4,5,6,7}and q Z. We have r = n 2 8q. Note that 8q = 4(2q) is divisible by 4. Since 4 n 2 and 4 8q, it follows that 4 (n 2 8q). Thus, we must have 4 r. Since, r {0,1,2,3,4,5,6,7}, it follows that either r = 0 or r = 4. Hence, n 2 indeed gives a remainder of 0 or 4 when n is even. F: Do problem 6 on page 25. 6(a) SOLUTION: We have 12075 = 4655 2+2765 4655 = 2765 1+1890 2765 = 1890 1+875 1890 = 875 2+140 875 = 140 6+35 140 = 35 4+0 and so we can conclude that (4655,12075) = 35. Using the above equations, we find 35 = 875 6 140 = 875 6 (1890 2 875) = 13 875 6 1890 = 13 (2765 1 1890) 6 1890 = 13 2765 19 1890 = 13 2765 19 (4655 1 2765) = 32 2765 19 4655 = 32 (12075 2 4655) 19 4655 = 32 12075 83 4655. We have 35 = 83 4655+32 12075 and so we can take x = 83 and y = 32. 6 (b) SOLUTION: We have 2597 = 1369 1+1228 1369 = 1228 1+141 1228 = 141 8+100 141 = 100 1+41 3

100 = 41 2+18 41 = 18 2+5 18 = 5 3+3 5 = 3 1+2 3 = 2 1+1 2 = 1 2+0 and so we can conclude that (1369,2597) = 1. Using the above equations, we have 1 = 3 1 2 = 3 1 (5 1 3) = 2 3 1 5 = 2 (18 3 5) 1 5 = 2 18 7 5 = 2 18 7 (41 2 18) = 16 18 7 41 = 16 (100 2 41) 7 41 = 16 100 39 41 = 16 100 39 (141 1 100) = 55 100 39 141 = 55 1228 8 141) 39 141 = 55 1228 479 141 = 55 1228 479 (1369 1 1228) = 534 1228 479 1369 = 534 (2597 1 1369) 479 1369 = 534 2597 1013 1369 and so we have 1369 ( 1013)+2597 534 = 1. We can take x = 1013 and y = 534. 6 (c) SOLUTION: We have 2048 = 1275 1+773 1275 = 773 1+502 773 = 502 1+271 502 = 271 1+231 271 = 231 1+40 231 = 40 5+31 40 = 31 1+9 31 = 9 3+4 9 = 4 2+1 4 = 1 4+0 and so we have (2048,1275) = 1. Using the above equations, we obtain 1 = 9 2 4 = 9 2 (31 3 9) = 7 9 2 31 = 7 (40 1 31) 2 31 4

= 7 40 9 31 = 7 40 9 (231 5 40) = 52 40 9 231 = 52 (271 1 231) 9 231 = 52 271 61 231 = 52 271 61 (502 1 271) = 113 271 61 502 = 113 (773 1 502) 61 502 = 113 773 174 502 = 113 773 174 (1275 1 773) = 174 1275+287 773 = 174 1275+287 (2048 1 1275) = 287 2048 461 1275 and so we can take x = 287 and y = 461. G: Consider the equation x 2 6y 2 = 10. It turns out that this equation has infinitely many solutions where x,y Z. Suppose that x = a, y = b is one of those solutions. Prove that (a,b) = 1. SOLUTION: Let d = (a,b). In general, we know that d 1. We will prove that d = 1. First of all, note that d a and d b. This follows from the definition of (a,b). Thus, we have a = de and b = df, where e,f Z. We are given that x = a and y = b satisfy the equation x 2 6y 2 = 10. That is, we can assume that a 2 6b 2 = 10. We will now combine this fact with the facts that a = de and b = df. We obtain the equation (de) 2 6(df) 2 = 10. Equivalently, we have d 2 e 2 6d 2 f 2 = 10. This gives the equation d 2( e 2 6f 2) = 10. Let q = e 2 6f 2. Since e,f Z, it follows that q Z. Therefore, 10 = d 2 q and hence we can conclude that d 2 divides 10. The divisors of 10 are easily found. They are ±1,±2,±5, and ±10. Only one of these divisors is equal to the square of an integer, namely 1. Therefore, we must have d 2 = 1. Since d 1, we must have d = 1. This is what we wanted to prove. 5