Assignment 1, due Monday September 19, 2005

Size: px
Start display at page:

Download "Assignment 1, due Monday September 19, 2005"

Transcription

1 Assignment 1, due Monday September 19, 2005 Problem 1. Four people are being pursued by a menacing beast. It is nighttime, and they need to cross a bridge to reach safety. It is pitch black, and only two can cross at once. They need to carry a lamp to light their way. The first person can cross the bridge in no less than 10 minutes, the second in 5 minutes, the third in 2 minutes, and the fourth in 1 minute. If two cross together, the couple is only as fast as the slowest person. (That is, a fast person can t carry a slower person to save time, for example. If the 10-minute person and the 1-minute person cross the bridge together, it will take them 10 minutes.) The person or couple crossing the bridge needs the lamp for the entire crossing, and the lamp must be carried back and forth across the bridge (no throwing, etc.) If they don t all get completely across in under minutes, who ever is on the bridge or left behind will be eaten by the beast. Is it possible for all of them to get across? What is the best possible solution? Solution: One solution is as follows: Label the people 1, 2, 5, and 10, in accordance with the time it takes each to cross the bridger, then 1 and 2 cross (2 minutes) 2 returns with the lantern (2 minutes) 5 and 10 cross (10 minutes) 1 returns with the lantern (1 minute) 1 and 2 cross (2 minutes) This takes a total of 17 minutes, and it cannot be done in shorter time. crossings is as follows: It is clear that the pattern of Two people cross to the safe side, one returns, then two more cross to the safe side and one returns, and then the final two cross to the safe side. Each person has to cross the bridge an odd number of times, so either once or three times. Since 10 has to cross at least once, this uses up 10 minutes, and crossing 3 times would exceed 17 minutes. If 5 crosses three times, then one of the times would be with 10, and so this would total , or 20 minutes, again exceeding 17 minutes. Thus, 10 and 5 each cross once, and this means that 2 and 1 must cross to the safe side together at least once. If 10 and 5 do not cross together, then this accounts for just for the crossing to the safe side, and the return trips then bring the total to more than 17. Thus, 10 and 5 must cross together. They cannot be the first pair to cross, else one of them would have to return with the lantern. They cannot be the last pair to cross, since one person in the last pair has to have returned from the safe side. So 10 and 5 must be the second pair to cross to the safe side. Therefore, 1 and 2 cross first, and one of them returns. Then 10 and 5 cross to the safe side, and the other member of the 1 and 2 pair returns. This uses up 15 minutes total. Then 1 and 2 cross to the safe side.

2 Problem 2. The OPEC inspector found that a wholesaler of crude oil was swindling his retailers by including one barrel of oil with a high sulphur content to every nine barrels of top grade oil he sold them. Each barrel contained 55 gallons of oil, and the external appearance of both the low grade and top grade oil was identical. However, the substandard barrels were each 1 kilogram too heavy. The retailers were informed of this discrepancy. The barrels all arrived in pallets of ten barrels, each with one substandard barrel but which one? Halle Burton, the CEO of one of the largest oil distributors in the mideast had just taken delivery of a large order and needed to identify the substandard barrels quickly. She soon found a way to do this using a pair of scales (not pan balances) which required only one weighing on each scale for each batch of ten barrels. She had at her disposal two empty tin cans, one of which held exactly 1 gallon, and the other of which held exactly 1 cup. How did she do it? Note that she did not need to know what a barrel of oil should weigh. Solution: Halle Burton puts the following on scale #1: one cup of oil from barrel 1, two cups of oil from barrel 2, three cups of oil from barrel 3, four cups of oil from barrel 4, five cups of oil from barrel 5. After noting the weight on scale #1, she puts the following on scale #2: one cup of oil from barrel 6, two cups of oil from barrel 7, three cups of oil from barrel 8, four cups of oil from barrel 9, five cups of oil from barrel 10. Since a barrel of oil contains 55 gallons, there are 16 cups to a gallon, and a barrel of the low-grade oil weighs 1 kilogram more than a gallon of the high-grade oil, then 1 cup of the low-grade oil weighs W = 1 kilogram/barrel 1/55 barrels/gallon 1/16 gallons/cup = kilograms/cup more than a cup of the high-grade oil. She notes the weights on both scales, and this tells her which barrel has the substandard oil. For example if the difference in weight on scale #2 and scale #1 is 3 W, then barrel #8 contains the substandard oil, while if the difference in weight on scale #1 and scale #2 is 3 W, then barrel #3 contains the substandard oil.

