

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The fall 2006 cs173 discrete mathematical structures homework #9. The homework consists of problems related to the pigeonhole principle, combinatorial proof, and binomial coefficients. Students are required to solve problems related to showing that consecutive addresses exist on a street, proving that any set of nonempty strings over {a, b, c, d} have two strings with matching starting and ending letters, and finding terms and coefficients in the binomial expansion.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


1. The Pigeonhole Principle (10 points) a. (5 points) There are 26 houses on a street. Each house has a distinct address between 1000 and 1049, inclusive. Show that at least two houses have addresses that are consecutive integers. Hint : Group all available addresses into pairs of consecutive numbers. Take them as “pigeonholes”. b. (5 points) Prove that any set of 17 nonempty strings over { a , b , c , d } have two different strings whose starting letters agree and ending letters agree. Hint : Nonempty strings over { a , b , c , d } can be any size greater than 0, can use any combination of letters, and can have any order. We are only concerned with the starting and ending letters of strings. 2. Combinatorial Proof (8 points) Give a combinatorial proof that if n is a positive integer then 2 2
n (^) n k
Hints :
. Match these two terms with the following two situations: the two elements chosen are different, and the two elements chosen are the same.
3. Binomial Coefficients (10 points + 6 bonus points) a. (5 points) Find the 2nd^ term of the expansion of 200 3
from 0th^ term, then 1st^ term, 2nd^ term, 3rd^ term, etc.). Then find the coefficient of (^300)
in this expansion. Is there a constant term in the expansion? If yes, find it. If no, give a brief explanation.
, where k is an integer. Hints :
1. List a few terms of the expansion to find the property of k. What is the range of k? Are they a multiple of some integer? 2. Your formula should look like a piecewise function. 3. Pay attention to the +/- sign of each term. c. (5 points) Use the binomial theorem to prove that
n
4. Combination & Permutation (18 points) For each of the following question, show the expression. Do not calculate the final solution. a. (10 points) How many bit strings (strings over {0, 1}) of length 12 contain 1. exactly three 1s? 2. at most three 1s? 3. at least four 1s? 4. an equal number of 0s and 1s? 5. more 0s than 1s? b. (8 points) How many strings of six lowercase letters from the English alphabet contain 1. the letter x? 2. the letters x and y? 3. the letters x and y in consecutive positions with x preceding y , with all the letters distinct? 4. the letters x and y , where x is somewhere to the left of y in the string, with all the letters distinct?