NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MH1301 DISCRETE MATHEMATICS. Time Allowed: 2 hours

Size: px
Start display at page:

Download "NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MH1301 DISCRETE MATHEMATICS. Time Allowed: 2 hours"

Transcription

1 NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION DISCRETE MATHEMATICS May 207 Time Allowed: 2 hours INSTRUCTIONS TO CANDIDATES. This examination paper contains FOUR (4) questions and comprises FOUR (4) printed pages. 2. Answer all questions. The marks for each question are indicated at the beginning of each question. 3. Answer each question beginning on a FRESH page of the answer book. 4. This is a CLOSED-BOOK exam. 5. Candidates may use calculators. However, they should write down systematically the steps in the workings.

2 Question (30 marks) A card deck consists of 52 cards; each card has one of the 3 face values and one of the four suits,,,. The face values from smallest to largest are A J Q K. In five-card poker, you are dealt a hand consisting of five different cards. The order of these five cards does not matter in a hand. (i) Count the number of hands in which all face values are at most 5. Solution: We need to count all 5-card hands out of the 5 4 = 20 cards with face values A up to 5 in all four suits. So the number of hands is C(20, 5). (ii) Count the number of hands in which the largest face value is 5. Solution: Let A be the set of hands in which the largest face value is 5. Let B be the set of hands in which all face values are at most 5. Let C be the set of hands in which all face values are at most 4. Then B is the disjoint union of A and C, so B = A + C. We already know from the previous question that B = C(20, 5). Similarly we have C = C(6, 5). Therefore A = B C = C(20, 5) C(6, 5) = 36. (iii) A hand is a three-of-a-kind if it has three cards of one face value, one card of another face value, and a fifth card of yet another face value, for example {8, 8, 8, A, 9 }. Count the number of three-of-a-kind hands. Solution: There are 3 choices for the face value of the triple, C(4, 3) choices for the suits in the triple (three suits out of a set of four). This leaves out C(2, 2) choices for the two face values of the two remaining cards, and 4 choices for each of their suits. This gives a total of possible three-of-a-kind hands. 3 C(4, 3) C(2, 2) 4 4 = 54, 92 2

3 Question 2 (45 marks) Answer each of the following questions (NO justification needed): (a) How many non-isomorphic simple undirected graphs with 4 vertices and 3 edges are there? (b) Can a simple graph with 6 vertices have degree sequence ? If yes, draw such a graph. (c) What is the length of a longest simple circuit in K 6? (d) What is the chromatic number of K 6,6? (e) If G is a connected planar graph with 5 regions and 25 vertices, how many edges does the graph G have? (f) If G is a connected planar graph with 30 vertices, each of degree 3, then how many regions does the graph G have? (g) Give a recurrence relation for e n = the number of edges of graph K n. (h) Yes or no: Does every planar graph always contain an Euler path? (i) Yes or no: Does every planar graph always contain an Hamilton path? In questions (j) (o), the grid graph G m,n refers to the graph obtained by taking an m n rectangular grid of streets (m n) with m north/south blocks and n east/west blocks. For example: G,5 G 2,6 G 3,4 (j) Find a formula for the number of vertices of G m,n. (k) Find a formula for the number of edges of G m,n. (l) Find a formula for the number of regions (including the infinite region) of G m,n. (m) For which positive integers m and n does G m,n have an Euler circuit? 3

4 (n) For which positive integers m and n does G m,n have an Euler path but no Euler circuit? (o) Find the chromatic number of G m,n Solution: (a) 3 (b) No (c) 2 (d) 2 (e) 38 (f) 7 (g) e n = e n + n (h) No (i) No (j) (m + )(n + ) (k) n(m + ) + m(n + ) or 2mn + n + m (l) mn + (m) m = n = (n) m =, n = 2 (o) 2 4

5 Question 3 (5 marks) Find a minimal spanning tree for the following weighted graph. Indicate the name of the algorithm that you are using, and the order that the edges are added to the tree. a b 9 c 4 d e f g h Solution: We can use Prim s algorithm. Starting from vertex a, we add the edges in the following order: {a, c} of weight 4. {c, b} of weight 3. {b, d} of weight. {c, e} of weight 5. {e, g} of weight 2. {g, h} of weight. {e, f} of weight 3. The total weight of the minimal spanning tree is 9. 5