3 Problem 3. Let x, y, and z be positive integers such that z 2 = x 2 + y 2, where x, y, and z have no common divisors. Show that exactly one of x, y, or z is divisible by 5. Hint: First show that if an integer x is not divisible by 5, then x 2 must be congruent to 1 or 4 modulo 5. Solution: If the positive integers x, y, and z have no common divisors, then at most one of them can be divisible by 5. First note that if x is not divisible by 5, then it must be congruent to 1, 2, 3, or 4 modulo 5, and if x = 5k + 1, then x 2 = 25k k + 1, and x 2 is congruent to 1 modulo 5 if x = 5k + 2, then x 2 = 25k k + 4, and x 2 is congruent to 4 modulo 5 if x = 5k + 3, then x 2 = 25k k , and x 2 is congruent to 4 modulo 5 if x = 5k + 4, then x 2 = 25k k and x 2 is congruent to 1 modulo 5 Therefore, if neither x nor y is divisible by 5, then x 2 and y 2 must be congruent to 1 or 4 modulo 5. This means that x 2 + y 2 must be congruent to one of (mod 5) (mod 5) (mod 5) (mod 5) However, as we saw above, a perfect square cannot be congruent to 2 or 3 modulo 5, and since x 2 + y 2 = z 2 is a perfect square, we cannot have z 2 2 (mod 5) or z 2 3 (mod 5). Therefore z 2 0 (mod 5). Also, from above, if z 2 is divisible by 5, this can only happen if z is divisible by 5, that is, z 0 (mod 5), and therefore, if neither x nor y is divisible by 5, then z must be divisible by 5. Problem 4. Find two counterfeits among nine coins using the smallest number of weighings. The seven genuine coins all weigh the same, and the counterfeits are slightly heavier but both are the same weight. You have a three-pan balance at your disposal, but no other weights except for the coins themselves. An adaptive solution is requested. In a three-pan balance, the heaviest pan is lowest, the lightest pan is highest, and pans of the same weight are at the same level. Solution: Put 2 coins in each of the three pans and leave three aside. case 1: all pans balance: then the counterfeits are among the three left aside and one more weighing suffices. Case 2: one pan is light, the other two are both heavy. Then there are 4 coins containing the two fakes, and one more weighing suffices. (put one of the 4 in each pan, leaving one aside). case 3: one pan is heavy. Then either there are two fakes in the heavy pan, or one in the heavy pan, and one among the three left aside. For the second weighing, put each of the coins from the heavy pan into separate pans, and one of the other coins (from the three left aside) into the remaining pan. This identifies at least one of the fakes, and if necessary, a third weighing will find the second fake.

4 Note (as one of the students pointed out) if you know it takes at least 3 weighings, then a nonadaptive solution is trivial: divide the nine coins into three groups of three, and compare each group of three coins. Here is a proof that three weighings are needed: With one weighing, you can find 2 fakes among 4 coins at most. Therefore, if after one weighing, all you can guarantee is that the two fakes are among 5 or more coins, then you will require at least 2 more weighings. With nine coins and a 3 pan balance, you can partition the set of coins into 1,1,1,6, or 2,2,2,3 or 3,3,3. In all cases there is a worst-case scenario that leaves you knowing that the fakes are among 5 or 6 coins. Problem 5. Show that among any n + 1 positive integers a 1, a 2,..., a n+1, not exceeding 2n, there must be an integer that divides one of the other integers. Hint: Any positive integer m can be written uniquely as a power of two times an odd integer, that is, m = 2 k q, where k is a nonnegative integer and q is an odd integer. Now write a j = 2 kj q j, for i = 1, 2,..., n, n + 1, then each q j is an odd integer less than 2n. Think pigeons!. Solution: For j = 1, 2,..., n + 1, we have a j = 2 kj q j, where each q j is an odd integer less than 2n; but there are only n distinct odd integers between 1 and 2n, so that two of the q j s must be the same, say q i = q j. But then either a i divides a j, or a j divides a i. Problem 6. Show that none of the integers: is the square of another integer. 11, 111, 1111, 11111,... Hint: First show that all such integers can be represented as N +11 where N = 0, 100, 1100, 11100, ,... and each N is divisible by 4, so that each such integer is congruent to 3 modulo 4. Solution: From the hint. we see that each of the integers is congruent to 3 modulo 4. However, if x is any integer, then from the division algorithm, x must be congruent to 0, 1, 2, or 3 modulo 4, and then if x = 4k, then x 2 = 16k 2 and x 2 is congruent to 0 modulo 4 if x = 4k + 1, then x 2 = 16k 2 + 8k + 1 and x 2 is congruent to 1 modulo 4 if x = 4k + 2, then x 2 = 16k k + 4 and x 2 is congruent to 0 modulo 4 if x = 4k + 3, then x 2 = 16k k and x 2 is congruent to 1 modulo 4 so that the square of an integer can only be congruent to 0 or 1 modulo 4, not 3. Problem 7. Five darts are thrown at a square target measuring 14 inches on a side. Prove that two of them must be at a distance no more than 10 inches apart. Solution: Divide the target into 4 squares, each measuring 7 inches on a side, and throw 5 darts at the target. By the pigeonhole principle, one of the smaller squares must contain at least 2 of the darts, and the distance between these two darts must be less than or equal to = = 98 < 10. Thus, there are at least two darts which are at a distance no more than 10 inches apart.

5 Problem 8. On a two-pan balance, there are 9 small marbles on one pan and 2 large marbles on the other pan. You have an unlimited number of marbles of both sizes available. Each of the large marbles weighs 4 grams and each of the small marbles weighs 3 grams. What is the minimum number of marbles, and their weights, that must be added or removed to make the pans balance. Solution: Add 4 large marbles to the pan with the large marbles, and remove one small marble from the pan with the small marbles. Problem 9. Write the digits from 1 to 9 (in that order). Place 3 of the basic arithmetic operation symbols +,,, between the digits so that the result is 100. The order of the digits cannot be changed. The operations may be repeated but the total number of symbols must be exactly 3. For example, = Solution: One answer is = 100. Problem 10. There is only one way to open the safe below. 4D 4D 1L 3L Open 2R 1D 1U 2L 4L 4R 1L 2D 1U 2L 4R 2R 2L 1D 2U 4R 1U 1U 4U 4U You must press each button exactly once in the correct order in order to reach Open. Each button is marked with a direction: U is up, L is left, R is right, and D is down. The number of spaces to move is also marked on each button. Which button is the first one you must press? Solution: The first button you must push is 1 U in row 3, column 4.

Assignment#1 Solutions

Assignment#1 Solutions MATH Assignment#1 Solutions 1. Four people are being pursued by a menacing beast. It is nighttime, and they need to cross a bridge to reach safety. It is pitch black, and only two can cross at once. They

