Discrete Structures. Fall Homework3

Similar documents
Discrete Mathematics Exam File Fall Exam #1

Combinatorics: The Fine Art of Counting

Discrete Structures Lecture The Basics of Counting

Section Sets and Set Operations

396 6 / Counting 6.1. Exercises

CSE 20 DISCRETE MATH WINTER

Math 187 Sample Test II Questions

1. Find f(1), f(2), f(3), and f(4) if f(n) is defined recursively by f(0) = 1 and for n = 0, 1, 2,

Math 3336 Section 6.1 The Basics of Counting The Product Rule The Sum Rule The Subtraction Rule The Division Rule

Math 55 - Spring Lecture notes # 14 - March 9 (Tuesday)

Solution : a) C(18, 1)C(325, 1) = 5850 b) C(18, 1) + C(325, 1) = 343

IMO Training 2010 Double Counting Victoria Krakovna. Double Counting. Victoria Krakovna

Lamé s Theorem. Strings. Recursively Defined Sets and Structures. Recursively Defined Sets and Structures

MTH-129 Review for Test 4 Luczak

Math 574 Review Exam #1

Indicate the option which most accurately completes the sentence.

Computer Science 236 Fall Nov. 11, 2010

MC 302 GRAPH THEORY 10/1/13 Solutions to HW #2 50 points + 6 XC points

Section 6.3: Further Rules for Counting Sets


Discrete mathematics , Fall Instructor: prof. János Pach

The transition: Each student passes half his store of candies to the right. students with an odd number of candies eat one.

1. (15 points) Solve the decanting problem for containers of sizes 199 and 179; that is find integers x and y satisfying.

Math Summer 2012

SET DEFINITION 1 elements members

2. There are 7 people to be seated at a round table. How many seating arrangements are possible? How many times must they change places so that

SECTION 5.1. Sequences

To illustrate what is intended the following are three write ups by students. Diagonalization

Combinatorics: The Fine Art of Counting

HMMT February 2018 February 10, 2018

CSE 21 Mathematics for

BHARATHIDASAN ENGINEERING COLLEGE NATTARAMPALLI Department of Science and Humanities CS6702-GRAPH THEORY AND APPLICATION

Math 221 Final Exam Review

CS 173 [A]: Discrete Structures, Fall 2012 Homework 8 Solutions

STUDENT NUMBER: MATH Final Exam. Lakehead University. April 13, Dr. Adam Van Tuyl

1KOd17RMoURxjn2 CSE 20 DISCRETE MATH Fall

4&5 Binary Operations and Relations. The Integers. (part I)

THE PRINCIPLE OF INDUCTION. MARK FLANAGAN School of Electrical, Electronic and Communications Engineering University College Dublin

Week 12: Trees; Review. 22 and 24 November, 2017

Bulgarian Math Olympiads with a Challenge Twist

An Introduction to Combinatorics and Graph Theory. David Guichard

CS1800 Discrete Structures Fall 2017 October 25, CS1800 Discrete Structures Midterm Version B

2.) From the set {A, B, C, D, E, F, G, H}, produce all of the four character combinations. Be sure that they are in lexicographic order.

CSE 20 DISCRETE MATH. Winter

Binomial Coefficients

BMO Round 1 Problem 6 Solutions

2.2 Set Operations. Introduction DEFINITION 1. EXAMPLE 1 The union of the sets {1, 3, 5} and {1, 2, 3} is the set {1, 2, 3, 5}; that is, EXAMPLE 2

Induction Review. Graphs. EECS 310: Discrete Math Lecture 5 Graph Theory, Matching. Common Graphs. a set of edges or collection of two-elt subsets

Math 30-1 Sample Test Questions

Chapter Summary. Mathematical Induction Recursive Definitions Structural Induction Recursive Algorithms

Combinatorics: The Fine Art of Counting

Recursively Defined Functions

Section 2.2: Introducing Permutations and Factorial Notation

Data Management Page 1 of 12 Permutations Extra Problems (solutions)

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

Finnish National High School Mathematics Competition

An Introduction to Combinatorics and Graph Theory. David Guichard

CS70: Discrete Math and Probability. Fan Ye June 23, 2016

1. Chapter 1, # 1: Prove that for all sets A, B, C, the formula

Practice Final Exam Solutions

Discrete Mathematics 2 Exam File Spring 2012

Graph Algorithms. Chromatic Polynomials. Graph Algorithms

