NORTHWESTERN UNIVERSITY Tuesday, Oct 6th, 2015 ANSWERS FALL 2015 NU PUTNAM SELECTION TEST

Similar documents

PROBLEMS ON CONGRUENCES AND DIVISIBILITY

MATH 215 Final. M4. For all a, b in Z, a b = b a.

Algorithms (II) Yu Yu. Shanghai Jiaotong University

NORTHWESTERN UNIVERSITY Thrusday, Oct 6th, 2011 ANSWERS FALL 2011 NU PUTNAM SELECTION TEST

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

12 1 = = 1

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

Selected problems from past exams and a few additional problems

State High School Mathematics Tournament

Numbers and their divisors

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

CSC 125 :: Final Exam December 14, 2011

If something is repeated, look for what stays unchanged!

Relations. Binary Relation. Let A and B be sets. A (binary) relation from A to B is a subset of A B. Notation. Let R A B be a relation from A to B.

Computer Architecture 10. Residue Number Systems

HMMT February 2018 February 10, 2018

Math 416 Lecture 3. The average or mean or expected value of x 1, x 2, x 3,..., x n is

FERMAT S TEST KEITH CONRAD

Ch 7 Summary - POLYNOMIAL FUNCTIONS

Topics in Computer Mathematics

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

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

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

2007 Marywood Mathematics Contest

Math Day at the Beach 2016

2016 AMC 12/AHSME. 3 The remainder can be defined for all real numbers x and y with y 0 by. x rem(x,y) = x y y

Organization Team Team ID#

Algebra 1 End of Course Review

CHAPTER 3. Congruences. Congruence: definitions and properties

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?

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 =

2018 Best Student Exam Solutions Texas A&M High School Students Contest October 20, 2018

(C) 2013! (C) 65 6 (D) 5 12 (E) 1 2

14 th Annual Harvard-MIT Mathematics Tournament Saturday 12 February 2011

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

MAT Mathematics in Today's World

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

Grades 7 & 8, Math Circles 24/25/26 October, Probability

More AMC 8 Problems. Dr. Titu Andreescu. November 9, 2013

The Basics: Twenty-Seven Problems

Math 109 HW 9 Solutions

Objective - To understand experimental probability

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes

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

STA 247 Solutions to Assignment #1

MTH 346: The Chinese Remainder Theorem

The University of Melbourne Department of Mathematics and Statistics School Mathematics Competition, 2016 INTERMEDIATE DIVISION: SOLUTIONS

a = mq + r where 0 r m 1.

Fermat s Little Theorem. Fermat s little theorem is a statement about primes that nearly characterizes them.

Name: Firas Rassoul-Agha

Discrete Math, Fourteenth Problem Set (July 18)

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

OLYMON. Produced by the Canadian Mathematical Society and the Department of Mathematics of the University of Toronto. Issue 10:3.

Algorithms. Shanks square forms algorithm Williams p+1 Quadratic Sieve Dixon s Random Squares Algorithm

Homework #2 solutions Due: June 15, 2012

MATH Dr. Halimah Alshehri Dr. Halimah Alshehri

First Digit Tally Marks Final Count

3 The fundamentals: Algorithms, the integers, and matrices

Hypothesis Tests Solutions COR1-GB.1305 Statistics and Data Analysis

3. The equation ( p 2) x = x has a solution x = 2. It has one more positive solution. What is it?

The Chinese Remainder Theorem

JMM 2019 MATH WRANGLE SOLUTIONS

Mathematics of Cryptography

Notes on Systems of Linear Congruences

THE SOLOVAY STRASSEN TEST

Johns Hopkins Math Tournament 2018 Proof Round: Sequences

Theoretical Probability (pp. 1 of 6)

After that, we will introduce more ideas from Chapter 5: Number Theory. Your quiz in recitation tomorrow will involve writing proofs like those.

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

Instructor: Bobby Kleinberg Lecture Notes, 25 April The Miller-Rabin Randomized Primality Test

Maths Book Part 1. By Abhishek Jain

Combinatorial Analysis

2. Linda paid $38 for a jacket that was on sale for 25% of the original price. What was the original price of the jacket?

Joe Holbrook Memorial Math Competition

CMSC Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005

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

COS 341: Discrete Mathematics

NUMBER THEORY AND CODES. Álvaro Pelayo WUSTL

Lecture Notes. Advanced Discrete Structures COT S

Individual Round CHMMC November 20, 2016

NAME (1 pt): TA (1 pt): Name of Neighbor to your left (1 pt): Name of Neighbor to your right (1 pt):

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

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

Stochastic Models of Manufacturing Systems

Intermediate Math Circles November 8, 2017 Probability II

BOARD QUESTION PAPER : JULY 2017 ALGEBRA

B.N.Bandodkar College of Science, Thane. Random-Number Generation. Mrs M.J.Gholba

Algorithms and Networking for Computer Games

Ciphering MU ALPHA THETA STATE 2008 ROUND

Carleton University. Final Examination Winter DURATION: 2 HOURS No. of students: 152

Solutions to Assignment 1

Theory of Numbers Problems

CSE 20 DISCRETE MATH. Winter

Chapter 1 Linear Equations. 1.1 Systems of Linear Equations

