that if a b (mod m) and c d (mod m), then ac bd (mod m) soyou aren't allowed to use this fact!) A5. (a) Show that a perfect square must leave a remain

Similar documents
Solutions to Practice Final

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

1. multiplication is commutative and associative;

Introduction: Pythagorean Triplets

Commutative Rings and Fields

Winter Camp 2009 Number Theory Tips and Tricks

Modular Arithmetic Instructor: Marizza Bailey Name:

Homework 7 solutions M328K by Mark Lindberg/Marie-Amelie Lawn

Grade 11/12 Math Circles Rational Points on an Elliptic Curves Dr. Carmen Bruni November 11, Lest We Forget

MATH 25 CLASS 21 NOTES, NOV Contents. 2. Subgroups 2 3. Isomorphisms 4

Cool Results on Primes

Grade 11/12 Math Circles Congruent Number Problem Dr. Carmen Bruni October 28, 2015

Basic elements of number theory

Basic elements of number theory

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

Chapter 5. Number Theory. 5.1 Base b representations

Contest Number Theory

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

Introduction to Number Theory

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

MATH 310: Homework 7

MATH 361: NUMBER THEORY FOURTH LECTURE

Lecture Notes. Advanced Discrete Structures COT S

, p 1 < p 2 < < p l primes.

Number Theory in Problem Solving. Konrad Pilch

Table of Contents. 2013, Pearson Education, Inc.

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

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

MATH Fundamental Concepts of Algebra

Direct Proof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Direct Proof Fall / 24

Notes: Pythagorean Triples

PYTHAGOREAN TRIPLES KEITH CONRAD

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

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

Outline. MSRI-UP 2009 Coding Theory Seminar, Week 2. The definition. Link to polynomials

Congruent Number Problem and Elliptic curves

Projective space. There are some situations when this approach seems to break down; for example with an equation like f(x; y) =y 2 (x 3 5x +3) the lin

PUTNAM PROBLEM SOLVING SEMINAR WEEK 7 This is the last meeting before the Putnam. The Rules. These are way too many problems to consider. Just pick a

THE P-ADIC NUMBERS AND FINITE FIELD EXTENSIONS OF Q p