Recursive Definitions Structural Induction Recursive Algorithms

Winning Positions in Simplicial Nim

CS70 - Lecture 6. Graphs: Coloring; Special Graphs. 1. Review of L5 2. Planar Five Color Theorem 3. Special Graphs:

Extremal Graph Theory: Turán s Theorem

Recursion defining an object (or function, algorithm, etc.) in terms of itself. Recursion can be used to define sequences

It is important that you show your work. There are 134 points available on this test.

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final

Math 4410 Fall 2010 Exam 3. Show your work. A correct answer without any scratch work or justification may not receive much credit.

5 Matchings in Bipartite Graphs and Their Applications

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final

CS1800 Discrete Structures Fall 2017 October 25, CS1800 Discrete Structures Midterm Version B

5 Graphs

2009 HMMT Team Round. Writing proofs. Misha Lavrov. ARML Practice 3/2/2014

Sums and Geometry + =

Connecting Statements. Today. First there was logic jumping forward.. ..and then proofs and then induction...

Lab Manual. Program Design and File Structures (P): IT-219

Introduction to Higher Mathematics: Combinatorics and Graph Theory

Solutions to Problem Set 5

1. A busy airport has 1500 takeo s perday. Provetherearetwoplanesthatmusttake o within one minute of each other. This is from Bona Chapter 1 (1).

Math 302 Introduction to Proofs via Number Theory. Robert Jewett (with small modifications by B. Ćurgus)

CSE Discrete Structures

Problem Set 7 Solutions

CS1800 Discrete Structures Spring 2017 Profs. Gold & Schnyder April 28, CS1800 Discrete Structures Final

Today. Finish Euclid. Bijection/CRT/Isomorphism. Review for Midterm.

Discrete Mathematics SECOND EDITION OXFORD UNIVERSITY PRESS. Norman L. Biggs. Professor of Mathematics London School of Economics University of London

CSCI FOUNDATIONS OF COMPUTER SCIENCE

HW Graph Theory SOLUTIONS (hbovik) - Q

Mathematical Induction

Basic Counting Principles: The Product Rule

Catalan Numbers. Table 1: Balanced Parentheses

Integers and Mathematical Induction

CPSC 121 Sample Final Examination December 2013

ECE G205 Fundamentals of Computer Engineering Fall Exercises in Preparation to the Midterm

Solutions to In Class Problems Week 9, Fri.

LESSON 1: INTRODUCTION TO COUNTING

Math Circles: Pigeons and Rams(ey)

Lecture 16: Introduction to Dynamic Programming Steven Skiena. Department of Computer Science State University of New York Stony Brook, NY

5.3 Recursive definitions and structural induction

Transcription:

Discrete Structures Fall 2015 Homework3 Chapter 5 1. Section 5.1 page 329 Problems: 3,5,7,9,11,15 3. Let P(n) be the statement that 1 2 + 2 2 + +n 2 = n(n + 1)(2n + 1)/6 for the positive integer n. a) What is the statement P(1)? b) Show that P(1) is true, completing the basis step of the proof. c) What is the inductive hypothesis? d) What do you need to prove in the inductive step? e) Complete the inductive step, identifying where you use the inductive hypothesis. f ) Explain why these steps show that this formula is true whenever n is a positive integer. 5. Prove that 1 2 + 3 2 + 5 2 + +(2n + 1) 2 = (n + 1) (2n + 1)(2n + 3)/3 whenever n is a nonnegative integer.

7. Prove that 3+3 5+3 5 2 + + 3 5 n =3(5 n+1 1)/4 whenever n is a nonnegative integer. 9. a) Find a formula for the sum of the first n even positive integers. b) Prove the formula that you conjectured in part (a).

1. Section 5.3 page 357 Problems: 5,7,9,11 5. Determine whether each of these proposed definitions is a valid recursive definition of a function f from the set of nonnegative integers to the set of integers. If f is well defined, find a formula for f (n) when n is a nonnegative integer and prove that your formula is valid. a) f (0) = 0, f (n) = 2f (n 2) for n 1 b) f (0) = 1, f (n) = f (n 1) 1 for n 1 c) f (0) = 2, f (1) = 3, f (n) = f (n 1) 1 for n 2 d) f (0) = 1, f (1) = 2, f (n) = 2f (n 2) for n 2 e) f (0) = 1, f (n) = 3f (n 1) if n is odd and n 1 and f (n) = 9f (n 2) if n is even and n 2 7. Give a recursive definition of the sequence {an}, n = 1, 2, 3,... if a) an = 6n. b) an = 2n + 1. c) an = 10 n. d) an = 5. 9. Let F be the function such that F(n) is the sum of the first n positive integers. Give a recursive definition of F(n).