More information

SMT 2014 Advanced Topics Test Solutions February 15, 2014

SMT 2014 Advanced Topics Test Solutions February 15, 2014 1. David flips a fair coin five times. Compute the probability that the fourth coin flip is the first coin flip that lands heads. 1 Answer: 16 ( ) 1 4 Solution: David must flip three tails, then heads.

More information

LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE

LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE The inclusion-exclusion principle (also known as the sieve principle) is an extended version of the rule of the sum. It states that, for two (finite) sets, A

More information

12. 6 jokes are minimal.

12. 6 jokes are minimal. Pigeonhole Principle Pigeonhole Principle: When you organize n things into k categories, one of the categories has at least n/k things in it. Proof: If each category had fewer than n/k things in it then

More information

Solutions to Problem Set 6 - Fall 2008 Due Tuesday, Oct. 21 at 1:00

Solutions to Problem Set 6 - Fall 2008 Due Tuesday, Oct. 21 at 1:00 18.781 Solutions to Problem Set 6 - Fall 008 Due Tuesday, Oct. 1 at 1:00 1. (Niven.8.7) If p 3 is prime, how many solutions are there to x p 1 1 (mod p)? How many solutions are there to x p 1 (mod p)?

More information

ENTRANCE EXAMINATIONS Time allowed: 1 hour and 30 minutes

ENTRANCE EXAMINATIONS Time allowed: 1 hour and 30 minutes ENTRANCE EXAMINATIONS 2017 MATHEMATICS FIRST FORM Time allowed: 1 hour and 30 minutes Answer ALL questions. Show all necessary working on the question paper in the spaces provided and write your answers

More information

SOME MORE DECREASE AND CONQUER ALGORITHMS

SOME MORE DECREASE AND CONQUER ALGORITHMS What questions do you have? Decrease by a constant factor Decrease by a variable amount SOME MORE DECREASE AND CONQUER ALGORITHMS Insertion Sort on Steroids SHELL'S SORT A QUICK RECAP 1 Shell's Sort We

More information

NRP Math Challenge Club

NRP Math Challenge Club Week 7 : Manic Math Medley 1. You have exactly $4.40 (440 ) in quarters (25 coins), dimes (10 coins), and nickels (5 coins). You have the same number of each type of coin. How many dimes do you have? 2.

More information

6. Find an inverse of a modulo m for each of these pairs of relatively prime integers using the method

6. Find an inverse of a modulo m for each of these pairs of relatively prime integers using the method Exercises Exercises 1. Show that 15 is an inverse of 7 modulo 26. 2. Show that 937 is an inverse of 13 modulo 2436. 3. By inspection (as discussed prior to Example 1), find an inverse of 4 modulo 9. 4.

More information

Collection of rules, techniques and theorems for solving polynomial congruences 11 April 2012 at 22:02

Collection of rules, techniques and theorems for solving polynomial congruences 11 April 2012 at 22:02 Collection of rules, techniques and theorems for solving polynomial congruences 11 April 2012 at 22:02 Public Polynomial congruences come up constantly, even when one is dealing with much deeper problems

More information

4. The terms of a sequence of positive integers satisfy an+3 = an+2(an+1 + an), for n = 1, 2, 3,... If a6 = 8820, what is a7?

4. The terms of a sequence of positive integers satisfy an+3 = an+2(an+1 + an), for n = 1, 2, 3,... If a6 = 8820, what is a7? 1. If the numbers 2 n and 5 n (where n is a positive integer) start with the same digit, what is this digit? The numbers are written in decimal notation, with no leading zeroes. 2. At a movie theater,

More information

Chameleon Coins arxiv: v1 [math.ho] 23 Dec 2015

Chameleon Coins arxiv: v1 [math.ho] 23 Dec 2015 Chameleon Coins arxiv:1512.07338v1 [math.ho] 23 Dec 2015 Tanya Khovanova Konstantin Knop Oleg Polubasov December 24, 2015 Abstract We discuss coin-weighing problems with a new type of coin: a chameleon.

More information

Multiples and Divisibility

Multiples and Divisibility Multiples and Divisibility A multiple of a number is a product of that number and an integer. Divisibility: A number b is said to be divisible by another number a if b is a multiple of a. 45 is divisible

More information

Solutions for the Practice Final

Solutions for the Practice Final Solutions for the Practice Final 1. Ian and Nai play the game of todo, where at each stage one of them flips a coin and then rolls a die. The person who played gets as many points as the number rolled

More information

Lecture 8. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. 3. Euclid s GCD Algorithm

Lecture 8. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. 3. Euclid s GCD Algorithm Lecture 8. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. 3. Euclid s GCD Algorithm Clock Math If it is 1:00 now. What time is it in 5 hours?

More information

MAT 115: Finite Math for Computer Science Problem Set 5

MAT 115: Finite Math for Computer Science Problem Set 5 MAT 115: Finite Math for Computer Science Problem Set 5 Out: 04/10/2017 Due: 04/17/2017 Instructions: I leave plenty of space on each page for your computation. If you need more sheet, please attach your

More information

Potpourri 5 th Grade points: If the repeating decimal 1.45 is written as a simplified improper fraction A B, what is the sum of A and B?

Potpourri 5 th Grade points: If the repeating decimal 1.45 is written as a simplified improper fraction A B, what is the sum of A and B? Potpourri 5 th Grade If your answer is a fraction like 3, bubble in 3. 1. 2 points: Today s math competition is happening on Saturday, March 22 nd. On what day of the month did the first Wednesday of this