6 a 4 3 b The tree looks like c 5 d e 3 f 2 g h Question 4 Let G = (V, E) be an undirected weighted graph, and let P be a shortest path from some vertex a to another vertex b. Suppose now that all the edge weights in G are increased by a constant number c. Is this path P still a shortest-path from a to b? If so, prove it. If not, then provide a counterexample. Solution: This statement is not true. A counterexample is shown as following: x y a b c 2 2 The shortest path from a to c is a x y c with total length 3. However, if we increase all the edge weights by a constant number c = 00, the shortest path from a to c becomes a b c with total length = 204, while the a x y c path now has length (00 + ) 3 = 303. END OF PAPER 6

Unless stated otherwise, explain your logic and write out complete sentences. No notes, books, calculators, or other electronic devices are permitted.

Unless stated otherwise, explain your logic and write out complete sentences. No notes, books, calculators, or other electronic devices are permitted. Remarks: The final exam will be comprehensive. The questions on this practice final are roughly ordered according to when we learned about them; this will not be the case for the actual final. Certainly

More information

Problem Set 8 Solutions R Y G R R G

Problem Set 8 Solutions R Y G R R G 6.04/18.06J Mathematics for Computer Science April 5, 005 Srini Devadas and Eric Lehman Problem Set 8 Solutions Due: Monday, April 11 at 9 PM in Room 3-044 Problem 1. An electronic toy displays a 4 4 grid

More information

CONTENTS GRAPH THEORY

CONTENTS GRAPH THEORY CONTENTS i GRAPH THEORY GRAPH THEORY By Udit Agarwal M.Sc. (Maths), M.C.A. Sr. Lecturer, Rakshpal Bahadur Management Institute, Bareilly Umeshpal Singh (MCA) Director, Rotary Institute of Management and

More information

Math 1001: Excursions in Mathematics Final Exam: 9 May :30-4:30 p.m.

Math 1001: Excursions in Mathematics Final Exam: 9 May :30-4:30 p.m. Math 1001: Excursions in Mathematics Final Exam: 9 May 2011 1:30-4:30 p.m. Name: Section Number: You have three hours to complete this exam. There are ten problems on twelve pages, worth a total of 100

More information

Final exam. Question Points Score. Total: 150

Final exam. Question Points Score. Total: 150 MATH 11200/20 Final exam DECEMBER 9, 2016 ALAN CHANG Please present your solutions clearly and in an organized way Answer the questions in the space provided on the question sheets If you run out of room

More information

Decision Mathematics practice paper

Decision Mathematics practice paper Decision Mathematics practice paper 1. based on old-syllabus January 2013. 50 minutes, 50 marks. Write answers in answers book. Figure 1 Hero s algorithm for finding a square root is described by the flow

More information

SMS Dictionary. Solution hint. Input format. Output format. (Indian National Olympiad in Informatics, INOI, 2007)

SMS Dictionary. Solution hint. Input format. Output format. (Indian National Olympiad in Informatics, INOI, 2007) SMS Dictionary (Indian National Olympiad in Informatics, INOI, 2007) In the pre-smartphone era, most mobile phones with numeric keypads had a private dictionary of words to allow users to type messages

More information

@CRC Press. Discrete Mathematics. with Ducks. sarah-marie belcastro. let this be your watchword. serious mathematics treated with levity

@CRC Press. Discrete Mathematics. with Ducks. sarah-marie belcastro. let this be your watchword. serious mathematics treated with levity Discrete Mathematics with Ducks sarah-marie belcastro serious mathematics treated with levity let this be your watchword @CRC Press Taylor & Francis Croup Boca Raton London New York CRC Press is an imprint

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

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability)

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability) MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability) Last modified: November 10, 2004 This follows very closely Apostol, Chapter 13, the course pack. Attachments

More information

Preface for Instructors and Other Teachers 1 About This Book... xvii

Preface for Instructors and Other Teachers 1 About This Book... xvii Preface for Instructors and Other Teachers xvii 1 About This Book.... xvii 2 How tousethis Book...................... xx 2.1 A Start on Discovery-Based Learning..... xxi 2.2 Details of Conducting Group

