Number Theory and the abc Conjecture

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

8 Primes and Modular Arithmetic

Modular Arithmetic Instructor: Marizza Bailey Name:

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

An Algorithm for Prime Factorization

Integers and Division

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

My Favorite Problems, 2 Harold B. Reiter University of North Carolina Charlotte

Number Theory Notes Spring 2011

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

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

4 Powers of an Element; Cyclic Groups

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

1 Overview and revision

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

CHAPTER 3. Congruences. Congruence: definitions and properties

Math 131 notes. Jason Riedy. 6 October, Linear Diophantine equations : Likely delayed 6

Math 110 FOUNDATIONS OF THE REAL NUMBER SYSTEM FOR ELEMENTARY AND MIDDLE SCHOOL TEACHERS

MAT 243 Test 2 SOLUTIONS, FORM A

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

Mat Week 8. Week 8. gcd() Mat Bases. Integers & Computers. Linear Combos. Week 8. Induction Proofs. Fall 2013

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?

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

Student Responsibilities Week 8. Mat Section 3.6 Integers and Algorithms. Algorithm to Find gcd()

SMT 2013 Power Round Solutions February 2, 2013

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.

Fall 2017 Test II review problems

MAS114: Solutions to Exercises

The Euclidean Algorithm and Multiplicative Inverses

2301 Assignment 1 Due Friday 19th March, 2 pm

Algorithmic number theory. Questions/Complaints About Homework? The division algorithm. Division

Math 3012 Applied Combinatorics Lecture 4

CMPUT 403: Number Theory

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

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

Number Theory Proof Portfolio

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:

Applied Cryptography and Computer Security CSE 664 Spring 2017

Divisibility. Chapter Divisors and Residues

Chapter 2. Divisibility. 2.1 Common Divisors

Basic elements of number theory

Basic elements of number theory

3 - Induction and Recursion

The Fundamental Theorem of Arithmetic

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?

Algebra for error control codes

BmMT 2017 Individual Round Solutions November 19, 2017

Solution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = ,

MAS114: Exercises. October 26, 2018

Writing Assignment 2 Student Sample Questions

CPSC 467b: Cryptography and Computer Security

Some Facts from Number Theory

Homework #2 solutions Due: June 15, 2012

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

Notice how these numbers thin out pretty quickly. Yet we can find plenty of triples of numbers (a, b, c) such that a+b = c.

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru

Chapter 1. Greatest common divisor. 1.1 The division theorem. In the beginning, there are the natural numbers 0, 1, 2, 3, 4,...,

Putnam Pigeonhole Principle October 25, 2005

Section 4. Quantitative Aptitude

Number Theory Solutions Packet

#26: Number Theory, Part I: Divisibility

Ma/CS 6a Class 2: Congruences

Elementary Number Theory. Franz Luef

Elementary Properties of the Integers

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

Primes and Modular Arithmetic! CSCI 2824, Fall 2014!!

M381 Number Theory 2004 Page 1

Practice Number Theory Problems

Introduction to Number Theory. The study of the integers

Sums of Squares. Bianca Homberg and Minna Liu

Number Theory. Zachary Friggstad. Programming Club Meeting

Arithmetic and Algebra

NOTES ON INTEGERS. 1. Integers

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?

For your quiz in recitation this week, refer to these exercise generators:

Number Theory Marathon. Mario Ynocente Castro, National University of Engineering, Peru

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

11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic

The next sequence of lectures in on the topic of Arithmetic Algorithms. We shall build up to an understanding of the RSA public-key cryptosystem.

The Euclidean Algorithm

Lecture 4: Number theory

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

1. multiplication is commutative and associative;

A Readable Introduction to Real Mathematics

Factoring. there exists some 1 i < j l such that x i x j (mod p). (1) p gcd(x i x j, n).

Math 109 HW 9 Solutions

Chapter 5. Number Theory. 5.1 Base b representations

Summary: Divisibility and Factorization

Outline. Some Review: Divisors. Common Divisors. Primes and Factors. b divides a (or b is a divisor of a) if a = mb for some m

Outline. AIT 682: Network and Systems Security. GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation Discrete Logarithms

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

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

Math Circles Cryptography

NOTES ON SIMPLE NUMBER THEORY

Winter Camp 2009 Number Theory Tips and Tricks

Intermediate Math Circles February 29, 2012 Linear Diophantine Equations I

Beautiful Mathematics

Mathematics of Cryptography

2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.

Elementary Number Theory Review. Franz Luef

Transcription:

Number Theory is the study of integers. Common topics include prime numbers, divisors and multiples, modular arithmetic, and Diophantine equations (equations in which we re looking for integer solutions). Problems 1. A student at Harvard named Kevin Was counting his stones by 11 He messed up n times And instead counted 9 s And wound up at 2007 How many different values of n could make this limerick true? 2. On the planet Remulak, the Coneheads play Funball. In Funball, a team scores 6 points for a slurf and 11 points for a gromstar. (A team starts with 0 points, of course.) (a) What is the maximum number of points that cannot be scored? (b) How many positive integers are unattainable scores? (You don t need to list them all; you just need to count them.) (c) Let a and b be positive integers such that all but 2009 positive integers are expressible in the form ma + nb, where m and n are nonnegative integers. If 1776 is one of the numbers that is not expressible, find a + b. (From the USA Mathematical Talent Search) 3. The Euclidean Algorithm is used to compute the greatest common divisor of two positive integers. The key step uses the fact that if m n are positive integers, then gcd(m, n) = gcd(m n, n). The algorithm repeatedly applies the above step until the smaller number is 0, then uses the fact that gcd(n, 0) = n. The fast version is to replace gcd(m, n) with gcd(n, r), where r is the remainder when dividing m by n. (a) Find an integer pair (x, y) that is a solution to the equation 35x + 22y = 1. (b) Find a positive multiple of 31 that ends in the digits 174. (c) What is the smallest value of n such that there is some m < n so that the fast version of Euclidean algorithm to compute gcd(m, n) takes at least 10 steps? 4. At a conference, n mathematicians sit around a circular table with n seats numbered 1, 2, 3,..., n in clockwise order. They all get up to go on a coffee break, and then all sit back down again. One of the mathematicians notes that there is a positive number a such that: (i) for each k, the mathematician who was seated in seat k before the break is now seated in seat ka (where set i + n is the same as seat i), and (ii) for every pair of mathematicians, the number of other mathematicians sitting between them (in either direction) after the break is different from the number of other mathematicians that had been sitting between them (in either direction) before the break. For what values of n is this possible? (From the 2012 AIME contest)

Wizards Two wizards get on a bus. First wizard: I have a positive number of children, each of which is a positive number of years old. The sum of their ages is the number of this bus and the product of their ages is my age. Second wizard: Perhaps if you told me your age and the number of children, I could work out their individual ages. First wizard: No, you could not. Second wizard: Now I know your age. What is the number of the bus? (Note: wizards can have any number of children and can be any positive integer years old.) (From John Conway, via Paul Zeitz) The abc Conjecture The abc conjecture (which is formally known as the Oesterlé-Masser conjecture) involves the really simple equation a + b = c. It turns out that it is relatively rare to have a solution to this equation such that no two of a,b,c have a common prime factor and where c is greater than the product of all the distinct primes that occur in a, b, and c. (Can you find an example of this?) Now let s get technical. The conjecture says that for any ɛ > 0 that we choose, there are only finitely many solutions to a + b = c such that no two of a, b, c have a common prime factor and where c > rad(abc) 1+ɛ, where rad(abc) is the product of the prime factors of a, b, and c. Question: what does this really mean? The exciting news is that in August 2012, Shinichi Mochizuki of Kyoto University in Japan announced that he had a proof of the abc conjecture. It is about 500 pages long and has not yet been independently verified. If the proof is verified and the conjecture is true, it would prove a large number of previously unsolved problems in number theory. Closing fun fact What is the probability that two randomly chosen positive integers are relatively prime?

Solutions 1. We re trying to count the number of solutions in positive integers to 11m + 9n = 2007. One obvious solution is (m, n) = (0, 223). Then we note that we can get all other solutions by trading 11 n s for 9 m s. (One way to see that this is all possible solutions is that m must be a multiple of 9 because the other two terms are.) So n = 223, 212, 201,... all the way down to (m, n) = (180, 3). There are 21 solutions. 2. (a) One way to explore this problem is to make a chart: 0 11 22 33 44 55 66 1 12 23 34 45 56 67 2 13 24 35 46 57 68. 10 21 32 43 54 65 76 In each row, we can make all the numbers starting with the smallest positive multiple of 6. Every row has a multiple of 6 that is 60 or less. We then see that 49 is the smallest unattainable number. (b) More systematic is to prove the Chicken McNugget Theorem: if a and b are the point values, and gcd(a, b) = 1, then every number that is at least N = (a 1)(b 1) can be obtained, and if x and y are smaller than N such that x + y = N 1, then exactly one of x or y can be obtained. Proof: Let a > b. Then {0, b, 2b,..., (a 1)b} span the residue classes mod a. Looking at a grid similar to the one above, we see that (a 1)b a = ab a b is the largest number unattainable, so all numbers at least ab a b + 1 = (a 1)(b 1) are attainable. For the second half of the theorem, x and y are in opposite residue classes mod a, so they mirror each other in the grid. In this particular problem, exactly half of 0, 1,..., 49 are unattainable, so there are 25 unattainable scores. (c) All but 2009 positive integers being attainable tells us that (a 1)(b 1) = 4018, since half of the integers below 4018 are unattainable (and we must have gcd(a, b) = 1, otherwise infinitely many integers would be unattainable). But 4018 = 2 7 2 41, so the factorizations to consider are (assuming without loss of generality that a > b): or (a 1, b 1) = (1, 4018), (2, 2009), (7, 574), (14, 287), (41, 98), (49, 82), (a, b) = (2, 4019), (3, 2010), (8, 575), (15, 288), (42, 99), (50, 83). The first three give trivial ways to write 1776 (as a multiple of 2, 3, or 8). We can also rule out (15, 288) and (42, 99) because they re not relatively prime. So the answer must be (50, 83), giving a sum of 133. Indeed, 2241 = 27 83, so since 1776 + 2241 = 4017 and 2241 is attainable, we know that 1776 is not attainable. 3. (a) We do the Euclidean algorithm: gcd(35, 22) = gcd(13, 22) = gcd(13, 9) = gcd(4, 9) = gcd(4, 5) = gcd(4, 1) = 1.