More information

Colouring tiles. Paul Hunter. June 2010

Colouring tiles. Paul Hunter. June 2010 Colouring tiles Paul Hunter June 2010 1 Introduction We consider the following problem: For each tromino/tetromino, what are the minimum number of colours required to colour the standard tiling of the

More information

Modular arithmetic Math 2320

Modular arithmetic Math 2320 Modular arithmetic Math 220 Fix an integer m 2, called the modulus. For any other integer a, we can use the division algorithm to write a = qm + r. The reduction of a modulo m is the remainder r resulting

More information

Today s Topics. Sometimes when counting a set, we count the same item more than once

Today s Topics. Sometimes when counting a set, we count the same item more than once Today s Topics Inclusion/exclusion principle The pigeonhole principle Sometimes when counting a set, we count the same item more than once For instance, if something can be done n 1 ways or n 2 ways, but

More information

Assignment 2. Due: Monday Oct. 15, :59pm

Assignment 2. Due: Monday Oct. 15, :59pm Introduction To Discrete Math Due: Monday Oct. 15, 2012. 11:59pm Assignment 2 Instructor: Mohamed Omar Math 6a For all problems on assignments, you are allowed to use the textbook, class notes, and other

More information

UNC Charlotte 2008 Algebra March 3, 2008

UNC Charlotte 2008 Algebra March 3, 2008 March 3, 2008 1. The sum of all divisors of 2008 is (A) 8 (B) 1771 (C) 1772 (D) 3765 (E) 3780 2. From the list of all natural numbers 2, 3,... 999, delete nine sublists as follows. First, delete all even

More information

Norman Do. Continued calculation What is the sum of the following two expressions?

Norman Do. Continued calculation What is the sum of the following two expressions? Norman Do Welcome to the Australian Mathematical Society Gazette s Puzzle Corner. Each issue will include a handful of entertaining puzzles for adventurous readers to try. The puzzles cover a range of

More information

b) Find all positive integers smaller than 200 which leave remainder 1, 3, 4 upon division by 3, 5, 7 respectively.

b) Find all positive integers smaller than 200 which leave remainder 1, 3, 4 upon division by 3, 5, 7 respectively. Solutions to Exam 1 Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively prime positive integers. Prove that m φ(n) + n φ(m) 1 (mod mn). Solution: a) Fermat s Little

More information

THE PIGEONHOLE PRINCIPLE. MARK FLANAGAN School of Electrical and Electronic Engineering University College Dublin

THE PIGEONHOLE PRINCIPLE. MARK FLANAGAN School of Electrical and Electronic Engineering University College Dublin THE PIGEONHOLE PRINCIPLE MARK FLANAGAN School of Electrical and Electronic Engineering University College Dublin The Pigeonhole Principle: If n + 1 objects are placed into n boxes, then some box contains

More information

CPCS 222 Discrete Structures I Counting

CPCS 222 Discrete Structures I Counting King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222 Discrete Structures I Counting Dr. Eng. Farag Elnagahy farahelnagahy@hotmail.com Office Phone: 67967 The Basics of counting

More information

Solutions for the 2nd Practice Midterm

Solutions for the 2nd Practice Midterm Solutions for the 2nd Practice Midterm 1. (a) Use the Euclidean Algorithm to find the greatest common divisor of 44 and 17. The Euclidean Algorithm yields: 44 = 2 17 + 10 17 = 1 10 + 7 10 = 1 7 + 3 7 =

More information

Discrete Mathematics. Spring 2017

Discrete Mathematics. Spring 2017 Discrete Mathematics Spring 2017 Previous Lecture Binomial Coefficients Pascal s Triangle The Pigeonhole Principle If a flock of 20 pigeons roosts in a set of 19 pigeonholes, one of the pigeonholes must

More information

Grade 7/8 Math Circles February 9-10, Modular Arithmetic

Grade 7/8 Math Circles February 9-10, Modular Arithmetic Faculty of Mathematics Waterloo, Ontario N2L 3G Centre for Education in Mathematics and Computing Grade 7/8 Math Circles February 9-, 26 Modular Arithmetic Introduction: The 2-hour Clock Question: If it

More information

MATHCOUNTS Chapter Competition Sprint Round Problems 1 30 DO NOT BEGIN UNTIL YOU ARE INSTRUCTED TO DO SO.

MATHCOUNTS Chapter Competition Sprint Round Problems 1 30 DO NOT BEGIN UNTIL YOU ARE INSTRUCTED TO DO SO. MATHCOUNTS 2006 Chapter Competition Sprint Round Problems 1 0 Name DO NOT BEGIN UNTIL YOU ARE INSTRUCTED TO DO SO. This section of the competition consists of 0 problems. You will have 40 minutes to complete

More information

MA/CSSE 473 Day 9. The algorithm (modified) N 1

MA/CSSE 473 Day 9. The algorithm (modified) N 1 MA/CSSE 473 Day 9 Primality Testing Encryption Intro The algorithm (modified) To test N for primality Pick positive integers a 1, a 2,, a k < N at random For each a i, check for a N 1 i 1 (mod N) Use the

More information

MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005

MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005 MATH 324 Elementary Number Theory Solutions to Practice Problems for Final Examination Monday August 8, 2005 Deartment of Mathematical and Statistical Sciences University of Alberta Question 1. Find integers

More information

Sec 5.1 The Basics of Counting

Sec 5.1 The Basics of Counting 1 Sec 5.1 The Basics of Counting Combinatorics, the study of arrangements of objects, is an important part of discrete mathematics. In this chapter, we will learn basic techniques of counting which has

More information