More information

Olympiad Combinatorics. Pranav A. Sriram

Olympiad Combinatorics. Pranav A. Sriram Olympiad Combinatorics Pranav A. Sriram August 2014 Chapter 2: Algorithms - Part II 1 Copyright notices All USAMO and USA Team Selection Test problems in this chapter are copyrighted by the Mathematical

More information

Edge-disjoint tree representation of three tree degree sequences

Edge-disjoint tree representation of three tree degree sequences Edge-disjoint tree representation of three tree degree sequences Ian Min Gyu Seong Carleton College seongi@carleton.edu October 2, 208 Ian Min Gyu Seong (Carleton College) Trees October 2, 208 / 65 Trees

More information

9.5 Counting Subsets of a Set: Combinations. Answers for Test Yourself

9.5 Counting Subsets of a Set: Combinations. Answers for Test Yourself 9.5 Counting Subsets of a Set: Combinations 565 H 35. H 36. whose elements when added up give the same sum. (Thanks to Jonathan Goldstine for this problem. 34. Let S be a set of ten integers chosen from

More information

1. Anthony and Bret have equal amounts of money. Each of them has at least 5 dollars. How much should Anthony give to Bret so that Bret has 10

1. Anthony and Bret have equal amounts of money. Each of them has at least 5 dollars. How much should Anthony give to Bret so that Bret has 10 1. Anthony and Bret have equal amounts of money. Each of them has at least 5 dollars. How much should Anthony give to Bret so that Bret has 10 dollars more than Anthony? 2. Ada, Bella and Cindy have some

More information

CCO Commun. Comb. Optim.

CCO Commun. Comb. Optim. Communications in Combinatorics and Optimization Vol. 2 No. 2, 2017 pp.149-159 DOI: 10.22049/CCO.2017.25918.1055 CCO Commun. Comb. Optim. Graceful labelings of the generalized Petersen graphs Zehui Shao

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

CS103 Handout 25 Spring 2017 May 5, 2017 Problem Set 5

CS103 Handout 25 Spring 2017 May 5, 2017 Problem Set 5 CS103 Handout 25 Spring 2017 May 5, 2017 Problem Set 5 This problem set the last one purely on discrete mathematics is designed as a cumulative review of the topics we ve covered so far and a proving ground

More information

Decision Mathematics D1 Advanced/Advanced Subsidiary. Friday 17 May 2013 Morning Time: 1 hour 30 minutes

Decision Mathematics D1 Advanced/Advanced Subsidiary. Friday 17 May 2013 Morning Time: 1 hour 30 minutes Paper Reference(s) 6689/01R Edexcel GCE Decision Mathematics D1 Advanced/Advanced Subsidiary Friday 17 May 2013 Morning Time: 1 hour 30 minutes Materials required for examination Nil Items included with

More information

Faithful Representations of Graphs by Islands in the Extended Grid

Faithful Representations of Graphs by Islands in the Extended Grid Faithful Representations of Graphs by Islands in the Extended Grid Michael D. Coury Pavol Hell Jan Kratochvíl Tomáš Vyskočil Department of Applied Mathematics and Institute for Theoretical Computer Science,

More information

Counting. Chapter 6. With Question/Answer Animations

Counting. Chapter 6. With Question/Answer Animations . All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education. Counting Chapter

More information

Decision Mathematics D1

Decision Mathematics D1 Pearson Edexcel International Advanced Level Decision Mathematics D1 Advanced/Advanced Subsidiary Friday 16 June 2017 Afternoon Time: 1 hour 30 minutes Paper Reference WDM01/01 You must have: D1 Answer

More information

CSE 21 Practice Final Exam Winter 2016

CSE 21 Practice Final Exam Winter 2016 CSE 21 Practice Final Exam Winter 2016 1. Sorting and Searching. Give the number of comparisons that will be performed by each sorting algorithm if the input list of length n happens to be of the form

More information

Counting in Algorithms

Counting in Algorithms Counting Counting in Algorithms How many comparisons are needed to sort n numbers? How many steps to compute the GCD of two numbers? How many steps to factor an integer? Counting in Games How many different

More information

Ideas beyond Number. Activity worksheets

Ideas beyond Number. Activity worksheets Ideas beyond Number Activity sheet 1 Task 1 Some students started to solve this equation in different ways: For each statement tick True or False: = = = = Task 2: Counter-examples The exception disproves

More information

Three of these grids share a property that the other three do not. Can you find such a property? + mod

Three of these grids share a property that the other three do not. Can you find such a property? + mod PPMTC 22 Session 6: Mad Vet Puzzles Session 6: Mad Veterinarian Puzzles There is a collection of problems that have come to be known as "Mad Veterinarian Puzzles", for reasons which will soon become obvious.

More information

Math 166: Topics in Contemporary Mathematics II

Math 166: Topics in Contemporary Mathematics II Math 166: Topics in Contemporary Mathematics II Xin Ma Texas A&M University September 30, 2017 Xin Ma (TAMU) Math 166 September 30, 2017 1 / 11 Last Time Factorials For any natural number n, we define

More information

Unit Nine Precalculus Practice Test Probability & Statistics. Name: Period: Date: NON-CALCULATOR SECTION

Unit Nine Precalculus Practice Test Probability & Statistics. Name: Period: Date: NON-CALCULATOR SECTION Name: Period: Date: NON-CALCULATOR SECTION Vocabulary: Define each word and give an example. 1. discrete mathematics 2. dependent outcomes 3. series Short Answer: 4. Describe when to use a combination.

More information

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following: CS 70 Discrete Mathematics for CS Fall 2004 Rao Lecture 14 Introduction to Probability The next several lectures will be concerned with probability theory. We will aim to make sense of statements such

More information

Western Australian Junior Mathematics Olympiad 2007

Western Australian Junior Mathematics Olympiad 2007 Western Australian Junior Mathematics Olympiad 2007 Individual Questions 100 minutes General instructions: Each solution in this part is a positive integer less than 100. No working is needed for Questions

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

Common Mistakes. Quick sort. Only choosing one pivot per iteration. At each iteration, one pivot per sublist should be chosen.

Common Mistakes. Quick sort. Only choosing one pivot per iteration. At each iteration, one pivot per sublist should be chosen. Common Mistakes Examples of typical mistakes Correct version Quick sort Only choosing one pivot per iteration. At each iteration, one pivot per sublist should be chosen. e.g. Use a quick sort to sort the

More information

Permutations and Combinations

Permutations and Combinations Motivating question Permutations and Combinations A) Rosen, Chapter 5.3 B) C) D) Permutations A permutation of a set of distinct objects is an ordered arrangement of these objects. : (1, 3, 2, 4) is a

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

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