11. Give a recursive definition of Pm(n), the product of the integer m and the nonnegative integer n.

Chapter 6 1. Section6.1 page 396 Problems: 7,9,11,13,15,21,23,33,53 7. How many different three-letter initials can people have? 9. How many different three-letter initials are there that begin with an A? 11. How many bit strings of length ten both begin and end with a 1? 13. How many bit strings with length not exceeding n, where n is a positive integer, consist entirely of 1s, not counting the empty string? 15. How many strings are there of lowercase letters of length four or less, not counting the empty string? 21. How many positive integers between 50 and 100 a) are divisible by 7? Which integers are these? b) are divisible by 11? Which integers are these? c) are divisible by both 7 and 11? Which integers are these? 23. How many positive integers between 100 and 999 inclusive a) are divisible by 7? b) are odd? c) have the same three decimal digits? d) are not divisible by 4? e) are divisible by 3 or 4? f) F) are not divisible by either 3 or 4? g) are divisible by 3 but not by 4? h) are divisible by 3 and 4?

33. How many strings of eight English letters are there a) that contain no vowels, if letters can be repeated? b) that contain no vowels, if letters cannot be repeated? c) that start with a vowel, if letters can be repeated? d) that start with a vowel, if letters cannot be repeated? e) that contain at least one vowel, if letters can be repeated? f ) that contain exactly one vowel, if letters can be repeated? g) that start with X and contain at least one vowel, if letters can be repeated? h) that start and end with X and contain at least one vowel, if letters can be repeated? 53. How many positive integers not exceeding 100 are divisible either by 4 or by 6?

2. Section 6.2 page 405 Problems: 1,5,7,9,21,23 1. Show that in any set of six classes, each meeting regularly once a week on a particular day of the week, there must be two that meet on the same day, assuming that no classes are held on weekends. 5. Show that among any group of five (not necessarily consecutive) integers, there are two with the same remainder when divided by 4. 7. Let n be a positive integer. Show that in any set of n consecutive integers there is exactly one divisible by n. 9. What is the minimum number of students, each of whom comes from one of the 50 states, who must be enrolled in a university to guarantee that there are at least 100 who come from the same state? 21. Construct a sequence of 16 positive integers that has no increasing or decreasing subsequence of five terms. 23. Show that whenever 25 girls and 25 boys are seated around a circular table there is always a person both of whose neighbors are boys.

3. Section6.3 page 413 Problems: 3,5,7,9,11,13,15,17,27,33,37 3. How many permutations of {a, b, c, d, e, f, g} end with a? 5. Find the value of each of these quantities. a) P(6, 3) b) P(6, 5) c) P(8, 1) e) P(8, 5) e) P(8, 8) f ) P(10, 9) 7. Find the number of 5-permutations of a set with nine elements. 9. How many possibilities are there for the win, place, and show (first, second, and third) positions in a horse race with 12 horses if all orders of finish are possible? 11. How many bit strings of length 10 contain a) exactly four 1s? b) at most four 1s? c) at least four 1s? d) an equal number of 0s and 1s?

13. A group contains n men and n women. How many ways are there to arrange these people in a row if the men and women alternate? 15. In how many ways can a set of five letters be selected from the English alphabet? 17. How many subsets with more than two elements does a set with 100 elements have? 27. A club has 25 members. a) How many ways are there to choose four members of the club to serve on an executive committee? b) How many ways are there to choose a president, vice president, secretary, and treasurer of the club, where no person can hold more than one office? 33. Suppose that a department contains 10 men and 15 women. How many ways are there to form a committee with six members if it must have the same number of men and women? 37. How many bit strings of length 10 contain at least three 1s and at least three 0s?

4. Section 6.4 page 421 Problems: 1,3,5,9,13 1. Find the expansion of (x + y) 4 a) using combinatorial reasoning, as in Example 1. b) using the binomial theorem. 3. Find the expansion of (x + y) 6. 5. How many terms are there in the expansion of (x + y) 100 after like terms are collected? 9. What is the coefficient of x101y99 in the expansion of (2x 3y) 200? 13. What is the row of Pascal s triangle containing the binomial coefficients _9 k_, 0 k 9?