Number Theory - Divisibility Number Theory - Congruences. Number Theory. June 23, Number Theory

Number Theory - Divisibility Number Theory - Congruences. Number Theory. June 23, Number Theory - Divisibility - Congruences June 23, 2014 Primes - Divisibility - Congruences Definition A positive integer p is prime if p 2 and its only positive factors are itself and 1. Otherwise, if p 2, then p

More information

Modular Arithmetic and Doomsday

Modular Arithmetic and Doomsday Modular Arithmetic and Doomsday Blake Thornton Much of this is due directly to Joshua Zucker and Paul Zeitz. 1. Subtraction Magic Trick. While blindfolded, a magician asks a member from the audience to

More information

B 2 3 = 4 B 2 = 7 B = 14

B 2 3 = 4 B 2 = 7 B = 14 Bridget bought a bag of apples at the grocery store. She gave half of the apples to Ann. Then she gave Cassie 3 apples, keeping 4 apples for herself. How many apples did Bridget buy? (A) 3 (B) 4 (C) 7

More information

Review I. October 14, 2008

Review I. October 14, 2008 Review I October 14, 008 If you put n + 1 pigeons in n pigeonholes then at least one hole would have more than one pigeon. If n(r 1 + 1 objects are put into n boxes, then at least one of the boxes contains

More information

Number Line: Comparing and Ordering Integers (page 6)

Number Line: Comparing and Ordering Integers (page 6) LESSON Name 1 Number Line: Comparing and Ordering Integers (page 6) A number line shows numbers in order from least to greatest. The number line has zero at the center. Numbers to the right of zero are

More information

Math is Cool Masters

Math is Cool Masters Sponsored by: Algebra II January 6, 008 Individual Contest Tear this sheet off and fill out top of answer sheet on following page prior to the start of the test. GENERAL INSTRUCTIONS applying to all tests:

More information

NMC Sample Problems: Grade 5

NMC Sample Problems: Grade 5 NMC Sample Problems: Grade 1. 1 2 6 10 8 9 6 =? 10 4 1 8 1 20 6 2 2. What is the value of 6 4 + 2 1 2? 1 4 1 4 1 4 12 12. What is the value of 2, 46 + 1, 74, 894 expressed to the nearest thousand? 4, 000

More information

Math 1111 Math Exam Study Guide

Math 1111 Math Exam Study Guide Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the

More information

Grade 6 Math Circles March 8-9, Modular Arithmetic

Grade 6 Math Circles March 8-9, Modular Arithmetic Faculty of Mathematics Waterloo, Ontario N2L 3G Centre for Education in Mathematics and Computing Grade 6 Math Circles March 8-9, 26 Modular Arithmetic Introduction: The 2-hour Clock Question: If its 7

More information

Modular Arithmetic. claserken. July 2016

Modular Arithmetic. claserken. July 2016 Modular Arithmetic claserken July 2016 Contents 1 Introduction 2 2 Modular Arithmetic 2 2.1 Modular Arithmetic Terminology.................. 2 2.2 Properties of Modular Arithmetic.................. 2 2.3

More information

NUMBER THEORY AMIN WITNO

NUMBER THEORY AMIN WITNO NUMBER THEORY AMIN WITNO.. w w w. w i t n o. c o m Number Theory Outlines and Problem Sets Amin Witno Preface These notes are mere outlines for the course Math 313 given at Philadelphia

More information

State Math Contest 2018 Junior Exam

State Math Contest 2018 Junior Exam State Math Contest 2018 Junior Exam Weber State University March 8, 2018 Instructions: Do not turn this page until your proctor tells you. Enter your name, grade, and school information following the instructions

More information

COUNTING TECHNIQUES. Prepared by Engr. JP Timola Reference: Discrete Math by Kenneth H. Rosen

COUNTING TECHNIQUES. Prepared by Engr. JP Timola Reference: Discrete Math by Kenneth H. Rosen COUNTING TECHNIQUES Prepared by Engr. JP Timola Reference: Discrete Math by Kenneth H. Rosen COMBINATORICS the study of arrangements of objects, is an important part of discrete mathematics. Counting Introduction

More information

CS 32 Puzzles, Games & Algorithms Fall 2013

CS 32 Puzzles, Games & Algorithms Fall 2013 CS 32 Puzzles, Games & Algorithms Fall 2013 Study Guide & Scavenger Hunt #2 November 10, 2014 These problems are chosen to help prepare you for the second midterm exam, scheduled for Friday, November 14,

More information

Solutions to the 2004 CMO written March 31, 2004

Solutions to the 2004 CMO written March 31, 2004 Solutions to the 004 CMO written March 31, 004 1. Find all ordered triples (x, y, z) of real numbers which satisfy the following system of equations: xy = z x y xz = y x z yz = x y z Solution 1 Subtracting

More information

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = =

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = = Math 115 Discrete Math Final Exam December 13, 2000 Your name It is important that you show your work. 1. Use the Euclidean algorithm to solve the decanting problem for decanters of sizes 199 and 98. In

More information

1.5 How Often Do Head and Tail Occur Equally Often?

1.5 How Often Do Head and Tail Occur Equally Often? 4 Problems.3 Mean Waiting Time for vs. 2 Peter and Paula play a simple game of dice, as follows. Peter keeps throwing the (unbiased) die until he obtains the sequence in two successive throws. For Paula,

More information

MAT Modular arithmetic and number theory. Modular arithmetic

MAT Modular arithmetic and number theory. Modular arithmetic Modular arithmetic 1 Modular arithmetic may seem like a new and strange concept at first The aim of these notes is to describe it in several different ways, in the hope that you will find at least one

More information

SOLUTIONS TO PROBLEM SET 5. Section 9.1

SOLUTIONS TO PROBLEM SET 5. Section 9.1 SOLUTIONS TO PROBLEM SET 5 Section 9.1 Exercise 2. Recall that for (a, m) = 1 we have ord m a divides φ(m). a) We have φ(11) = 10 thus ord 11 3 {1, 2, 5, 10}. We check 3 1 3 (mod 11), 3 2 9 (mod 11), 3