1 Probability Review. CS 124 Section #8 Hashing, Skip Lists 3/20/17. Expectation (weighted average): the expectation of a random quantity X is:

OBTAINING SQUARES FROM THE PRODUCTS OF NON-SQUARE INTEGERS

cse 311: foundations of computing Fall 2015 Lecture 12: Primes, GCD, applications

Lecture 6: The Pigeonhole Principle and Probability Spaces

Transcription:

Problem A1. Show that log(1 + x) > x/(1 + x) for all x > 0. - Answer: We have that (log x) = 1/(1+x), and (x/(1+x)) = 1/(1+x) 2. Since 1/(1+x) > 1/(1 + x) 2 for x > 0, the function log x grows faster than 1/(1 + x) in (0, ). Since both functions take the same value 1 at x = 0, we get log x > x/(1 + x) for x > 0, QED.

1+a Problem A2. Define the sequence a 0 = 0, a n+1 = n for n 0. Find 2 S = arccos a n. n=0 (Note: y = arccos x y [0, π] and cos y = x.) - Answer: The answer is π. Proof: Define α n = arccos a n. Then α 0 = arccos 0 = π, and cos α 2 n+1 = hence α n+1 = αn, and the sum is 2 S = π 2 + π 4 + π 8 + π 16 + = π. 1+cos α n 2 = cos αn 2,

Problem A3. Let r be a real number in the interval [0, 1). Find the sum ( 1) 2k r S =, 2 k where x = integer part of x = greatest integer less that or equal to x. - Answer: The answer is S = 1 2r. Proof: Consider the binary representation of r: r = a k i=1, where each a 2 k i is 0 or 1. Then 2 k x = a k, and ( 1) 2kx = ( 1) a k = 1 2ak, hence: S = 1 2a k 2 k = 1 2 2 a k k 2 = 1 2r. k

Problem A4. One hundred passengers board a plane with exactly 100 seats. The first passenger takes a seat at random. The second passenger takes his own seat if it is available, otherwise he takes at random a seat among the available ones. The third passenger takes his own seat if it is available, otherwise he takes at random a seat among the available ones. This process continues until all the 100 passengers have boarded the plane. What is the probability that the last passenger takes his own seat? - Answer: The answer is 1/2. Assume passenger n is assigned seat number n, so the first passenger is assigned seat number 1, and the last passenger is assigned seat number 100. As long as seats number 1 and 100 remain unoccupied, each time a passenger picks a seat at random (either because he/she is the first passenger, or because he/she found his/her seat occupied), three possible things may happen: (1) The passenger picks seat number 1, and from there on everybody else seats in their assigned seat, including the last passenger. (2) The passenger picks seat number 100, and the last passenger will find his seat occupied. (3) The passenger picks some other seat besides 1 and 100, and the question of whether the last passenger will find his seat available remains open. As soon as (1) or (2) happens the question of whether the last passenger will take his own seat is settled, in the positive if (1) happens, and in the negative if (2) happens. Since both possibilities have the same chances, the probability of each is 1/2.

Problem A5. Prove that the following divisibility criteria by 61 actually works. Divisibility by 61: Let n be a positive integer. Let d be the rightmost digit of n (in decimal notation), and let n be the number obtained by removing from n its rightmost digit (if n has only one digit then n = 0). Replace n with n 6d. Repeat those steps while the result is still a positive integer. If the process ends in zero then the original number is divisible by 61, otherwise it is not. Example for n = 21045: 2104 6 5 = 2074, 207 6 4 = 183, 18 6 3 = 0. Hence 21045 is divisible by 61. - Answer: We have that 6 10 = 60 1 (mod 61), hence if we write n = 10n + d with 0 d < 10 we have 6n = 60n + 6d 6d n (mod 61). Since 61 is a prime number not dividing 6, n is divisible by 61 if and only if 6n is divisible by 61, or equivalently, 6n 0 (mod 61), which is also equivalent to n 6d 0 (mod 61). Hence n is divisible by 61 if and only if n 6d is divisible by 61. On the other hand n 6d < n, hence the process will yield a decreasing sequence of positive numbers and can be continued only for a finite number of steps, until reaching either zero or a negative number. Now we distinguish two cases. - Case 1: If the final step yields zero then all the elements of the sequence are congruent with zero modulo 61, and they are divisible by 61, including the original number. - Case 2: Otherwise we will have a final step in which n = 10n + d > 0, n 0, 0 d < 10, and n 6d < 0. Since 0 d 9 we have 0 6d 54, hence 54 n 6d < 0, which implies n 6d (mod 61), and the elements of the sequence are not divisible by 61.

Problem A6. Flip a fair coin until heads turns out twice consecutively. expected number of flips? What is the - Answer: Let e be the expected number of flips until getting two heads in a row. Start flipping the coin. If we get a tail with the first flip (probability 1/2) then the expected number of flips will be now e + 1. If we get head, then tail (probability 1/4) then the expected number of flips will become e + 2. If the first two flips yield heads (probability 1/4) then the number of flips will be 2. Hence: and solving for e we get e = 6. e = 1 2 (e + 1) + 1 4 (e + 2) + 1 4 2 = 3 4 e + 3 2,