Math 319 Problem Set #2 Solution 14 February 2002

Similar documents
Homework #2 solutions Due: June 15, 2012

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

SOLUTIONS Math 345 Homework 6 10/11/2017. Exercise 23. (a) Solve the following congruences: (i) x (mod 12) Answer. We have

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

MATH 310: Homework 7

On the polynomial x(x + 1)(x + 2)(x + 3)

Numbers and their divisors

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.


Intermediate Math Circles March 6, 2013 Number Theory I

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

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

Polynomials and Polynomial Functions

University of Toronto Faculty of Arts and Science Solutions to Final Examination, April 2017 MAT246H1S - Concepts in Abstract Mathematics

Intermediate Math Circles February 14, 2018 Contest Prep: Number Theory

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

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.

The Chinese Remainder Theorem

10 Problem 1. The following assertions may be true or false, depending on the choice of the integers a, b 0. a "

Solutions to Practice Final

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018

Theory of Numbers Problems

Cool Results on Primes

Math 109 HW 9 Solutions

Recitation 7: Existence Proofs and Mathematical Induction

. As the binomial coefficients are integers we have that. 2 n(n 1).

MATH FINAL EXAM REVIEW HINTS

Math 118: Advanced Number Theory. Samit Dasgupta and Gary Kirby

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

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

Maths Scheme of Work. Class: Year 10. Term: autumn 1: 32 lessons (24 hours) Number of lessons

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?

Climbing an Infinite Ladder

CSE 20 DISCRETE MATH. Winter

M381 Number Theory 2004 Page 1

CHAPTER 1 REAL NUMBERS KEY POINTS

Solutions to Assignment 1

MATH 145 Algebra, Solutions to Assignment 4

Solutions Quiz 9 Nov. 8, Prove: If a, b, m are integers such that 2a + 3b 12m + 1, then a 3m + 1 or b 2m + 1.

CHAPTER 3. Congruences. Congruence: definitions and properties

Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

AN ALGEBRAIC PROOF OF RSA ENCRYPTION AND DECRYPTION

PRACTICE PROBLEMS: SET 1

Chapter 3: Factors, Roots, and Powers

Modular Arithmetic Instructor: Marizza Bailey Name:

Math 110 HW 3 solutions

Clock Arithmetic. 1. If it is 9 o clock and you get out of school in 4 hours, when do you get out of school?

1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).

Beautiful Mathematics

Discrete Mathematics with Applications MATH236

Q 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today?

A number that can be written as, where p and q are integers and q Number.

Winter Camp 2009 Number Theory Tips and Tricks

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

Mathematics 228(Q1), Assignment 2 Solutions

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,

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Eby, MATH 0310 Spring 2017 Page 53. Parentheses are IMPORTANT!! Exponents only change what they! So if a is not inside parentheses, then it

7. Prime Numbers Part VI of PJE

3 The fundamentals: Algorithms, the integers, and matrices

Contribution of Problems

ACCUPLACER MATH 0310

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

Contradiction MATH Contradiction. Benjamin V.C. Collins, James A. Swenson MATH 2730

PYTHAGOREAN TRIPLES KEITH CONRAD

Integers and Division

Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya

Number Theory. CSS322: Security and Cryptography. Sirindhorn International Institute of Technology Thammasat University CSS322. Number Theory.

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

1. Revision Description Reflect and Review Teasers Answers Recall of Rational Numbers:

Commutative Rings and Fields

MATH 420 FINAL EXAM J. Beachy, 5/7/97

Lecture 4: Number theory

A Readable Introduction to Real Mathematics

2k n. k=0. 3x 2 7 (mod 11) 5 4x 1 (mod 9) 2 r r +1 = r (2 r )

MATH10040: Numbers and Functions Homework 1: Solutions

and LCM (a, b, c) LCM ( a, b) LCM ( b, c) LCM ( a, c)

Euler s, Fermat s and Wilson s Theorems

Definition For a set F, a polynomial over F with variable x is of the form

* 8 Groups, with Appendix containing Rings and Fields.

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