Math 113-All Sections Final Exam May 6, 2013

Math 113-All Sections Final Exam May 6, 2013 Name Math 3-All Sections Final Exam May 6, 23 Answer questions on the scantron provided. The scantron should be the same color as this page. Be sure to encode your name, student number and SECTION NUMBER

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

Week 1. 1 What Is Combinatorics?

Week 1. 1 What Is Combinatorics? 1 What Is Combinatorics? Week 1 The question that what is combinatorics is similar to the question that what is mathematics. If we say that mathematics is about the study of numbers and figures, then combinatorics

More information

Teacher s Notes. Problem of the Month: Courtney s Collection

Teacher s Notes. Problem of the Month: Courtney s Collection Teacher s Notes Problem of the Month: Courtney s Collection Overview: In the Problem of the Month, Courtney s Collection, students use number theory, number operations, organized lists and counting methods

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

Mathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170

Mathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170 2015-2016 Mathematics Competition Practice Session 6 Hagerstown Community College: STEM Club November 20, 2015 12:00 pm - 1:00 pm STC-170 1 Warm-Up (2006 AMC 10B No. 17): Bob and Alice each have a bag

More information

7.1 Solving Quadratic Equations by Graphing

7.1 Solving Quadratic Equations by Graphing Math 2201 Date: 7.1 Solving Quadratic Equations by Graphing In Mathematics 1201, students factored difference of squares, perfect square trinomials and polynomials of the form x 2 + bx + c and ax 2 + bx

More information

ECS 20 (Spring 2013) Phillip Rogaway Lecture 1