More information

1 Introduction. 2 An Easy Start. KenKen. Charlotte Teachers Institute, 2015

1 Introduction. 2 An Easy Start. KenKen. Charlotte Teachers Institute, 2015 1 Introduction R is a puzzle whose solution requires a combination of logic and simple arithmetic and combinatorial skills 1 The puzzles range in difficulty from very simple to incredibly difficult Students

More information

Problem 2A Consider 101 natural numbers not exceeding 200. Prove that at least one of them is divisible by another one.

Problem 2A Consider 101 natural numbers not exceeding 200. Prove that at least one of them is divisible by another one. 1. Problems from 2007 contest Problem 1A Do there exist 10 natural numbers such that none one of them is divisible by another one, and the square of any one of them is divisible by any other of the original

More information

Twenty-sixth Annual UNC Math Contest First Round Fall, 2017

Twenty-sixth Annual UNC Math Contest First Round Fall, 2017 Twenty-sixth Annual UNC Math Contest First Round Fall, 07 Rules: 90 minutes; no electronic devices. The positive integers are,,,,.... Find the largest integer n that satisfies both 6 < 5n and n < 99..

More information

Part A (C) What is the remainder when is divided by 11? (A) 0 (B) 1 (C) 3 (D) 7 (E) 10 (A) 35 (B) 40 (C) 45 (D) 50 (E) 55

Part A (C) What is the remainder when is divided by 11? (A) 0 (B) 1 (C) 3 (D) 7 (E) 10 (A) 35 (B) 40 (C) 45 (D) 50 (E) 55 Grade 8, page 1 of 6 Part A 1. The value of ( 1 + 1 ) ( 1 + 1 ) ( 1 + 1 ) is 2 3 4 (A) 11 24 (B) 3 4 (C) 5 2 (D) 3 (E) 73 24 2. What is the remainder when 111 111 111 is divided by 11? (A) 0 (B) 1 (C)

More information

PUTNAM PROBLEMS FINITE MATHEMATICS, COMBINATORICS

PUTNAM PROBLEMS FINITE MATHEMATICS, COMBINATORICS PUTNAM PROBLEMS FINITE MATHEMATICS, COMBINATORICS 2014-B-5. In the 75th Annual Putnam Games, participants compete at mathematical games. Patniss and Keeta play a game in which they take turns choosing

More information

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees. 7 Symmetries 7 Permutations A permutation of a set is a reordering of its elements Another way to look at it is as a function Φ that takes as its argument a set of natural numbers of the form {, 2,, n}

More information

The Pigeonhole Principle

The Pigeonhole Principle The Pigeonhole Principle Some Questions Does there have to be two trees on Earth with the same number of leaves? How large of a set of distinct integers between 1 and 200 is needed to assure that two numbers

More information

March 5, What is the area (in square units) of the region in the first quadrant defined by 18 x + y 20?

March 5, What is the area (in square units) of the region in the first quadrant defined by 18 x + y 20? March 5, 007 1. We randomly select 4 prime numbers without replacement from the first 10 prime numbers. What is the probability that the sum of the four selected numbers is odd? (A) 0.1 (B) 0.30 (C) 0.36

More information

PIGEONHOLE PRINCIPLE

PIGEONHOLE PRINCIPLE PIGEONHOLE PRINCIPLE Pigeonhole Principle If you place n + 1 objects in n holes, then at least one hole must contain more than one object. 9 holes, and 10 = 9 + 1 pigeons. So at least 1 hole contains at

More information

LEVEL I. 3. In how many ways 4 identical white balls and 6 identical black balls be arranged in a row so that no two white balls are together?

LEVEL I. 3. In how many ways 4 identical white balls and 6 identical black balls be arranged in a row so that no two white balls are together? LEVEL I 1. Three numbers are chosen from 1,, 3..., n. In how many ways can the numbers be chosen such that either maximum of these numbers is s or minimum of these numbers is r (r < s)?. Six candidates

More information

Asymptotic Results for the Queen Packing Problem

Asymptotic Results for the Queen Packing Problem Asymptotic Results for the Queen Packing Problem Daniel M. Kane March 13, 2017 1 Introduction A classic chess problem is that of placing 8 queens on a standard board so that no two attack each other. This

More information

n r for the number. (n r)!r!

n r for the number. (n r)!r! Throughout we use both the notations ( ) n r and C n n! r for the number (n r)!r! 1 Ten points are distributed around a circle How many triangles have all three of their vertices in this 10-element set?

More information

Math Circle: Logic Puzzles

Math Circle: Logic Puzzles Math Circle: Logic Puzzles June 4, 2017 The Missing $1 Three people rent a room for the night for a total of $30. They each pay $10 and go upstairs. The owner then realizes the room was only supposed to

More information

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g.,

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., Binary exponentiation An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., What are the last two digits of the number 2 284? In the absence

More information

CMath 55 PROFESSOR KENNETH A. RIBET. Final Examination May 11, :30AM 2:30PM, 100 Lewis Hall