2. Two binary operations (addition, denoted + and multiplication, denoted

NOTES ON FINITE FIELDS

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

Math Circle at FAU 10/27/2018 SOLUTIONS

Recitation 7: Existence Proofs and Mathematical Induction

MATH CSE20 Homework 5 Due Monday November 4

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

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

Chuck Garner, Ph.D. May 25, 2009 / Georgia ARML Practice

= 9 = x + 8 = = -5x 19. For today: 2.5 (Review) and. 4.4a (also review) Objectives:

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

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

Solutions to Practice Final 3

CONGRUENT NUMBERS AND ELLIPTIC CURVES

PREPARATION NOTES FOR NUMBER THEORY PRACTICE WED. OCT. 3,2012

MATH 115, SUMMER 2012 LECTURE 4 THURSDAY, JUNE 21ST

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

4 Powers of an Element; Cyclic Groups

0 Sets and Induction. Sets

Math 109 HW 9 Solutions

Lecture 2. The Euclidean Algorithm and Numbers in Other Bases

CONGRUENT NUMBERS AND ELLIPTIC CURVES

Lecture 11 - Basic Number Theory.

Main topics for the First Midterm Exam

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

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

THE CONGRUENT NUMBER PROBLEM

Section 1.4 Solving Other Types of Equations

Fermat s Last Theorem for Regular Primes

Number Theory. Final Exam from Spring Solutions

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

7.2 Applications of Euler s and Fermat s Theorem.

Solutions to Assignment 1

Part IA Numbers and Sets

Lecture 10 - MAC s continued, hash & MAC

Theory of Numbers Problems

Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2

MATH 115, SUMMER 2012 LECTURE 12

Lecture 4: Constructing the Integers, Rationals and Reals

What is proof? Lesson 1

Quick-and-Easy Factoring. of lower degree; several processes are available to fi nd factors.

Checkpoint Questions Due Monday, October 1 at 2:15 PM Remaining Questions Due Friday, October 5 at 2:15 PM

One-to-one functions and onto functions

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?

4 PRIMITIVE ROOTS Order and Primitive Roots The Index Existence of primitive roots for prime modulus...

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

MATH 145 Algebra, Solutions to Assignment 4

MATH 2200 Final Review

MATH 25 CLASS 12 NOTES, OCT Contents 1. Simultaneous linear congruences 1 2. Simultaneous linear congruences 2

Elementary Number Theory MARUCO. Summer, 2018

PMA225 Practice Exam questions and solutions Victor P. Snaith

EXAMPLES OF MORDELL S EQUATION

M381 Number Theory 2004 Page 1

Note-Taking Guides. How to use these documents for success

Beautiful Mathematics

Topic Contents. Factoring Methods. Unit 3: Factoring Methods. Finding the square root of a number

Fall 2017 Test II review problems

Discrete Math, Second Problem Set (June 24)

LESSON 7.1 FACTORING POLYNOMIALS I

22. The Quadratic Sieve and Elliptic Curves. 22.a The Quadratic Sieve

1 Recommended Reading 1. 2 Public Key/Private Key Cryptography Overview RSA Algorithm... 2

Transcription:

PUTNAM PROBLEM SOLVING SEMINAR WEEK 2 The Rules. You are not allowed to try a problem that you already know how to solve. These are way too many problems to consider. Just pick a few problems in one of the sections and play around with them. The Hints. Try small cases. Do examples. Look for patterns. Draw pictures. Use lots of paper. Talk it over. Choose effective notation. Look for symmetry. Divide into cases. Work backward. Argue by contradiction. Consider extreme cases. Eat pizza. Modify the problem. Generalize. Don't give up after five minutes. Don't be afraid of a little algebra. Sleep on it if need be. And ask!! If the problem has a 2001 in it, what happens if you replace 2001 by 1, or 2,or 3? What's important about 2001 is it that it is odd, or divisible by 3, etc.? Useful facts, in a nutshell. Mod. Unique factorization. s and t are relatively prime if and only if you can find a and b such that as + bt =1. Fermat's Little Theorem a p a (mod p). A7(b) and (c) below. Wilson's Theorem (p 1)! 1 (mod p). The Chinese Remainder Theorem: solving a bunch of equations modulo n is the same as solving it modulo its prime power factors, e.g. x 17 (mod 100) is the same as x 17 (mod 4) and x 17 (mod 25). More serious stuff: If gcd(a; n) = 1, then a ffi(n) 1 (mod n), where ffi(n) is Euler's ffi-function it is the number of integers between 1 and n that are relatively prime to n. ffi(n) = n(1 1=p 1 )(1 1=p 2 ) (1 1=p k ) where p 1, :::, p k are the prime factors of n. Hensel's Lemma: roughly, the reason you know you can solve x 2 2 (mod 3 n ) for all n. Primitive roots of n: generators of the group (Z=nZ) Λ (e.g. show that 2 is a primitive root (mod 3 n ) for all n). The Problems. The first problems relate to the introductory number theory mini-lecture. A1. (a) Find integers x and y such that 754x + 221y = gcd(754; 221). (b) Prove that (a + b)=(c + d) is irreducible if ad bc =1. (c) Prove that the fraction (21n +4)=(14n + 3) is irreducible for every natural number n. A2. (a) If gcd(a; b) = 1, prove that gcd(a b; a+b)» 2, (b) gcd(a b; a+b; ab) = 1, (c) gcd(a 2 ab + b 2 ;a+ b)» 3. A3. (a) Prove that some positive multiple of 21 has 241 as its final three digits. (b) What are the last two digits of 3 1234? A4. Suppose a, b, c, d, and m are integers, and m 6= 0. If (a b)=m and (c d)=m are integers, show that (ac bd)=m is also an integer. (This is the proof Date: October 16, 2001. 1

that if a b (mod m) and c d (mod m), then ac bd (mod m) soyou aren't allowed to use this fact!) A5. (a) Show that a perfect square must leave a remainder of 0, 1, or 4 upon division by 8. Show that it can't leave a remainder of 2 upon division by 3. (b) Find all pairs of integers x and y such that x 2 + y 2 = 1999. With a minimum of effort, find all pairs of integers x and y such that x 2 + y 2 = 1000. (Remarkable fact: A positive integer n can be represented as the sum of two squares only if all primes that are 3 modulo 4 appear to even power in its prime factorization. A positive integer can be represented as the sum of three squares unless it is of the form 4 a (8b 1). All positiveintegers can be represented as the sum of four squares.) A6. (a) Show that 1000! ends with 249 zeros. (b) (A useful fact!) Show that the highest power of p dividing n!is[n=p]+[n=p 2 ]+ [n=p 3 ]+, where [ ] is the greatest integer function". (Just ask if you don't know what that means.) (c) (Same useful fact!) Suppose the sum of the digits of n when written in base p is n p. Show that the highest power of p dividing n! is(n n p )=(p 1). A7. Find all functions f which satisfy the three conditions (i) f(x; x) =x, (ii) f(x; y) =f(y; x), (iii) f(x; y) =f(x; x + y), assuming that the variables and the values of f are positive integers. A8. The measure of a given angle is 180=n degrees, where n is a positive integer not divisible by 3. Prove that the angle can be trisected by Euclidean means (straightedge and compass). Primitive Pythagorean Triples A primitive Pythagorean triple is an ordered triple of positive integers (a; b; c), pairwise relatively prime, that are the sides of a right-angled triangle, i.e. a 2 + b 2 = c 2. Familiar examples are (3,4,5), (5,12,13), (7,24,25), and (8,15,17). B1. If (a,b,c) is a primitive Pythagorean triple, show that exactly one of fa; bg is odd. (Hint: check modulo 4.) Without loss of generality, say a is odd. B2. Then a 2 = c 2 b 2 = (c b)(c + b). Show that c b and c + b have no common factor. B3. Show that two relatively prime numbers multiplying to a perfect square must both be perfect squares. In the previous problem, show that c b and c + b can be taken to be (m + n) 2 and (m n) 2 respectively, where m and n are positive integers, m > n, and exactly one of m and n is even. (Remember that we're assuming a is odd!) 2

B4. In the previous problem, show that m and n are relatively prime. (Hint: If they have a common factor d, show that d is a factor of both b and c, which are relatively prime.) B5. Solve for b and c to get b =2mn, c = m 2 +n 2. Then show that a = m 2 n 2. In conclusion, any primitive Pythagorean triple is of the form (a; b; c) =(m 2 n 2 ; 2mn; m 2 + n 2 ) or (2mn; m 2 n 2 ;m 2 + n 2 ), where m and n are relatively prime positive integers, one of which iseven, with m>n. (Plug in small values of m and n what do you get?) With this result, you can now do lots of interesting things involving Pythagorean triples. For example: B6. Plug in some large values of m and n to get ridiculously huge Pythagorean triples. B7. Show that any Pythagorean triple (a; b; c) can be written as a multiple k of a primitive Pythagorean triple. B8. 312 2 + 459 2 = 555 2. Which k, m, and n give this triple? B9. (a) How many Pythagorean triangles are there with hypotenuse 60? (b) Show that the product of the sides of a right angled triangle with integer sides is always divisible by 60. B10. Suppose (a; b; c) is a primitive Pythagorean triple, and a is odd. Show that c a, c + b, and c b are all perfect squares., c+a 2 2 B11. Try breaking the rules" and substituting m = cos, n = sin in the formula for primitive Pythagorean triples. What formula do you get? (Remember the double angle formulas: cos 2 = cos 2 sin 2 and sin 2 = 2 sin cos.) B12. Find a right triangle with rational sides and area 5. (Hint: try to scale well-known Pythagorean triples.) One such triangle was discovered by Fibonacci, among others. In fact, 5 is the smallest integer which is the area of a right triangle with rational sides. (Serious math fact: It's a classical unsolved problem to determine all of the integers which are areas of right triangles with rational sides. In 1983, it was shown that a solution to one of the most important conjectures in number theory, the Birch-Swinnerton-Dyer conjecture, would give a solution to this problem as well. If you solve the BSD conjecture, you'll win a million dollars see http://www.claymath.org/prizeproblems/birchsd.htm, or the link on the Stanford Putnam webpage.) B13. Fermat's Last Theorem! (In some cases...) Show that there are no solutions to the equation k 2000 + l 2000 = m 2000 where k, l, and m are positive integers, as follows. 3

(a) Show that if there is a solution, then there is a solution where k, l, and m are pairwise relatively prime. (b) Show that if there is a solution, then there is a solution of (1) x 4 + y 4 = z 2 where x, y, and z are pairwise relatively prime positive integers. (c) (This is the big one!) Assume there is a solution (x; y; z) =(a; b; c) to equation (1). Then (a 2 ;b 2 ;c) is a primitive Pythagorean triple, so you can use what you know about such triples. Play around with the algebra. (Another primitive Pythagorean triple may come up.) You will hopefully end up with another solution to equation (1) that is in some sense smaller than the solution (x; y; z) =(a; b; c). (Make that precise.) Then the argument by contradiction will go as follows: suppose (x; y; z) is the smallest" solution of equation (1). Then this method produces a smaller solution contradiction. (d) Hence prove a quarter of the cases of Fermat's Last Theorem (when n is divisible by 4). The rest of the problems all appeared on the Putnam. Don't be intimidated many are quite gettable! C1. A composite (positive integer) is a product ab with a and b not necessarily distinct integers in f2; 3; 4;:::g. Show that every composite is expressible as xy + xz + yz + 1, with x, y, and z positive integers. C2. How many primes among the positive integers, written as usual in base 10, are such that their digits are alternating 1's and 0's, beginning and ending with 1? C3. Let k be the smallest positive integer with the following property: There are distinct integers m 1, m 2, m 3, m 4, m 5 such that the polynomial p(x) =(x m 1 )(x m 2 )(x m 3 )(x m 4 )(x m 5 ) has exactly k nonzero coefficients. Find, with proof, a set of integers m 1, m 2, m 3, m 4, m 5 for which this minimum k is achieved. C4. For any integer a, set n a = 101a 100 2 a : Show that for 0» a; b; c; d» 99, n a + n b n c + n d (mod 10100) implies fa; bg = fc; dg. C5. Let consist of all polynomials in x with integer coefficients. For f and g in and m a positive integer, let f g (mod m) mean that every coefficient of f g is an integral multiple of m. Let n and p be positive integers with p prime. Given that f, g, h, r, and s are in with rf +sg 1 (mod p) and fg h (mod p), prove that there exist F and G in with F f (mod p), G g (mod p), and FG h (mod p n ). 4

C6. Let A 1 = 0 and A 2 =1. For n>2, the number A n is defined by concatenating the decimal expansions of A n 1 and A n 2 from left to right. For example A 3 = A 2 A 1 = 10, A 4 = A 3 A 2 = 101, A 5 = A 4 A 3 = 10110, and so forth. Determine all n such that 11 divides A n. C7. Let p be an odd prime and let F p denote (the field of) integers modulo p. How many elements are in the set fx 2 : x 2 F p g fy 2 +1:y 2 F p g? Some comments left over from last week. Last week, I asked: The latest calculator has a button, which when pressed, replaces a number x by x +1=x. You type in some positive number, and then start pressing the button repeatedly. What happens? Prove it! The problem, as several people pointed out, should have had 1+1=x instead. Many people showed that if a limit exists, then it is the golden mean fi = 1+p 5, which is approximately 1.618. But few people could actually 2 prove it. Here are two approaches. (If you are reading this, ask me it is easier to explain in person than on the printed page.) First of all, you could show that x +1=x is closer to fi than x was. This isn't enough; for example, the sequence 1, 1 + 1,1+ 1 + 1 2 2 4,1+1+ 1 + 1, ::: gets closer 2 4 8 and closer to 3, but its limit is 2. So instead, you could show that x+1=x is r times closer to fi than x was, where r<:9. Do you see why that helps? And in fact you could replace :9 byanynumber less than 1. (Caution: the number you pick can't depend on x doyou see why, using the 3" example? Also, r can't be 1 do you see why, using the same example?) Second, you could use the following important fact: If x 1, x 2, ::: is an increasing sequence of reals, bounded aboveby some number M, then the sequence approaches a limit. Once you know that the sequence has a limit, you're home free, by the comments above. (This sounds like a hard theorem, but I prefer to see it as one of the definitions of the real numbers. In fact, I'm betting that most of you think you know what the real numbers are, but aren't really sure this is the result of brainwashing in the school system. It's useful brainwashing to be sure: most people don't need to know what real numbers are; they just need to think they know. As an example of this confusion, try to sort out if :999::: =1. A better way to think of real numbers is axiomatically. For example, first describe the rules of addition and multiplication, which you can do in six axioms. Then add axioms describing the idea of magnitude; this requires three more. Finally, the tenth and sometimes most mysterious axiom is just the fact above: if x 1, x 2, ::: is an increasing sequence of reals, bounded above by some number M, then the sequence approaches a limit. From this you can show that the real numbers behave the way you think they do. If you want to here more about this story, just ask me.) To see how happy you are with these ideas, you can try the following Putnam problem: 5

C8. For any pair (x; y) of real numbers, a sequence (a n (x; y)) n 0 is defined as follows: a 0 (x; y) = x; a n+1 (x; y) = (a n(x; y)) 2 + y 2 ; for n 0: 2 Find the area of the region f(x; y)j(a n (x; y)) n 0 convergesg. This handout, and other useful things, can (soon) be found at http://math.stanford.edu/~vakil/stanfordputnam.html 6