ECS 20 (Spring 2013) Phillip Rogaway Lecture 1 ECS 20 (Spring 2013) Phillip Rogaway Lecture 1 Today: Introductory comments Some example problems Announcements course information sheet online (from my personal homepage: Rogaway ) first HW due Wednesday

More information

Odd king tours on even chessboards

Odd king tours on even chessboards Odd king tours on even chessboards D. Joyner and M. Fourte, Department of Mathematics, U. S. Naval Academy, Annapolis, MD 21402 12-4-97 In this paper we show that there is no complete odd king tour on

More information

arxiv: v2 [cs.cc] 20 Nov 2018

arxiv: v2 [cs.cc] 20 Nov 2018 AT GALLEY POBLEM WITH OOK AND UEEN VISION arxiv:1810.10961v2 [cs.cc] 20 Nov 2018 HANNAH ALPET AND ÉIKA OLDÁN Abstract. How many chess rooks or queens does it take to guard all the squares of a given polyomino,

More information

6.042/18.062J Mathematics for Computer Science December 17, 2008 Tom Leighton and Marten van Dijk. Final Exam

6.042/18.062J Mathematics for Computer Science December 17, 2008 Tom Leighton and Marten van Dijk. Final Exam 6.042/18.062J Mathematics for Computer Science December 17, 2008 Tom Leighton and Marten van Dijk Final Exam Problem 1. [25 points] The Final Breakdown Suppose the 6.042 final consists of: 36 true/false

More information

Radio Labeling Cartesian Graph Products

Radio Labeling Cartesian Graph Products Radio Labeling Cartesian Graph Products Cynthia Wyels a a California State University Channel Islands Maggy Tomova b b University of Iowa Key words: radio number, radio labeling, Cartesian product 1 Introduction

More information

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following: CS 70 Discrete Mathematics for CS Spring 2006 Vazirani Lecture 17 Introduction to Probability The topic for the third and final major portion of the course is Probability. We will aim to make sense of

More information

TILING RECTANGLES AND HALF STRIPS WITH CONGRUENT POLYOMINOES. Michael Reid. Brown University. February 23, 1996

TILING RECTANGLES AND HALF STRIPS WITH CONGRUENT POLYOMINOES. Michael Reid. Brown University. February 23, 1996 Published in Journal of Combinatorial Theory, Series 80 (1997), no. 1, pp. 106 123. TILING RECTNGLES ND HLF STRIPS WITH CONGRUENT POLYOMINOES Michael Reid Brown University February 23, 1996 1. Introduction

More information

5. Suppose the points of a scatterplot lie close to the line 3x + 2y = 6. The slope of this line is: A) 3. B) 2/3. C) 3/2. D) 3/2.

5. Suppose the points of a scatterplot lie close to the line 3x + 2y = 6. The slope of this line is: A) 3. B) 2/3. C) 3/2. D) 3/2. DISCRETE MIDTERM REVIEW 1. An outlier is an individual value that: A) extends the pattern. B) deviates from the pattern. C) determines the strength of the relationship. D) outlines the general form of

More information

NOTES ON SEPT 13-18, 2012

NOTES ON SEPT 13-18, 2012 NOTES ON SEPT 13-18, 01 MIKE ZABROCKI Last time I gave a name to S(n, k := number of set partitions of [n] into k parts. This only makes sense for n 1 and 1 k n. For other values we need to choose a convention

More information

Outline. Content The basics of counting The pigeonhole principle Reading Chapter 5 IRIS H.-R. JIANG

Outline. Content The basics of counting The pigeonhole principle Reading Chapter 5 IRIS H.-R. JIANG CHAPTER 5 COUNTING Outline 2 Content The basics of counting The pigeonhole principle Reading Chapter 5 Most of the following slides are by courtesy of Prof. J.-D. Huang and Prof. M.P. Frank Combinatorics

More information

Name: Hoped-for Major:

Name: Hoped-for Major: Name: Hoped-for Major: Math 102: Math for Liberal Arts Sample Final Exam Read each question carefully, answer each question completely, and show all of your work. Write your solutions clearly and legibly;

More information

Honors Precalculus Chapter 9 Summary Basic Combinatorics

Honors Precalculus Chapter 9 Summary Basic Combinatorics Honors Precalculus Chapter 9 Summary Basic Combinatorics A. Factorial: n! means 0! = Why? B. Counting principle: 1. How many different ways can a license plate be formed a) if 7 letters are used and each