CMath 55 PROFESSOR KENNETH A. RIBET. Final Examination May 11, :30AM 2:30PM, 100 Lewis Hall CMath 55 PROFESSOR KENNETH A. RIBET Final Examination May 11, 015 11:30AM :30PM, 100 Lewis Hall Please put away all books, calculators, cell phones and other devices. You may consult a single two-sided

More information

Modular Arithmetic. Kieran Cooney - February 18, 2016

Modular Arithmetic. Kieran Cooney - February 18, 2016 Modular Arithmetic Kieran Cooney - kieran.cooney@hotmail.com February 18, 2016 Sums and products in modular arithmetic Almost all of elementary number theory follows from one very basic theorem: Theorem.

More information

1.6 Congruence Modulo m

1.6 Congruence Modulo m 1.6 Congruence Modulo m 47 5. Let a, b 2 N and p be a prime. Prove for all natural numbers n 1, if p n (ab) and p - a, then p n b. 6. In the proof of Theorem 1.5.6 it was stated that if n is a prime number

More information

Summer Math Calendar

Summer Math Calendar Going into Third Grade Directions: Follow the daily activities to practice different math concepts. Feel free to extend any of the activities listed. When the work is completed, have a parent initial the

More information

18.S34 (FALL, 2007) PROBLEMS ON PROBABILITY

18.S34 (FALL, 2007) PROBLEMS ON PROBABILITY 18.S34 (FALL, 2007) PROBLEMS ON PROBABILITY 1. Three closed boxes lie on a table. One box (you don t know which) contains a $1000 bill. The others are empty. After paying an entry fee, you play the following

More information

With Question/Answer Animations. Chapter 6

With Question/Answer Animations. Chapter 6 With Question/Answer Animations Chapter 6 Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients and Identities Generalized Permutations and

More information

arxiv: v1 [math.co] 17 May 2016

arxiv: v1 [math.co] 17 May 2016 arxiv:1605.05601v1 [math.co] 17 May 2016 Alternator Coins Benjamin Chen, Ezra Erives, Leon Fan, Michael Gerovitch, Jonathan Hsu, Tanya Khovanova, Neil Malur, Ashwin Padaki, Nastia Polina, Will Sun, Jacob

More information

Exam 1 7 = = 49 2 ( ) = = 7 ( ) =

Exam 1 7 = = 49 2 ( ) = = 7 ( ) = Exam 1 Problem 1. a) Define gcd(a, b). Using Euclid s algorithm comute gcd(889, 168). Then find x, y Z such that gcd(889, 168) = x 889 + y 168 (check your answer!). b) Let a be an integer. Prove that gcd(3a

More information

Division of Mathematics and Computer Science Alfred University

Division of Mathematics and Computer Science Alfred University Division of Mathematics and Computer Science Alfred University Alfred, NY 14802 Instructions: 1. This competition will last seventy-five minutes from 10:05 to 11:20. 2. The use of calculators is not permitted.

More information

Exercises Exercises. 1. List all the permutations of {a, b, c}. 2. How many different permutations are there of the set {a, b, c, d, e, f, g}?

Exercises Exercises. 1. List all the permutations of {a, b, c}. 2. How many different permutations are there of the set {a, b, c, d, e, f, g}? Exercises Exercises 1. List all the permutations of {a, b, c}. 2. How many different permutations are there of the set {a, b, c, d, e, f, g}? 3. How many permutations of {a, b, c, d, e, f, g} end with

More information

State Math Contest (Junior)

State Math Contest (Junior) Name: Student ID: State Math Contest (Junior) Instructions: Do not turn this page until your proctor tells you. Enter your name, grade, and school information following the instructions given by your proctor.

More information

I.M.O. Winter Training Camp 2008: Invariants and Monovariants

I.M.O. Winter Training Camp 2008: Invariants and Monovariants I.M.. Winter Training Camp 2008: Invariants and Monovariants n math contests, you will often find yourself trying to analyze a process of some sort. For example, consider the following two problems. Sample

More information

MATH LEVEL 2 LESSON PLAN 3 FACTORING Copyright Vinay Agarwala, Checked: 1/19/18

MATH LEVEL 2 LESSON PLAN 3 FACTORING Copyright Vinay Agarwala, Checked: 1/19/18 MATH LEVEL 2 LESSON PLAN 3 FACTORING 2018 Copyright Vinay Agarwala, Checked: 1/19/18 Section 1: Exact Division & Factors 1. In exact division there is no remainder. Both Divisor and quotient are factors

More information

Winslow C of E Combined School. Progression in the 4 Operations & Fun Maths Activities to do at Home.

Winslow C of E Combined School. Progression in the 4 Operations & Fun Maths Activities to do at Home. Winslow C of E Combined School. Progression in the 4 Operations & Fun Maths Activities to do at Home. Dear Parents, Carers, Please have a look through some of these short, simple maths games and activities

More information

Caltech Harvey Mudd Mathematics Competition February 20, 2010

Caltech Harvey Mudd Mathematics Competition February 20, 2010 Mixer Round Solutions Caltech Harvey Mudd Mathematics Competition February 0, 00. (Ying-Ying Tran) Compute x such that 009 00 x (mod 0) and 0 x < 0. Solution: We can chec that 0 is prime. By Fermat s Little

More information

Foundations of Computing Discrete Mathematics Solutions to exercises for week 12

Foundations of Computing Discrete Mathematics Solutions to exercises for week 12 Foundations of Computing Discrete Mathematics Solutions to exercises for week 12 Agata Murawska (agmu@itu.dk) November 13, 2013 Exercise (6.1.2). A multiple-choice test contains 10 questions. There are

More information

6.1 Basics of counting

6.1 Basics of counting 6.1 Basics of counting CSE2023 Discrete Computational Structures Lecture 17 1 Combinatorics: they study of arrangements of objects Enumeration: the counting of objects with certain properties (an important

More information

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2 Quadratic Reciprocity To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we need to be able to evaluate q for any prime q. The first (and most delicate) case

More information

1. Non-Adaptive Weighing

1. Non-Adaptive Weighing 1. Non-Adaptive Weighing We consider the following classical problem. We have a set of N coins of which exactly one of them is different in weight from the others, all of which are identical. We want to

More information

MEP Practice Book SA5

MEP Practice Book SA5 5 Probability 5.1 Probabilities MEP Practice Book SA5 1. Describe the probability of the following events happening, using the terms Certain Very likely Possible Very unlikely Impossible (d) (e) (f) (g)

More information

7 th Grade Exam Reading from left to right, which of the following lists the numbers in order from smallest to largest?

7 th Grade Exam Reading from left to right, which of the following lists the numbers in order from smallest to largest? . Reading from left to right, which of the following lists the numbers in order from smallest to largest? a) 0.303, 0.033, 0.33 b) 0.33, 0.303, 0.033 c) 0.303, 0.33, 0.033 d) 0.033, 0.33, 0.303 e) 0.033,