We do the same steps with the equation: Then we work backward: 1 = (1)9 + ( 2)4 35 = 22 + 13, 22 = 13 + 9, 13 = 9 + 4, 9 = 2 4 + 1. = (1)9 + ( 2)(13 9) = (3)9 + ( 2)13 = (3)(22 13) + ( 2)13 = (3)22 + ( 5)13 = (3)22 + ( 5)(35 22) = ( 5)35 + (8)22. (b) One way is to solve the equation 31n + 1000m = 1, which will mean that 31n ends in the digits 001, and then multiply by 174. This is again a job for the Euclidean Algorithm: giving 1000 = (32)31 + 8, 31 = 3(8) + 7, 1 = (1)8 + ( 1)7 8 = 1(7) + 1, = (1)8 + ( 1)(31 3(8)) = ( 1)31 + (4)8 = ( 1)31 + 4(1000 (32)(31)) = (4)1000 + ( 129)31. Uh-oh, that s negative. No problem: we can add 1000 to the coefficient of 31 as long as we subtract 31 from the coefficient of 1000. Thus 1 = ( 27)(1000) + (871)(31). So (871)(31) ends in 001, and hence (174)(871)(31) = 4698174 ends in 174. (c) We can make a chart of the number of steps it takes to compute gcd(m, n) for m n: 1 2 3 4 5 6 7 8 9 1 1 2 1 1 3 1 2 1 4 1 1 2 1 5 1 2 3 2 1 6 1 1 1 2 2 1 7 1 2 2 3 3 2 1 8 1 1 3 1 4 2 2 1 9 1 2 1 2 3 2 3 2 1 The conjecture is that gcd(m, n) steps up at the Fibonacci numbers. This can be proved by an induction argument. Thus gcd(89, 144) is the smallest example that takes 10 steps.

4. Some experimentation might show that 5 is the smallest case that works. The requirement in (ii) for n = 5 just means that people sitting next to each other before must not be next to each other after,r and vice versa. This works using a = 2: We can also get it to work for n = 7. (1, 2, 3, 4, 5) (2, 4, 1, 3, 5) Condition (i) holds if and only if a is relatively prime to n. Condition (ii) means we must have ak aj ±(k j) (mod n). This means that (a ± 1)(k j) (k j) (mod n), so a 1 and a + 1 must also be relatively prime to n. Thus n works if and only if there exist three consecutive positive integers less than n that are all relatively prime to n. (Hence 5 works since 2, 3, 4 fit the bill.) This rules out n even or n a multiple of 3. But all other n work with a = 3. So it works if and only if n is not a multiple of 2 or 3. Wizards Solution We know that given the number of children and the sum and product of the ages, the second wizard could not figure out the individual ages. Call a number n unsolvable if there are two sets of an equal number of numbers with sum n that also have the same product. In particular, the number of the bus is unsolvable. Note also that if n is unsolvable, then so is n + 1, because we can just add the number 1 to the two sets for n to get two sets for n + 1 with the same sum and product. So once a number is unsolvable, all higher numbers are unsolvable too. 12 is unsolvable since 1 + 3 + 4 + 4 = 2 + 2 + 2 + 6 and both sets have product 48. We can exhaustively check that every set of the same number of numbers that sum to 11 give a different product. On the other hand, 13 is unsolvable with two different products: 1 + 6 + 6 = 2 + 2 + 9 each have product 36, and 1 + 1 + 3 + 4 + 4 = 1 + 2 + 2 + 2 + 6 each have product 48, and adding 1 s to this means that every number greater than or equal to 13 is also unsolvable with at least two different products. By the second wizard s second statement, the bus number is not insolvable with multiple products, since he could figure out the product. Thus the bus number must be 12 (and the first wizard s age is 48, and he has 4 kids). Closing fun fact answer The two integers a and b must not both be multiples of p for all primes p. For any individual p, this occurs with probability 1 1 p 2, so the overall probability is Here ζ(2) = 1 + 1 4 + 1 9 + 1 16 + 1 25 +. (1 1p ) 2 p = 1 ζ(2) = 6 π 2.