More information

Representing Square Numbers. Use materials to represent square numbers. A. Calculate the number of counters in this square array.

Representing Square Numbers. Use materials to represent square numbers. A. Calculate the number of counters in this square array. 1.1 Student book page 4 Representing Square Numbers You will need counters a calculator Use materials to represent square numbers. A. Calculate the number of counters in this square array. 5 5 25 number

More information

On uniquely k-determined permutations

On uniquely k-determined permutations On uniquely k-determined permutations Sergey Avgustinovich and Sergey Kitaev 16th March 2007 Abstract Motivated by a new point of view to study occurrences of consecutive patterns in permutations, we introduce

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

Problem Set 4 Due: Wednesday, November 12th, 2014

Problem Set 4 Due: Wednesday, November 12th, 2014 6.890: Algorithmic Lower Bounds Prof. Erik Demaine Fall 2014 Problem Set 4 Due: Wednesday, November 12th, 2014 Problem 1. Given a graph G = (V, E), a connected dominating set D V is a set of vertices such

More information

UK JUNIOR MATHEMATICAL CHALLENGE May 6th 2011

UK JUNIOR MATHEMATICAL CHALLENGE May 6th 2011 UK JUNIOR MATHEMATICAL CHALLENGE May 6th 2011 SOLUTIONS These solutions augment the printed solutions that we send to schools. For convenience, the solutions sent to schools are confined to two sides of

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

Lecture 20: Combinatorial Search (1997) Steven Skiena. skiena

Lecture 20: Combinatorial Search (1997) Steven Skiena.   skiena Lecture 20: Combinatorial Search (1997) Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Give an O(n lg k)-time algorithm

More information

Ramsey Theory The Ramsey number R(r,s) is the smallest n for which any 2-coloring of K n contains a monochromatic red K r or a monochromatic blue K s where r,s 2. Examples R(2,2) = 2 R(3,3) = 6 R(4,4)

More information

Food for Thought. Robert Won

Food for Thought. Robert Won SET R and AG(4, 3) Food for Thought Robert Won (Lafayette REU 2010 - Joint with M. Follett, K. Kalail, E. McMahon, C. Pelland) Partitions of AG(4, 3) into maximal caps, Discrete Mathematics (2014) February

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

Generating indecomposable permutations

Generating indecomposable permutations Discrete Mathematics 306 (2006) 508 518 www.elsevier.com/locate/disc Generating indecomposable permutations Andrew King Department of Computer Science, McGill University, Montreal, Que., Canada Received

More information

Quarter Turn Baxter Permutations

Quarter Turn Baxter Permutations Quarter Turn Baxter Permutations Kevin Dilks May 29, 2017 Abstract Baxter permutations are known to be in bijection with a wide number of combinatorial objects. Previously, it was shown that each of these

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

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6 CS100: DISCRETE STRUCTURES Lecture 8 Counting - CH6 Lecture Overview 2 6.1 The Basics of Counting: THE PRODUCT RULE THE SUM RULE THE SUBTRACTION RULE THE DIVISION RULE 6.2 The Pigeonhole Principle. 6.3

More information

Reading 14 : Counting

Reading 14 : Counting CS/Math 240: Introduction to Discrete Mathematics Fall 2015 Instructors: Beck Hasti, Gautam Prakriya Reading 14 : Counting In this reading we discuss counting. Often, we are interested in the cardinality

More information

Graph Theory: The Four Color Theorem

Graph Theory: The Four Color Theorem Graph Theory: The Four Color Theorem 9 April 2014 4 Color Theorem 9 April 2014 1/30 Today we are going to investigate the issue of coloring maps and how many colors are required. We ll see that this is

More information

Congruence. Solving linear congruences. A linear congruence is an expression in the form. ax b (modm)

Congruence. Solving linear congruences. A linear congruence is an expression in the form. ax b (modm) Congruence Solving linear congruences A linear congruence is an expression in the form ax b (modm) a, b integers, m a positive integer, x an integer variable. x is a solution if it makes the congruence

More information

The Apprentices Tower of Hanoi