More information

Final Exam, Math 6105

Final Exam, Math 6105 Final Exam, Math 6105 SWIM, June 29, 2006 Your name Throughout this test you must show your work. 1. Base 5 arithmetic (a) Construct the addition and multiplication table for the base five digits. (b)

More information

The Richard Stockton College of New Jersey Mathematical Mayhem 2013 Group Round

The Richard Stockton College of New Jersey Mathematical Mayhem 2013 Group Round The Richard Stockton College of New Jersey Mathematical Mayhem 2013 Group Round March 23, 2013 Name: Name: Name: High School: Instructions: This round consists of 5 problems worth 16 points each for a

More information

6.2 Modular Arithmetic

6.2 Modular Arithmetic 6.2 Modular Arithmetic Every reader is familiar with arithmetic from the time they are three or four years old. It is the study of numbers and various ways in which we can combine them, such as through

More information

Alternator Coins. Mentor: Dr. Tanya Khovanova. PRIMES CONFERENCE, May 21, PRIMES CONFERENCE, May 21,

Alternator Coins. Mentor: Dr. Tanya Khovanova. PRIMES CONFERENCE, May 21, PRIMES CONFERENCE, May 21, Alternator Coins Benjamin Chen, Ezra Erives, Leon Fan, Michael Gerovitch, Jonathan Hsu, Neil Malur, Ashwin Padaki, Nastia Polina, Will Sun, Jacob Tan, Andrew The Mentor: Dr. Tanya Khovanova PRIMES CONFERENCE,

More information

Do not duplicate or distribute without written permission from CMKC!

Do not duplicate or distribute without written permission from CMKC! INTERNATIONAL CONTEST-GAME MATH KANGAROO CANADA, 2018 INSTRUCTIONS GRADE 5-12 1. You have 75 minutes to solve 30 multiple choice problems. For each problem, circle only one of the proposed five choices.

More information

2 Event is equally likely to occur or not occur. When all outcomes are equally likely, the theoretical probability that an event A will occur is:

2 Event is equally likely to occur or not occur. When all outcomes are equally likely, the theoretical probability that an event A will occur is: 10.3 TEKS a.1, a.4 Define and Use Probability Before You determined the number of ways an event could occur. Now You will find the likelihood that an event will occur. Why? So you can find real-life geometric

More information

Chapter 2 Brain Teasers

Chapter 2 Brain Teasers Chapter 2 Brain Teasers In this chapter, we cover problems that only require common sense, logic, reasoning, and basic no more than high school level math knowledge to solve. In a sense, they are real

More information

MATH 135 Algebra, Solutions to Assignment 7

MATH 135 Algebra, Solutions to Assignment 7 MATH 135 Algebra, Solutions to Assignment 7 1: (a Find the smallest non-negative integer x such that x 41 (mod 9. Solution: The smallest such x is the remainder when 41 is divided by 9. We have 41 = 9

More information

Distribution of Primes

Distribution of Primes Distribution of Primes Definition. For positive real numbers x, let π(x) be the number of prime numbers less than or equal to x. For example, π(1) = 0, π(10) = 4 and π(100) = 25. To use some ciphers, we

More information

New Values for Top Entails

New Values for Top Entails Games of No Chance MSRI Publications Volume 29, 1996 New Values for Top Entails JULIAN WEST Abstract. The game of Top Entails introduces the curious theory of entailing moves. In Winning Ways, simple positions

More information

Two congruences involving 4-cores

Two congruences involving 4-cores Two congruences involving 4-cores ABSTRACT. The goal of this paper is to prove two new congruences involving 4- cores using elementary techniques; namely, if a 4 (n) denotes the number of 4-cores of n,

More information

SESAME Modular Arithmetic. MurphyKate Montee. March 2018 IN,Z, We think numbers should satisfy certain rules, which we call axioms:

SESAME Modular Arithmetic. MurphyKate Montee. March 2018 IN,Z, We think numbers should satisfy certain rules, which we call axioms: SESAME Modular Arithmetic MurphyKate Montee March 08 What is a Number? Examples of Number Systems: We think numbers should satisfy certain rules which we call axioms: Commutivity Associativity 3 Existence

More information

Topics to be covered

Topics to be covered Basic Counting 1 Topics to be covered Sum rule, product rule, generalized product rule Permutations, combinations Binomial coefficients, combinatorial proof Inclusion-exclusion principle Pigeon Hole Principle

More information