Contest Number Theory

Basic elements of number theory

Basic elements of number theory

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

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

D-MATH Algebra II FS18 Prof. Marc Burger. Solution 26. Cyclotomic extensions.

Number Theory Math 420 Silverman Exam #1 February 27, 2018

Chapter 3 Basic Number Theory

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

Putnam Pigeonhole Principle October 25, 2005

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

Number Theory Proof Portfolio

2301 Assignment 1 Due Friday 19th March, 2 pm

Math-3. Lesson 3-1 Finding Zeroes of NOT nice 3rd Degree Polynomials

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

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?

1 What is the area model for multiplication?

Chapter 3: Section 3.1: Factors & Multiples of Whole Numbers

NAME DATE PERIOD. A negative exponent is the result of repeated division. Extending the pattern below shows that 4 1 = 1 4 or 1. Example: 6 4 = 1 6 4

Transcription:

Math 39 Problem Set # Solution 4 February 00. (.3, problem 8) Let n be a positive integer, and let r be the integer obtained by removing the last digit from n and then subtracting two times the digit ust removed. (See the hint in NZM for a nice way to formalize this operation.) Prove that 7 n if and only if 7 r. Proof: Let u be the units digit of n, and write n = 0m + u for some integer m. Then r = m u. Observe that so that 7 (n 3r). n 3r = 7m + 7u Now suppose 7 n. Then since 7 (n 3r), it follows by Theorem.(3) that 7 3r. Since (7, 3) = and 7 3r, we get from Theorem.0 that 7 r. For the converse, suppose 7 r. Then since 7 (n 3r) also, by Theorem.(3) we get 7 n.. (Based on.3, problem 6) Find a positive integer n such that n/ is a square, n/3 is a cube, and n/5 is a fifth power. Have you found the least such positive integer? Solution: Let n be our integer. Clearly n must be divisible by, 3, and 5, so to get started, let s write n = a 3 b 5 c. The given conditions tell us that a must be odd and a multiple of both 3 and 5; b must be of the form 3k + and must be a multiple of both and 5; and c must be of the form 5k + and must be a multiple of both and 3. That is, the number a must satisfy a (mod ), a 0 (mod 3), a 0 (mod 5). Any positive solution to this system must be divisible by [3, 5] = 5, and the least such number is a = 5. The number b must satisfy b 0 (mod ), b (mod 3), b 0 (mod 5).

Again, any positive solution to this system must be divisible by [, 5] = 0, and the number 0 happens to be a solution. Finally, the number c must satisfy c 0 (mod ), c 0 (mod 3), c (mod 5). That is, c must be a multiple of [, 3] = 6, and it happens that c = 6 satisfies all three congruences. Taking a = 5, b = 0, and c = 6, we get n = 5 3 0 5 6 = 30, 33, 088, 000, 000. This is the smallest such number because the three eponents we chose were all the least positive integers satisfying their respective criteria. 3. (Based on.3, problem 7) Let P be the set of pairs of twin primes greater than. That is, let P = {(3, 5), (5, 7), (, 3), (7, 9),...}. Let N be the set of positive integers n > 3 such that n has eactly four positive divisors. Prove that there is a one-to-one correspondence between P and N. Proof: For each pair (p, p + ) P, let Φ(p, p + ) = p +. Then if n = Φ(p, p + ), we have n = (p + ) = ((p + ) )((p + ) + ) = p(p + ), the product of two distinct primes. Thus there are eactly four positive divisors of n, namely,, p, p +, and p(p + ). To see that these divisors are all distinct, we need only point out that p > and > 0. Together these imply that < p < p + < p(p + ). Furthermore, since p 3, we have p + > 3. Therefore, n N. This shows that the range of Φ is a subset of N.