The Apprentices Tower of Hanoi Journal of Mathematical Sciences (2016) 1-6 ISSN 272-5214 Betty Jones & Sisters Publishing http://www.bettyjonespub.com Cory B. H. Ball 1, Robert A. Beeler 2 1. Department of Mathematics, Florida Atlantic

More information

November 6, Chapter 8: Probability: The Mathematics of Chance

November 6, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 6, 2013 Last Time Crystallographic notation Groups Crystallographic notation The first symbol is always a p, which indicates that the pattern

More information

Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions

Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions CS 70 Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions PRINT Your Name: Oski Bear SIGN Your Name: OS K I PRINT Your Student ID: CIRCLE your exam room: Pimentel

More information

Approximation Algorithms for Conflict-Free Vehicle Routing

Approximation Algorithms for Conflict-Free Vehicle Routing Approximation Algorithms for Conflict-Free Vehicle Routing Kaspar Schupbach and Rico Zenklusen Παπαηλίου Νικόλαος CFVRP Problem Undirected graph of stations and roads Vehicles(k): Source-Destination stations

More information

Formulas for Primes. Eric Rowland Hofstra University. Eric Rowland Formulas for Primes / 27

Formulas for Primes. Eric Rowland Hofstra University. Eric Rowland Formulas for Primes / 27 Formulas for Primes Eric Rowland Hofstra University 2018 2 14 Eric Rowland Formulas for Primes 2018 2 14 1 / 27 The sequence of primes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

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

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. MATH 00 -- PRACTICE EXAM 3 Millersville University, Fall 008 Ron Umble, Instr. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. For the given question,

More information

arxiv:cs/ v2 [cs.cc] 27 Jul 2001

arxiv:cs/ v2 [cs.cc] 27 Jul 2001 Phutball Endgames are Hard Erik D. Demaine Martin L. Demaine David Eppstein arxiv:cs/0008025v2 [cs.cc] 27 Jul 2001 Abstract We show that, in John Conway s board game Phutball (or Philosopher s Football),

More information

lecture notes September 2, Batcher s Algorithm

lecture notes September 2, Batcher s Algorithm 18.310 lecture notes September 2, 2013 Batcher s Algorithm Lecturer: Michel Goemans Perhaps the most restrictive version of the sorting problem requires not only no motion of the keys beyond compare-and-switches,

More information

Problem Set 8 Solutions R Y G R R G

Problem Set 8 Solutions R Y G R R G 6.04/18.06J Mathematics for Computer Science April 5, 005 Srini Devadas and Eric Lehman Problem Set 8 Solutions Due: Monday, April 11 at 9 PM in oom 3-044 Problem 1. An electronic toy displays a 4 4 grid

More information

Analysis of Power Assignment in Radio Networks with Two Power Levels

Analysis of Power Assignment in Radio Networks with Two Power Levels Analysis of Power Assignment in Radio Networks with Two Power Levels Miguel Fiandor Gutierrez & Manuel Macías Córdoba Abstract. In this paper we analyze the Power Assignment in Radio Networks with Two

More information

Midterm 2 6:00-8:00pm, 16 April

Midterm 2 6:00-8:00pm, 16 April CS70 2 Discrete Mathematics and Probability Theory, Spring 2009 Midterm 2 6:00-8:00pm, 16 April Notes: There are five questions on this midterm. Answer each question part in the space below it, using the

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

Counting integral solutions

Counting integral solutions Thought exercise 2.2 20 Counting integral solutions Question: How many non-negative integer solutions are there of x 1 +x 2 +x 3 +x 4 = 10? Thought exercise 2.2 20 Counting integral solutions Question:

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

Southeastern European Regional Programming Contest Bucharest, Romania Vinnytsya, Ukraine October 21, Problem A Concerts

Southeastern European Regional Programming Contest Bucharest, Romania Vinnytsya, Ukraine October 21, Problem A Concerts Problem A Concerts File: A.in File: standard output Time Limit: 0.3 seconds (C/C++) Memory Limit: 128 megabytes John enjoys listening to several bands, which we shall denote using A through Z. He wants

More information

Ideas beyond Number. Teacher s guide to Activity worksheets

Ideas beyond Number. Teacher s guide to Activity worksheets Ideas beyond Number Teacher s guide to Activity worksheets Learning objectives To explore reasoning, logic and proof through practical, experimental, structured and formalised methods of communication

More information

Lower Bounds for the Number of Bends in Three-Dimensional Orthogonal Graph Drawings

Lower Bounds for the Number of Bends in Three-Dimensional Orthogonal Graph Drawings ÂÓÙÖÒÐ Ó ÖÔ ÐÓÖØÑ Ò ÔÔÐØÓÒ ØØÔ»»ÛÛÛº ºÖÓÛÒºÙ»ÔÙÐØÓÒ»» vol.?, no.?, pp. 1 44 (????) Lower Bounds for the Number of Bends in Three-Dimensional Orthogonal Graph Drawings David R. Wood School of Computer Science

More information

Towards generalizing thrackles to arbitrary graphs

Towards generalizing thrackles to arbitrary graphs Towards generalizing thrackles to arbitrary graphs Jin-Woo Bryan Oh PRIMES-USA; Mentor: Rik Sengupta May 18, 2013 Thrackles and known results Thrackles and known results What is a thrackle? Thrackles and

More information

Latin Squares for Elementary and Middle Grades

Latin Squares for Elementary and Middle Grades Latin Squares for Elementary and Middle Grades Yul Inn Fun Math Club email: Yul.Inn@FunMathClub.com web: www.funmathclub.com Abstract: A Latin square is a simple combinatorial object that arises in many

More information

Solutions to Problem Set 7

Solutions to Problem Set 7 Massachusetts Institute of Technology 6.4J/8.6J, Fall 5: Mathematics for Computer Science November 9 Prof. Albert R. Meyer and Prof. Ronitt Rubinfeld revised November 3, 5, 3 minutes Solutions to Problem

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

Section continued: Counting poker hands

Section continued: Counting poker hands 1 Section 3.1.5 continued: Counting poker hands 2 Example A poker hand consists of 5 cards drawn from a 52-card deck. 2 Example A poker hand consists of 5 cards drawn from a 52-card deck. a) How many different

More information

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1: Block 1 - Sets and Basic Combinatorics Main Topics in Block 1: A short revision of some set theory Sets and subsets. Venn diagrams to represent sets. Describing sets using rules of inclusion. Set operations.

More information

Checkpoint Questions Due Monday, October 7 at 2:15 PM Remaining Questions Due Friday, October 11 at 2:15 PM

Checkpoint Questions Due Monday, October 7 at 2:15 PM Remaining Questions Due Friday, October 11 at 2:15 PM CS13 Handout 8 Fall 13 October 4, 13 Problem Set This second problem set is all about induction and the sheer breadth of applications it entails. By the time you're done with this problem set, you will

More information

The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n

The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n Chapter 5 Chapter Summary 5.1 The Basics of Counting 5.2 The Pigeonhole Principle 5.3 Permutations and Combinations 5.5 Generalized Permutations and Combinations Section 5.1 The Product Rule The Product

More information

1999 Mathcounts National Sprint Round Solutions

1999 Mathcounts National Sprint Round Solutions 999 Mathcounts National Sprint Round Solutions. Solution: 5. A -digit number is divisible by if the sum of its digits is divisible by. The first digit cannot be 0, so we have the following four groups

More information

FORTY-FOURTH ANNUAL MICHIGAN MATHEMATICS PRIZE COMPETITION. sponsored by The Michigan Section of the Mathematical Association of America.

FORTY-FOURTH ANNUAL MICHIGAN MATHEMATICS PRIZE COMPETITION. sponsored by The Michigan Section of the Mathematical Association of America. FORTY-FOURTH ANNUAL MICHIGAN MATHEMATICS PRIZE COMPETITION sponsored by The Michigan Section of the Mathematical Association of America Part I October 11, 2000 INSTRUCTIONS (to be read aloud to the students

More information

Section Summary. Permutations Combinations Combinatorial Proofs

Section Summary. Permutations Combinations Combinatorial Proofs Section 6.3 Section Summary Permutations Combinations Combinatorial Proofs Permutations Definition: A permutation of a set of distinct objects is an ordered arrangement of these objects. An ordered arrangement

More information