The map Φ is clearly one-to-one, because if Φ(p, p+) = Φ(q, q+), then p+ = q+, from which it follows that (p, p + ) = (q, q + ). The map Φ is also onto. Let n N. Write n = (n )(n + ). Since n > 3, we have n >. Multiply both sides by the positive integer n + to get This establishes that n > n +. < n < n + < n, so that these four integers are all distinct and positive. They are also all divisors of n, and since n N, they must be the only four positive divisors of n. It follows that n must be prime, for otherwise it would have a prime divisor p between and n, and then p would be a fifth positive divisor of n. Similarly, n + can have no proper divisors other than n, because any such divisor would be a fifth positive divisor of n. If (n ) (n + ) for positive n, we must have (n ) n +, from which it follows that n 3. But we know n > 3, so n cannot be a factor of n +, and thus n + is prime. We have shown that if n N, then n and n + are both primes, and since n > 3, we have n 3, so the pair (n, n + ) is an element of P. Finally, we have Φ(n, n + ) = n, and since n was an arbitrary element of N, we have shown that Φ is onto. Thus the map Φ is the desired one-to-one correspondence between P and N. 4. (Part of.3, problem 9.) Let a and b be positive integers such that (a, b) = and ab is a perfect square. Prove that a and b are perfect squares. Proof: By the Fundamental Theorem of Arithmetic, we may write a = p e p e p e k k b = p f p f p f k k

where p, p,... is the sequence of primes, and all eponents are zero once we get far enough out in the sequence. Since ab is a perfect square, we know that e i + f i is even for every i. Since (a, b) =, we know that, for each i, only one of e i and f i is non-zero. Now for each i, we have that e i + f i is even, and either e i = 0 (in which case f i must be even) or f i = 0 (in which case e i must be even). In either case, both e i and f i are even (the number 0 is even, despite the deeply-held beliefs of certain calculus students), and it follows that a and b are both perfect squares. 5. (.3, problem 3 also read problem 30 and the remarks following problem 3) Prove that no polynomial f() of degree greater than (or equal to) with integral coefficients can represent a prime for every positive integer. Proof: Write f() = a 0 + a + a + + a n n. Suppose f() is prime for every positive integer. Let p = f(). Then p is prime. Now let k be a positive integer, and consider f( + kp) = a 0 + a ( + kp) + a ( + kp) + + a n ( + kp) n. Note that for each, ( + kp) = + = + pn where N is the integer given by kp + (kp) + (kp) + (kp) N = k + k p + + k p + k p. Thus we may write f( + kp) = ( + pn 0 )a 0 + ( + pn )a + + ( + pn n )a n = a 0 + a + + a n + a 0 (pn 0 ) + a (pn ) + a (pn ) + + a n (pn n ) = f() + p(n 0 + N + + N n ).

In fact, since f() = p, we have so that p f( + kp) for all integers k 0. f( + kp) = p( + N 0 + N + + N n ) Now by hypothesis, f( + kp) is prime for every k 0, so it follows that f( + kp) = p for every k 0. Consider g() = f() p. Then g() is a polynomial and g( + kp) = 0 for every k 0. That is, g has infinitely many roots. So g must be identically 0. Thus f must be identically equal to p. But this contradicts the assumption that the degree of f is greater than or equal to. 6. (Part of.3, problem 53) Let π() denote the number of primes not eceeding. Show that p p = π() + du u where the sum is taken over all primes p less than or equal to. Proof: First we note that for a positive integer k >, { if k is prime π(k) π(k ) = 0 if k is composite. Net we observe that is constant in any interval [n, n) where n is an integer. Thus we get We write n n du = π(n ) u [ = π(n ) n n du u n n ]. 3 4 du = du + du + + u u 3 u [ = π() [ + π(3) 3] 3 + 4] [ +π( ) ] + π( ) du + du u u [ ],

where the factor π( ) comes out of the final integral because is constant on [, ). We collect multiples of each reciprocal /n to get u du = π() + 3 (π(3) π()) + (π(4) π(3)) + + 4 (π( ) π( )) π( ). Net we use the fact that π() = and π(n) π(n ) is if n is prime and 0 if n is composite to write du = u p p π( ) where the sum is taken only over the primes. Finally, we note that π( ) = π() and move the rightmost term to the left side of the equation to conclude that u du + π() = p p as required.