Basic Combinatorics, Spring 2015

Size: px
Start display at page:

Download "Basic Combinatorics, Spring 2015"

Transcription

1 Basic Combinatorics, Spring 2015 Department of Mathematics, University of Notre Dame Instructor: David Galvin This document includes homeworks, quizzes and exams, and some supplementary notes Abstract from the Spring 2015 incarnation of Math Basic Combinatorics, an undergraduate course offered by the Department of Mathematics at the University of Notre Dame. The notes have been written in a single pass, and as such may well contain typographical (and sometimes more substantial) errors. Comments and corrections will be happy received at dgalvin1@nd.edu. Contents 1 General information about homework 3 2 Homework 1 (due January 23) 4 3 Homework 2 (due January 30) 12 4 Quiz 1 (February 4) 20 5 Quiz 1 Solutions 21 6 Homework 3 (due February 13) 22 7 Homework 3 Solutions 30 8 Homework 4 (due February 27) 34 9 Homework 4 Solutions Quiz 2 (February 25) Quiz 2 Solutions Midsemester exam (March 4) Homework 5 (due March 20) Graph terminology Homework 6 (due April 1) 61 1

2 16 Quiz 3 (March 30) Homework 7 (due April 20) Homework 8 (due April 29) 71 2

3 1 General information about homework In general homework will be assigned on a Friday, and will be due in class the following Friday. As they are assigned, homework problems will be added to this document, and will be posted on the website. At the same time I will make an announcement. I will distribute a printout of the homework problems in class each week, with plenty of blank space. The solutions that you submit should be presented on this printout (using the flip side of a page if necessary). You may also print out the relevant pages from the website; if you do so, you must staple your pages together. I reserve the right to not grade any homework that is not presented on the printout, and deduct points for homework that is not stapled. The weekly homework is an important part of the course; it gives you a chance to think more deeply about the material, and to go from seeing (in lectures) to doing. It s also your opportunity to show me that you are engaging with the course topics. Homework is an essential part of your learning in this course, so please take it very seriously. It is extremely important that you keep up with the homework, as if you do not, you may quickly fall behind in class and find yourself at a disadvantage during exams. You should treat the homework as a learning opportunity, rather than something you need to get out of the way. Reread, revise, and polish your solutions until they are correct, concise, efficient, and elegant. This will really deepen your understanding of the material. I encourage you to talk with your colleagues about homework problems, but your final write-up must be your own work. Homework solutions should be complete (and in particular presented in complete sentences), with all significant steps justified. I reserves the right to not grade any homework that is disorganized and incoherent. 3

4 2 Homework 1 (due January 23) Name: The purpose of this homework is to get used to using the pigeon-hole principle and the method of induction. Reading: Chapters 1 and 2 of the textbook points are placed in an equilateral triangle of side length 1. Prove that two of the points are within distance 1/4 of each other. 4

5 2. (a) Select n + 1 distinct whole numbers between 1 and 2n. Prove that two of the numbers are coprime. (Numbers a and b are coprime if the greatest common divisor of a and b is 1.) (b) Is the conclusion still true if instead n numbers are selected? 5

6 3. For each n, exhibit a sequence of n 2 real numbers that has neither a monotone increasing subsequence of length n + 1, nor a monotone decreasing subsequence of length n + 1 (this shows the the bound in the Erdős-Szekeres theorem that we saw in class is tight). 6

7 4. Select 10 distinct two digit numbers. Prove that is is possible to select disjoint subsets A, B of the set of chosen numbers, so that the sum of the elements of A equals the sum of the elements of B. 7

8 5. Prove (by induction on n) that for all n 1, n 2 n. (One can also prove by induction that the sum is at least 2( n + 1 1), and so get a very good estimate for n i=1 i 1/2.) 8

9 6. The sum of the first n perfect kth powers turns out to be a polynomial in n of degree k + 1. For example, n = n 2 = n 3 = n(n + 1) 2 n(n + 1)(2n + 1) 6 ( ) n(n + 1) 2. 2 Proof the second of these identities ( n 2 =...) by induction on n. 9

10 7. You are given a 64 by 64 chessboard, and 1365 L-shaped tiles (2 by 2 tiles with one square removed). One of the squares of the chessboard is painted purple. Is it possible to tile the chessboard using the given tiles, leaving only the purple square exposed? 10

11 8. In class we defined the number U(n) to be the number of different ways that people can be seated in a row of n adjacent chairs in an unfriendly way: no two adjacent chairs are occupied. We gave the following recursive specification of U(n): U(1) = 2, U(2) = 3 and U(n) = U(n 1) + U(n 2) for n 3, and we proved by induction that U(n) 1.25φ n, where φ = (1 + 5)/2. Given an inductive proof of the following near-matching lower bound: there is a constant C > 0 (as part of your solution, you should figure out an explicit value for C) such that for all n 1, U(n) Cφ n. 11

12 3 Homework 2 (due January 30) Name: The purpose of this homework is to become comfortable with the six basic counting problems introduced in lectures. Reading: Chapter 3 of the textbook. 1. (a) How many subsets does [n] have, that contain none of the elements 1, 2? (The notation [n] is shorthand for {1, 2, 3,..., n}.) (b) How many subsets does [n] have, that contain at least one of the elements 1, 2? (c) How many subsets does [n] have, that contain both of the elements 1, 2? 12

13 2. In how many ways can the elements of [n] be permuted (arranged in order), in such a way that 1 is listed later than both 2 and 3? 13

14 3. Let n = p a 1 1 pa pa k k be the prime factorization of n (so each of the p i s are distinct prime numbers, p 1 < p 2 <... < p k, and each a i is a positive (non-zero) whole number). How many positive factors (including 1 and n) does n have? 14

15 4. Andy and Barbara play a game: they roll four dice. If at least one of the dice comes up six, Andy wins the game, and otherwise Barbara does. (a) In how many different ways can the game proceed (assuming the dice are distinguishable from each other)? (b) In how many of these ways does Andy win? (c) In how many of these ways does Barbara win? 15

16 5. In how many different ways can n rooks be placed on an n-by-n chessboard, with no two rooks attacking each other? (Two rooks attack each other if they are either in the same row as each other, or the same column). 16

17 6. My class has n sophomores, n juniors and n seniors. In how many ways can the class break up into n triples, with each triple including one sophomore, one junior and one senior? (The order of people within each group doesn t matter, nor does the order in which the groups are created.) 17

18 7. I invite n couples to a party. I want to ask some subset (perhaps empty) of the 2n attendees to give a speech, but I don t want to ask both members of any couple. In how many ways can I do this? [Your answer might be quite simple, or it might be a slightly less simple sum of binomial coefficients.] 18

19 8. For all n 1, the number of even-sized subsets of {1,..., n} is equal to the number of oddsized subsets of {1,..., n}. Proof this bijectively. Meaning: let E n be the set of even-sized subsets of {1,..., n}, and let O n be the set of odd-sized subsets of {1,..., n}. Give a bijection f : E n O n. Don t forget to prove that the function you give is both injective and surjective. 19

20 4 Quiz 1 (February 4) Name: 1. How many different anagrams does the word MISSISSIPPI have? (The four S s are indistinguishable from one another, as are the four I s and two P s.) 2. Give a combinatorial proof of the binomial coefficient identity ( ) ( ) n n 1 k = n, k k 1 by describing a counting problem whose answer is both the left- and right-hand side of the above equality, depending on how you count. Clearly describe both ways of counting. 20

21 5 Quiz 1 Solutions 1. How many different anagrams does the word MISSISSIPPI have? (The four S s are indistinguishable from one another, as are the four I s and two P s.) Solution: 11! 4!4!2!. 2. Give a combinatorial proof of the binomial coefficient identity ( ) ( ) n n 1 k = n, k k 1 by describing a counting problem whose answer is both the left- and right-hand side of the above equality, depending on how you count. Clearly describe both ways of counting. Solution: We count the number of committees-of-size-k-with-chair that can be selected from n people. One way to make the selection is to first choose the committee of size k ( ( n k) ways), then from among the members of the committee select the chair (k ways), leading to a count of k ( n k). Another way to make the selection is to first choose the chair (n ways), then from the remaining n 1 choose the remaining k 1 members of the committee ( ( ) ( n 1 k 1 ways), leading to a count of n n 1 k 1). 21

22 6 Homework 3 (due February 13) Name: The purpose of this homework is to explore the binomial theorem, and some distribution problems. Reading: Sections 4.1, 4.2, 5.1 and 5.2 of the textbook. 1. Prove that for all n 0, n k=0 ( ) n 2 = k ( ) 2n. n 22

23 2. Fix n 2. Using induction on k, show that for 0 k n, k ( ) n ( 1) i i i=0 ( ) n 1 = ( 1) k. k (Note that the right-hand side is the alternating sum of the terms on row k of Pascal s triangle, up to ( ) n k. Plugging in k = n gives the identity n i=0 ( 1)( n i) = 0). 23

24 3. Prove that for all n > 1, we have n k=0 ( 1) k+1 k + 1 ( ) n = 1 k n + 1. [Hint: look at our analytic proof of the committee-chair identity from class]. 24

25 4. Among all the compositions of 15, how many do not have 1 as the first part? [Justify your answer!] 25

26 5. How many compositions of n have an even number of parts? [Justify your answer!] 26

27 6. Let F (n) denote the number of partitions of the set [n] with no blocks of size one. Prove that B(n) = F (n) + F (n + 1). Ideally, your solution should involve a bijection. 27

28 7. Prove that the following identity involving the Stirling numbers of the second kind is correct: Let f(x) = e ex. For n 0, d n dx n f(x) = f(x) S(n, k)e kx. k 0 [Hint: induction on [n]. Use the Stirling recurrence!] 28

29 8. Prove that for n 3, S(n, 3) = 1 6 (3n 3 2 n + 3). (The formula works also for n = 1 and 2, but it s easier to think about it when n 3.) 29

30 7 Homework 3 Solutions 1. Prove that for all n 0, n k=0 ( ) n 2 = k ( ) 2n. n Solution: Consider a group of 2n people, n women and n men. RHS counts number of ways of selecting n people from among the 2n, without regard to gender split. LHS counts same thing, by first deciding how many (k) women are selected (k = 0,..., n), then selecting the k women ( ( ( n k) choices), then deciding who are the k men not selected ( n k) choices), leaving the remaining n k men to go together with the k women to make n selected in all. 2. Fix n 2. Using induction on k, show that for 0 k n, k ( ) n ( 1) i i i=0 ( ) n 1 = ( 1) k. k Solution: Base case k = 0: assertion is that ( 1) 0( ) n 0 = ( 1) 0 ( ) n 1 0, which reduces to 1 = 1 so is true. Induction step: assume the statement is true for some 0 k n 1. Then k+1 ( ) n ( 1) i i i=0 ( ) n k ( ) n = ( 1) k+1 + ( 1) i k + 1 i i=0 ( ) ( ) n n 1 = ( 1) k+1 + ( 1) k k + 1 k (( ) ( )) n n 1 = ( 1) k+1 k + 1 k ( ) n 1 = ( 1) k+1 (Pascal), k + 1 so the statement is true for k + 1. This completes the induction. 3. Prove that for all n > 1, we have n k=0 ( 1) k+1 k + 1 ( ) n = 1 k n + 1. (induction Solution: Let f(x) = (1 + x) n and g(x) = n ( n k=0 k) x k. By the binomial theorem, f(x) = g(x). An antiderivative of f(x) is F (x) = (1+x)n+1 n+1, and an antiderivative of g(x) is G(x) = n ( n x k+1 k=0 k) k+1. From calculus we know that there is a constant C such that k=0 F (x) = G(x) + C. Evaluating both sides at x = 0, get 1/(n + 1) = C. Evaluating both sides at x = 1, get n ( 1) k+1 ( ) n 0 = + 1 k + 1 k n + 1, as required. 30

31 4. Among all the compositions of 15, how many do not have 1 as the first part? [Justify your answer!] Solution: Compositions of 16 that have 1 as their first part are in bijective correspondence with compositions of 14 (the correspondence is obtained by simply deleting the 1 at the beginning of the composition). From class we know that 14 has 2 13 compositions, an 15 has 2 14 compositions. So the number of compositions of 15 that do not have 1 as the first part is = How many compositions of n have an even number of parts? [Justify your answer!] Solution: We know from class that n has ( n 1 k 1) compositions with exactly k parts, so the number of compositions with an even number of parts is ( n ) + ( n ) + Now from class we know that ( ) ( ) n 1 n ( n ( n 1 and ( ) n so ( ) n ( n 1 ) +... = ) +... = ( n 1 2 ) + ) + ( n 1 5 ( n 1 1 ( n 1 0 ( n 1 3 ) + ) + ( n 1 3 ( n 1 2 ) + ) + ) +... = 2 n 1 ( n 1 ) +... = 1 2 2n 1 = 2 n 2, so the number of compositions of n with an even number of parts is 2 n 2. 5 ( n 1 4 ) ) Let F (n) denote the number of partitions of the set [n] with no blocks of size one. Prove that B(n) = F (n) + F (n + 1). Ideally, your solution should involve a bijection. Solution: Let B n be the set of partitions of [n] into non-empty blocks, F n the set of partitions of [n] into non-empty blocks, none of which have size 1, and F n+1 the set of partitions of [n+1] into non-empty blocks, none of which have size 1. We want (note that F n and F n+1 are disjoint). B n = F n + F n+1 Notice that F n B n. Let B n = B n \ F n. Since B n = B n F n, we will be done if we show B n = F n+1. We ll do this via a bijection. Given an element of p of B n, take all the blocks of size 1 in p (there must be at least 1), take their union, and add element n + 1. Together with the remaining blocks of p, we get a partition of [n+1] with no blocks of size 1, so an element of F n+1. The map we have described is injective: if p p, then either p and p have different singleton blocks, in which case the images of p and p can be told apart by the block containing n + 1, or they have different 31

32 non-singleton blocks, in which case the images can be told apart by the blocks not containing n + 1. It is also surjective: if q is an element of F n+1, then in q n + 1 is in a block with some other numbers. Remove n + 1 from this block, and split up what is left into singleton blocks. The resulting partition p is in B n, and its image is q. So the map is a bijection and we are done. 7. Prove that the following identity involving the Stirling numbers of the second kind is correct: Let f(x) = e ex. For n 0, Solution: We proceed by induction on n. d n dx n f(x) = f(x) S(n, k)e kx. k 0 Base case n = 0: the assertion is that f(x), the zeroth derivative of f(x) is equal to f(x)s(0, 0)e 0x, which is true. Induction step: Assume the statement is true for some n 0. Then d n+1 ( ) d d n f(x) = dxn+1 dx dx n f(x) = d f(x) S(n, k)e kx (induction) dx k 0 = f(x) k 0 = f(x) k 1 = f(x) k 1 = f(x) k 1 ks(n, k)e kx + f (x) k 0 ks(n, k)e kx + f(x) k 1 (S(n, k 1) + ks(n, k)) e kx S(n + 1, k)4 kx S(n, k)e kx S(n, k 1)e kx = f(x) k 0 S(n + 1, k)4 kx, as required, completing the induction. At various points here we have done re-indexing, used the recurrence relation for the Stirling numbers of the second kind, and used that S(n, 0) = 0 (to contract/expand summations). 8. Prove that for n 3, S(n, 3) = 1 6 (3n 3 2 n + 3). Solution: We proceed by induction on n. Base case n = 3: the assertion is that S(3, 3) = (1/6)( ), which is true since it reduces to S(3, 3) = 1. Induction step: Assume the statement is true for some n 3. Then S(n + 1, 3) = S(n, 2) + 3S(n, 3) = 1 2 (2n 2) (3n 3 2 n + 3). 32

33 In the first line we used the recurrence relation for the Stirling numbers of the second kind, and in the second line we used induction and the formula we already know for the number S(n, 2). After a little algebra, what we have reduces to completing the induction. S(n, 3) = 1 6 ( 3 n n ), 33

34 8 Homework 4 (due February 27) Name: The purpose of this homework is to explore cycles in permutations, inclusion-exclusion, and generating functions. Reading: Section 6.1, Chapter 7 and Section 8.1 of the textbook. 1. A permutation f : [n] [n] is called an involution if f 2 (f composed with itself) is the identity permutation that sends everything to itself. part a) For each of n = 1,..., 5, count how many permutations of [n] are involutions. 34

35 part b) Find a formula for I n, the number of permutations of [n] that are involutions (your answer may involve a summation). 35

36 2. Find a formula for the number of permutations of [2n] whose longest cycle has length n + 1. Your formula should not involve a summation. 36

37 3. Let D(n) be the number of derangements of [n], that is, the number of permutations in which no element is returned to its original position. Set D(0) = 1 (and note that D(1) = 0). Prove that for all n 1, D(n + 1) = n(d(n) + D(n 1)). You may use the formula we derived in class for D(n); bonus point for a combinatorial proof. 37

38 4. Prove that for each n 1, n! = n i=0 ( ) n D(i) i (here D(n) is the number of derangements of [n]; recall from the last question that D(0) = 1). [Hint: A combinatorial proof is easiest here.] 38

39 5. Let F k (n) denote the number of partitions of [n] into exactly k non-empty blocks, none of which has size 1. Find a formula for F k (n) in terms of Stirling numbers of the second kind. (Your formula may involve a summation). 39

40 6. A sequence is defined recursively by a 0 = 1, a 1 = 4 and a n = 4a n 1 4a n 2 for n 2. part a) Use the method of use recurrence where possible, use initial conditions where not to find a closed-form for the generating function of the a i s. 40

41 part b) Using the result of the previous part, find an explicit formula for a n for each n 0. (It might be helpful to write down the geometric series formula and differentiate it). 41

42 9 Homework 4 Solutions 1. A permutation f : [n] [n] is called an involution if f 2 (f composed with itself) is the identity permutation that sends everything to itself. part a) For each of n = 1,..., 5, count how many permutations of [n] are involutions. Solution: n = 1: 1. n = 2: 2. n = 3: with no 2-cycle: (1)(2)(3). With 1 2-cycle: (1)(23), (12)(3), (13)(2). So 4 in all. n = 4: with no 2-cycle: 1. With 1 2-cycle: ( 4 2). With 2 2-cycles: 3. So 10 in all. n = 5: with no 2-cycle: 1. With 1 2-cycle: ( 5 2). With 2 2-cycles: 5 3. So 26 in all. part b) Find a formula for I n, the number of permutations of [n] that are involutions (your answer may involve a summation). Solution: To be an involution, a permutation must have cycles of length 1 and 2 only, so it must have cycle type (n 2k, k) for some 0 k [n/2]. From a formula derived in class, the number of permutations of [n] with cycle type (n 2k, k) is and so n! (n 2k)!k!1 n 2k 2 k = n! (n 2k)!k!2 k, I n = [n/2] k=0 n! (n 2k)!k!2 k. 2. Find a formula for the number of permutations of [2n] whose longest cycle has length n + 1. Solution: There can be only one cycle of length n + 1. There are ( 2n n+1) ways to choose the n + 1 elements of this cycle, and n! ways to cyclicly arrange them. There are n 1 remaining elements, which can be arbitrarily permuted (in (n 1)! ways). So the number of permutations is ( ) 2n n!(n 1)!. n Let D(n) be the number of derangements of [n], that is, the number of permutations in which no element is returned to its original position. Set D(0) = 1 (and note that D(1) = 0). Prove that for all n 1, D(n + 1) = n(d(n) + D(n 1)). You may use the formula we derived in class for D(n); bonus point for a combinatorial proof. 42

43 Solution: Using the formula D(n) = n n! k=0 ( 1)k k!, we have n(d(n) + D(n 1)) = n = = n ( 1) k n! n 1 k! + n k (n 1)! ( 1) k! k=0 n 1 k (n + 1)! ( 1) k! k=0 n k (n + 1)! ( 1) k! k=0 = D(n + 1). k=0 + n( 1) n n! n! Here s a combinatorial proof: Let D n+1 be the set of derangements of [n+1]. For i = 1,..., n, let D i n+1 be the set of those elements of D n+1 in which n + 1 is sent to i. Note that the D i n+1 are disjoint and cover D n+1, so D(n + 1) = n i=1 D i n+1. We will show that for each i, Dn+1 i = D(n) + D(n 1), which will be enough to obtain the claimed identity. To de-clutter the notation, we consider only the case i = n; all other cases proceed similarly. Partition Dn+1 n as T n+1 n N n+1 n, where T n+1 n is the set of those derangements in Dn n+1 in which n is mapped to n + 1. In the presence of this n + 1 n transposition, it is evident that = D(n 1) (there is a clear bijective correspondence from derangements of [n 1] to elements of T n T n n+1 n+1 ). An f Nn+1 n maps n + 1 to n, and there is some j [n 1] that maps to n + 1. Consider f : [n] [n] that agrees with f on [n] \ j, and sends j to n. This is readily seen to be a derangement of [n]; moreover, the map f f is a bijection from Nn+1 n to D n, so Nn+1 i = D(n). This completes the proof of the identity. 4. Prove that for each n 1, n! = n i=0 ( ) n D(i) i (here D(n) is the number of derangements of [n]; recall from the last question that D(0) = 1). [Hint: A combinatorial proof is easiest here.] Solution: The left-hand side counts the number of permutations of n directly. The righthand side counts the sam thing by first deciding i, the number of non-fixed points of the permutation (0 i n), then selecting the non-fixed points ( ( n i) ways), and then deranging these points among themselves (D(i) ways). This completely determines the permutation, as all the fixed points get sent to themselves. 5. Let F k (n) denote the number of partitions of [n] into exactly k non-empty blocks, none of which has size 1. Find a formula for F k (n) in terms of Stirling numbers of the second kind. (Your formula may involve a summation). 43

44 Solution: Let A i be the set of partitions of [n] into exactly k non-empty blocks in which element i is in a block of size 1. We seek n i=1 A i this is the number of partitions with at least one block of size 1, so the number with no blocks of size 1 is S(n, k) minus this number. By inclusion-exclusion, n i=1 A i = A 1 + A A 1 A A 1 A 2 A Now since, for example, a partition in A 1 A 2 A 3 fixes each of 1,2,3 in singleton blocks, it must partition the remaining n 3 elements into k 3 non-empty blocks, so A 1 A 2 A 3 = S(n 3, k 3), and more generally, the intersection of any l of the A i s has size S(n l, k l). It follows that ( ) ( ) n n n i=1 A i = ns(n 3, k 3) S(n 2, k 2) + S(n 3, k 3)..., 2 3 and so F k (n) = n! ns(n 3, k 3) + = n ( n ( 1) l l l=0 ) S(n l, k l). ( ) n S(n 2, k 2) 2 ( ) n S(n 3, k 3) A sequence is defined recursively by a 0 = 1, a 1 = 4 and a n = 4a n 1 4a n 2 for n 2. part a) Use the method of use recurrence where possible, use initial conditions where not to find a closed-form for the generating function of the a i s. Solution: We begin by forming the generating function A(x) of (a n ) n 0 : A(x) = a 0 + a 1 x + a 2 x 2 + a 3 x = 1 + 4x + (4a 1 4a 0 )x 2 + (4a 2 4a 1 )x = 1 + 4x + 4x(a 1 x + a 2 x ) 4x 2 (a 0 + a 1 x +...) = 1 + 4x + 4x(A(x) 1) 4x 2 A(x), so A(x) = = 1 1 4x + 4x 2 1 (1 2x) 2 part b) Using the result of the previous part, find an explicit formula for a n for each n 0. (It might be helpful to write down the geometric series formula and differentiate it). Solution: Since differentiating both sides we get 1 1 z = 1 + z + z2 + z z n + z n , 1 (1 z) 2 = 1 + 2z + 3z nz n 1 + (n + 1)z n +..., 44

45 and so 1 (1 2x) 2 = 1 + 2(2x) + 3(2x) n(2x) n 1 + (n + 1)(2x) n +..., so a n = (n + 1)2 n. 45

46 10 Quiz 2 (February 25) Name: 1. How many positive integers, not larger than 10,000, are neither perfect squares nor perfect cubes? 2. Write down a formula that expresses the Stirling number of the second kind S(n, k) in terms of earlier Stirling numbers (numbers of the form S(n 1, j)). Explain why the formula is correct. 46

47 11 Quiz 2 Solutions 1. How many positive integers, not larger than 10,000, are neither perfect squares nor perfect cubes? Solution: Let A 2 be the number of numbers not larger than 10,000 that are perfect squares. Since = 100 2, A 2 = 100. Let A 3 be the number of numbers not not larger than 10,000 that are perfect cubes. Since = , A 3 = 21. Since A 2 A 3 is the number of numbers not larger than 10,000 that are perfect sixth powers, and since = , A 2 A 3 = 4. By inclusion-exclusion, A 2 A 3 = = 117, so there are 117 numbers not larger than 10,000 that are either perfect squares or perfect cubes, and = 9883 numbers not larger than 10,000 that are neither perfect squares nor perfect cubes. 2. Write down a formula that expresses the Stirling number of the second kind S(n, k) in terms of earlier Stirling numbers (numbers of the form S(n 1, j)). Explain why the formula is correct. Solution: S(n, k) = S(n 1, k 1) + ks(n 1, k). The S(n 1, k 1) counts partitions of [n] into k non-empty blocks in which element n is in a block on its own (so the remaining n 1 elements have to be partitioned into k 1 non-empty blocks), and the ks(n 1, k) counts partitions of [n] into k non-empty blocks in which element n is in a block of size larger than 1 (so the remaining n 1 elements have to be partitioned into k non-empty blocks, and element n has to go into one of these k blocks). 47

48 12 Midsemester exam (March 4) Name: This exam is for Math 40210, Spring This exam contains 5 problems on 6 pages (including the front cover). This is an open-book exam. You may use the textbook, old homeworks, notes, etc. You may use a calculator. For full credit show all your work on the paper provided. Scores Question Score Out of Total 50 MAY THE ODDS BE EVER IN YOUR FAVOR! 48

49 1. (a) Calculate ( 10 5 ). (I want an explicit decimal number.) (b) Prove the following identity involving binomial coefficients: for fixed n 0, n ( ) ( ) k n =. k n k=0 (A proof by induction on n is fine here; bonus points for a combinatorial proof). 49

50 2. (a) Which is greater: A: the number of ways of splitting a class of 12 students into four groups of size 3, or B: the number of ways of splitting a class of 12 students into three groups of size 4? [In both cases, the order of the people within each group does not matter, and the order of the groups does not matter.] (b) What if the order in which the groups are created does matter (but again the order of the people within each group does not matter)?. 50

51 3. (a) State the inclusion-exclusion formula for calculating A B C D. (b) How many numbers between 1 and 2100 are divisible by at least one of 3, 5 or 7? 51

52 4. A sequence a 0, a 1, a 2,... is given by the recurrence relation: a 0 = 0, a 1 = 3, a n = a n 1 + 2a n 2 for n 2. (a) Use the recurrence to calculate a 2, a 3, a 4, a 5 and a 6. (b) Based on the values you have computed, guess what is the formula for generating a n for general n, and use induction to prove that the formula is correct. 52

53 5. (a) How many ways are there to partition a set of size n into n 1 non-empty blocks? (b) Prove that the Stirling numbers of the second kind S(n, k) satisfy the following recurrence: n ( ) n S(n + 1, k) = S(n j, k 1). j j=0 Hint: What size is the block that n + 1 belongs to? 53

54 13 Homework 5 (due March 20) Name: The purpose of this homework is to explore Catalan numbers, products of generating functions, and the generalized Binomial theorem. Reading: Sections 4.3 and of the textbook. 1. Let S n be the number of sequences of integers (a 1,..., a n ) with 1 a 1 a 2... a n, and with a i i for each i = 1,..., n. So, for example, S 3 = 5 with the five sequences being 111, 112, 113, 122, 123. By convention, S 0 = 1. Show that S n is the nth Catalan number. Hint: look at the last i for which a i = i. 54

55 2. A triangulation of a convex n-gon is a collection of diagonals, that don t intersect except possibly at their endpoints, that breaks the n-gon up into triangles. So, there s only one way to triangulate a 3-gon (triangle) since it is already triangulated; there are two ways to triangulate a 4-gon (quadrilateral) ABCD (either join A to C or B to D), and there are five ways to triangulate a 5-gon (pentagon); see Projects/2002/AjitRajwade/#Catalan for pictures of these five ways, as well as of the 14 ways to triangulate a 6-gon (hexagon) and the 42 ways to triangulate a 7-gon (heptagon). Let T n be the number of ways to triangulate an (n + 2)-gon (by convention, T 0 = 1). Show that for n 1, T n = T 0 T n 1 + T 1 T n T n 1 T 0, so that T n is the nth Catalan number. 55

56 3. In an election between two candidates N and M, N gets n votes and M gets m votes, m n. In how many ways can the n + m votes be ordered, so that if the votes were counted in that order, M would never trail N in the count? (If m = n, the answer is the same as the number of ways that the Cubs and White Sox can play to an n-n tie with the Cubs never trailing, so is the nth Catalan number. Hint: Generalize the reflection principle we saw in class to prove the ( Catalan number formula. Don t forget the reality check: if your answer doesn t reduce to 2n ) n /(n + 1) when m = n, something is wrong). 56

57 4. Use the generalized Binomial theorem we saw in class to verify that for each k 0, 1 (1 x) k+1 = ( ) n + k x n. k n 0 57

58 5. Let (a 0, a 1, a 2,...) be an arbitrary sequence, with generating function A(x) (= n 0 a nx n ). part a): Let (c 0, c 1, c 2,...) be the convolution of (a 0, a 1, a 2,...) with the sequence (1, 1, 1,...) (all 1 s). Express c n in terms of the a i s. part b): What is the generating function of the sequence (a 0, a 0 +a 1, a 0 +a 1 +a 2,..., n k=0 a k,...)? [Your answer should be in terms of A(x)]. 58

59 14 Basic terminology of graphs A graph is a set V of vertices, together with a set E of edges. Each edge consists of an unordered pair of vertices. We usually visualize a graph by drawing a dot for each vertex, and drawing an arc (or curve) between two vertices exactly when those two vertices form an edge. The precise location of the dots, and the precise way in which we draw the curves representing edges, is not important; all that matters in a graph is the list of vertices and edges. NB: The singular of vertices is vertex. One vertex, two vertices (red vertex, blue vertex...). There are many types of graph. For example, a general graph or mutligraph (see b) above) allows the same pair of vertices to appear together in an edge multiple times (e.g., e 4 and e 5 in b)), and also allows loops: edges consisting of the same vertex twice (e.g., e 6 in b)); a simple graph or just graph (see a) above) does not allow multiedges or loops; a directed graph (not shown) may have some edges that consist of ordered pairs of vertices, indicating direction; in a visual representation these edges would be indicated with an arrow. We won t consider directed graphs. If an edge (which we ll usually denote something like e) is formed by two vertices, say u and v, then we ll write this as e = uv, and we say: u and v are joined by e; edge e goes from u to v (and v to U); u and v are adjacent; u and v are neighbors; u and v are the endvertices of e. 59

60 The set of vertices that are adjacent to a vertex v is called the neighborhood of v. The degree of a vertex v, denoted d(v), is the number of different ways that one can leave v along an arc in a representation of the graph. Notice that this means that any edge e = uv contributes one to the degree, unless u = v (so the edge is a loop), in which case it contributes two. For example, in b) above, d(ā) = 2, d( B) = d( C) = 3, and d( D) = 4 (and it would be 6 if there was a second loop at D). If G is simple, the degree of a vertex is just the size of the neighborhood; so, for example, in a) above, d(d) = 2. There are many different notions of moving around a graph; here are a few that we will use. We will illustrate each with examples from a) above. A walk is a sequence u 1 u 2... u n of vertices such that u 1 u 2 is an edge, and u 2 u 3, etc.. Repetition of vertices and edges, and back-tracking, is allowed in a walk. Example: ABACDBC. A closed walk is one that ends at the same vertex that it began at. Example: ABACDBCA. A closed walk is sometimes called a circuit. A trail is a sequence u 1 u 2... u n of vertices such that u 1 u 2 is an edge, and u 2 u 3, etc.. Repetition of vertices is allowed, but not of edges, and in particular back-tracking is not allowed in a trail. Example: BACBD. A closed trail is one that ends at the same vertex that it began at. Example: BACB. An Eulerian trail is one that includes each each of the graph exactly once. Example: BACDBC. A closed Eulerian trail is one that includes each each of the graph exactly once, ends at the same vertex that it began at. Picture a) has no example; but if there was a second edge from B to C, then BACDBCB would be an example. A path is a sequence u 1 u 2... u n of vertices such that u 1 u 2 is an edge, and u 2 u 3, etc.. Repetition of vertices is not allowed (and so neither is backtracking or any kind of repetition of edges). Also, this says that u n must be different from u 1. So another way of saying a path is: it is a sequence u 1 u 2... u n of distinct vertices such that u 1 u 2 is an edge, and u 2 u 3, etc. Example: BDC. A Hamiltonian path is one that includes all vertices (necessarily each once). Example: ABCD. A cycle is a sequence u 1 u 2... u n of vertices such that u 1 u 2 is an edge, and u 2 u 3, etc., and also u n u 1 is an edge. Repetition of vertices is not allowed (and so neither is backtracking or any kind of repetition of edges). Another way of saying a cycle is: it is a sequence u 1 u 2... u n of distinct vertices such that u 1 u 2 is an edge, and u 2 u 3, etc., and u n u 1. Example: BDC. (Notice that this was also an example of a path; when we call it a path, we are not including the final edge CB; when we call it a cycle, we are). A Hamiltonian cycle is one that includes all vertices (necessarily each once). Example: ACBD. A graph is said to be connected if between any two distinct vertices, there is a path. For example, both the graphs in a) and b) above are connected; but the multigraph consisting of the eight vertices A, B, C, D, Ā, B, C, D above, with edges as shown, would not be connected, as there is no path, say, from A to D. A set of vertices with the property that between any two of them there is a path, but there is no path from any of them to any other vertex of the grap, is called a component. A connected graph has one component (consisting of all the vertices); if a graph is not connected, and so has multiple components, we say that is is disconnected. For example, if we removed edges e 1 and e 4 from the graph a) above, it would become disconnected, with components A and B, C, D. 60

61 15 Homework 6 (due April 1) Name: The purpose of this homework is to explore basics of graphs, including Eulerian trails and Hamiltonian paths/cycles. Reading: Chapter 9 through Section Part a): Prove that in any simple graph, there are two vertices that have the same degree as each other. part b): Give an example of a multigraph in which there are not two vertices with the same degree. 61

62 2. Part a): How many different simple (undirected, no multiple edges, no loops) graphs are there on vertex set [n]? (Remember that [n] = {1,..., n}.) Your answer should not involve a summation. Part b): How many different directed graphs are there on vertex set [n], if we do not allow multiple edges, but do allow loops (at most one loop per vertex)? Clarification: no multiple edges in this context means that we cannot have more than one copy of the edge from a to b; but it is ok to have the edge from a to b (once) and the edge from b to a (once). Your answer should not involve a summation. Part c): A tournament T on vertex set [n] is a directed graph on [n] such that for each pair of distinct elements a, b [n], EITHER the edge from a to b is in T, OR the edge from b to a, BUT NOT BOTH. (Think of a tournament as encoding the results of a round-robin tournament involving n teams, in which ties are not allowed). How many different tournaments are there on vertex set [n]? Your answer should not involve a summation. 62

63 3. Part a): In a simple graph G = (V, E), there is a walk that starts at vertex x and ends at vertex y (x y). Prove that there is a path joining x and y. [Refer to the handout on basic terminology to remind yourself of the definitions: basically, a walk allows repetition of vertices and edges, a path does not.] Part b): In a simple graph G = (V, E), there is a closed walk of odd length. Prove that there is a cycle of odd length. [Again, refer to the handout on basic terminology; the length of a walk, path etc. is the number of edges in it.] 63

64 4. The n-dimensional hypercube Q n is the graph whose vertex set is the set of all vectors (x 1,..., x n ) with each x i = 0 or 1 (so there are 2 n vertices), with two vertices adjacent if the two vectors differ on exactly one coordinate. (So the graph Q 2 is just the usual square, and Q 3 is the familiar three dimensional cube). Here are pictures of the 0-, 1-, 2-, 3- and 4-dimensional hypercubes: Part a): What is the degree of each vertex in Q n? Part b): How many edges does Q n have? 64

65 Part c): For which n does Q n have a closed Eulerian trail? Briefly justify your answer. Part d): Prove that for n 2, Q n has a Hamiltonian cycle. 65

66 16 Quiz 3 (March 30) Name: 1. Draw an example of a graph that has a closed Eulerian trail but does not have a Hamiltonian cycle. Mark the closed Eulerian trail clearly, and explain clearly why the graph you have drawn does not have a Hamiltonian cycle. 2. Remember that a cycle in a graph is a sequence of distinct vertices (v 1,..., v l ) with each of the following being edges of the graph: v 1 v 2, v 2 v 3,..., v l 1 v l, and v l v 1. Prove that if G is a simple graph in which the degree of each vertex is at least 2, then G has a cycle. 66

67 17 Homework 7 (due April 20) Name: The purpose of this homework is to explore properties of graphs and trees. Reading: Chapter9, section 4 and Chapter 10, section Part a): In class we proved that if G is a finite connected graph with all degrees even, then G has a closed Euulerian trail. By giving an example of a connected graph with infinitely many vertices, connected, all degrees even, with no closed Eulerian trail, show that the hypothesis that G is finite is needed in the theorem we proved. part b): Explain why the proof we gave in class, of the fact that a finite connected graph with all degrees even has a closed Euulerian trail, goes wrong when G is infinite (point out exactly the place where the proof breaks down). 67

68 2. Part a): In class we proved the following: If G is a connected (simple) graph on n vertices with all degrees at least n/2, then G has a Hamiltonian cycle. Show that the hypothesis that G is connected is unnecessary here. Namely, show that if G is a (simple) graph on n vertices with all degrees at least n/2, then it must be connected. Part b): Show that the theorem we proved in class cannot be improved, in the following sense: for each even n 4, give an example of a graph on n vertices with all degrees at least (n/2) 1, but without a Hamiltonian cycle. 68

69 3. Part a): Prove that every tree on n 2 vertices has at least 2 leaves. Your proof MUST begin as follows: Let T be a tree on n 2 vertices. Let P = x 1 x 2... x m be a longest path in T. Note that since n 2, T has at least one edge, so the longest path in T has at least one edge, and so x 1 x m. The rest of the proof must use P in some fundamental way! [Note: there is no need to re-write the part of the proof that I ve written above.] Part b): Prove that if a tree T has a vertex of degree 10 then it has at least 10 leaves. 69

70 4. Show constructively that for each n there are at least 1 + ( n 2) non-isomorphic graphs on n vertices, by explicitly describing 1 + ( n 2) graphs on vertex set {1,..., n} no two of which are isomorphic. 70

71 18 Homework 8 (due April 29) Name: The purpose of this homework is to explore trees, Cayley s formula, Prüfer codes, spanning trees, Kruskal s algorithm, and the adjacency matrix. Reading: Chapter 10 (note that Prüfer codes are covered in Exercise 5, page 234, and its solution, page 239). 1. Let T be a tree whose longest path is length k (k edges). Let P 1, P 2 be two different paths in T, both of length k. Show that P 1 and P 2 must have a vertex in common. 71

72 2. A tree on vertex set {1,..., n} has Prüfer code nnn... n (n 2 n s). Draw the tree in the space below. 3. How can you tell by looking at the Prüfer code of a tree on vertex set {1,..., n}, that the tree is a path? [Without, of course, just building the tree from the code... you should describe a way that just involves scanning the code]. 72

73 4. Let G be a graph (not necessarily connected) on n vertices {v 1,..., v n }. Put weights on the edges of the complete graph on vertex set {v 1,..., v n } as follows: if v i v j E(G), set w(v i v j ) = 0, and if v i v j E(G), set w(v i v j ) = 1. Run Kruskal s algorithm on this weighted complete graph. Explain (with justification!) how you can use the output of Kruskal s algorithm to deduce the number of components that G has. 73

74 5. By using the Prüfer code, find a formula for the number of trees on vertex set {1,..., n} (n 3) that have exactly k leaves (k between 2 and n 1. Your formula should not involve a summation. [Hint: Think of the Prüfer code as a function f : {1,..., n 2} {1,..., n}, with f(i) being the number in the ith position of the code. If the tree has exactly k leaves, what do you know about the range of the function?] 74

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

Discrete mathematics , Fall Instructor: prof. János Pach Discrete mathematics 2016-2017, Fall Instructor: prof. János Pach - covered material - Lecture 1. Counting problems To read: [Lov]: 1.2. Sets, 1.3. Number of subsets, 1.5. Sequences, 1.6. Permutations,

More information

Instructor: Paul Zeitz, University of San Francisco

Instructor: Paul Zeitz, University of San Francisco Berkeley Math Circle Graph Theory and Ramsey Theory Instructor: Paul Zeitz, University of San Francisco (zeitz@usfca.edu) Definitions 1 A graph is a pair (V,E), where V is a finite set and E is a set of

More information

Problem Set 7 Solutions

Problem Set 7 Solutions 6.42/8.62J Mathematics for Computer Science March 29, 25 Srini Devadas and Eric Lehman Problem Set 7 Solutions Due: Monday, April 4 at 9 PM Problem. Every function has some subset of these properties:

More information

Math Summer 2012

Math Summer 2012 Math 481 - Summer 2012 Final Exam You have one hour and fifty minutes to complete this exam. You are not allowed to use any electronic device. Be sure to give reasonable justification to all your answers.

More information

Extra Practice Problems 2

Extra Practice Problems 2 CS103 Handout 31 Fall 2018 October 29, 2018 Extra Practice Problems 2 Here's a set of a bunch of practice problems you can work through to solidify your understanding of the topics from Problem Sets Three,

More information

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions Basic Combinatorics Math 40210, Section 01 Fall 2012 Homework 4 Solutions 1.4.2 2: One possible implementation: Start with abcgfjiea From edge cd build, using previously unmarked edges: cdhlponminjkghc

More information

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

Math 4410 Fall 2010 Exam 3. Show your work. A correct answer without any scratch work or justification may not receive much credit. Math 4410 Fall 2010 Exam 3 Name: Directions: Complete all six questions. Show your work. A correct answer without any scratch work or justification may not receive much credit. You may not use any notes,

More information

Graph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques.

Graph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques. Graph theory Po-Shen Loh June 013 1 Basic results We begin by collecting some basic facts which can be proved via bare-hands techniques. 1. The sum of all of the degrees is equal to twice the number of

More information

Combinatorial Gems. Po-Shen Loh. June 2009

Combinatorial Gems. Po-Shen Loh. June 2009 Combinatorial Gems Po-Shen Loh June 2009 Although this lecture does not contain many offical Olympiad problems, the arguments which are used are all common elements of Olympiad problem solving. Some of

More information

Midterm 2 Solutions. CS70 Discrete Mathematics and Probability Theory, Spring 2009

Midterm 2 Solutions. CS70 Discrete Mathematics and Probability Theory, Spring 2009 CS70 Discrete Mathematics and Probability Theory, Spring 2009 Midterm 2 Solutions Note: These solutions are not necessarily model answers. Rather, they are designed to be tutorial in nature, and sometimes

More information

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4)

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4) S-72.2420/T-79.5203 Basic Concepts 1 S-72.2420/T-79.5203 Basic Concepts 3 Characterizing Graphs (1) Characterizing Graphs (3) Characterizing a class G by a condition P means proving the equivalence G G

More information

Notebook Assignments

Notebook Assignments Notebook Assignments These six assignments are a notebook using techniques from class in the single concrete context of graph theory. This is supplemental to your usual assignments, and is designed for

More information

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

MC 302 GRAPH THEORY 10/1/13 Solutions to HW #2 50 points + 6 XC points MC 0 GRAPH THEORY 0// Solutions to HW # 0 points + XC points ) [CH] p.,..7. This problem introduces an important class of graphs called the hypercubes or k-cubes, Q, Q, Q, etc. I suggest that before you

More information

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS PAUL BALISTER Abstract It has been shown [Balister, 2001] that if n is odd and m 1,, m t are integers with m i 3 and t i=1 m i = E(K n) then K n can be decomposed

More information

Chapter 1. Math review. 1.1 Some sets

Chapter 1. Math review. 1.1 Some sets Chapter 1 Math review This book assumes that you understood precalculus when you took it. So you used to know how to do things like factoring polynomials, solving high school geometry problems, using trigonometric

More information

LESSON 1: INTRODUCTION TO COUNTING

LESSON 1: INTRODUCTION TO COUNTING LESSON 1: INTRODUCTION TO COUNTING Counting problems usually refer to problems whose question begins with How many. Some of these problems may be very simple, others quite difficult. Throughout this course

More information

Discrete Structures. Fall Homework3

Discrete Structures. Fall Homework3 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)

More information

CHAPTER 2. Graphs. 1. Introduction to Graphs and Graph Isomorphism

CHAPTER 2. Graphs. 1. Introduction to Graphs and Graph Isomorphism CHAPTER 2 Graphs 1. Introduction to Graphs and Graph Isomorphism 1.1. The Graph Menagerie. Definition 1.1.1. A simple graph G = (V, E) consists of a set V of vertices and a set E of edges, represented

More information

Discrete Math: Selected Homework Problems

Discrete Math: Selected Homework Problems Discrete Math: Selected Homework Problems 2006 2.1 Prove: if d is a common divisor of a and b and d is also a linear combination of a and b then d is a greatest common divisor of a and b. (5 3.1 Prove:

More information

Discrete Mathematics for CS Spring 2008 David Wagner Note 13. An Introduction to Graphs

Discrete Mathematics for CS Spring 2008 David Wagner Note 13. An Introduction to Graphs CS 70 Discrete Mathematics for CS Spring 2008 David Wagner Note 13 An Introduction to Graphs Formulating a simple, precise specification of a computational problem is often a prerequisite to writing a

More information

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph.

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph. Trees 1 Introduction Trees are very special kind of (undirected) graphs. Formally speaking, a tree is a connected graph that is acyclic. 1 This definition has some drawbacks: given a graph it is not trivial

More information

Combinatorics: The Fine Art of Counting

Combinatorics: The Fine Art of Counting Week Three Solutions Note: in these notes multiplication is assumed to take precedence over division, so 4!/2!2! = 4!/(2!*2!), and binomial coefficients are written horizontally: (4 2) denotes 4 choose

More information

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

Week 12: Trees; Review. 22 and 24 November, 2017 (1/24) MA284 : Discrete Mathematics Week 12: Trees; Review http://www.maths.nuigalway.ie/~niall/ma284/ 22 and 24 November, 2017 C C C C 1 Trees Recall... Applications: Chemistry Applications: Decision

More information

Part II. Graph Theory. Year

Part II. Graph Theory. Year Part II Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2017 53 Paper 3, Section II 15H Define the Ramsey numbers R(s, t) for integers s, t 2. Show that R(s, t) exists for all s,

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 16 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 16 Notes Goals for this week Graph basics Types

More information

Extremal Graph Theory: Turán s Theorem

Extremal Graph Theory: Turán s Theorem Bridgewater State University Virtual Commons - Bridgewater State University Honors Program Theses and Projects Undergraduate Honors Program 5-9-07 Extremal Graph Theory: Turán s Theorem Vincent Vascimini

More information

5 Graphs

5 Graphs 5 Graphs jacques@ucsd.edu Some of the putnam problems are to do with graphs. They do not assume more than a basic familiarity with the definitions and terminology of graph theory. 5.1 Basic definitions

More information

Basic Properties The Definition of Catalan Numbers

Basic Properties The Definition of Catalan Numbers 1 Basic Properties 1.1. The Definition of Catalan Numbers There are many equivalent ways to define Catalan numbers. In fact, the main focus of this monograph is the myriad combinatorial interpretations

More information

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1 UNIT I INTRODUCTION CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1. Define Graph. A graph G = (V, E) consists

More information

Assignment 4 Solutions of graph problems

Assignment 4 Solutions of graph problems Assignment 4 Solutions of graph problems 1. Let us assume that G is not a cycle. Consider the maximal path in the graph. Let the end points of the path be denoted as v 1, v k respectively. If either of

More information

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

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/CS 415 Combinatorics and Graph Theory Fall 2017 Prof. Readdy Homework Chapter 1 1. A busy airport has 1500 takeo s perday. Provetherearetwoplanesthatmusttake o within one minute of each other. This

More information

A graph is finite if its vertex set and edge set are finite. We call a graph with just one vertex trivial and all other graphs nontrivial.

A graph is finite if its vertex set and edge set are finite. We call a graph with just one vertex trivial and all other graphs nontrivial. 2301-670 Graph theory 1.1 What is a graph? 1 st semester 2550 1 1.1. What is a graph? 1.1.2. Definition. A graph G is a triple (V(G), E(G), ψ G ) consisting of V(G) of vertices, a set E(G), disjoint from

More information

r=1 The Binomial Theorem. 4 MA095/98G Revision

r=1 The Binomial Theorem. 4 MA095/98G Revision Revision Read through the whole course once Make summary sheets of important definitions and results, you can use the following pages as a start and fill in more yourself Do all assignments again Do the

More information

Combinatorics MAP363 Sheet 1. Mark: /10. Name. Number. Hand in by 19th February. date marked: / /2007

Combinatorics MAP363 Sheet 1. Mark: /10. Name. Number. Hand in by 19th February. date marked: / /2007 Turn over Combinatorics MAP6 Sheet Hand in by 9th February Name Number Year Mark: /0 date marked: / /200 Please attach your working, with this sheet at the front. Guidance on notation: graphs may have

More information

Chapter 3. Set Theory. 3.1 What is a Set?

Chapter 3. Set Theory. 3.1 What is a Set? Chapter 3 Set Theory 3.1 What is a Set? A set is a well-defined collection of objects called elements or members of the set. Here, well-defined means accurately and unambiguously stated or described. Any

More information

HOMEWORK #4 SOLUTIONS - MATH 4160

HOMEWORK #4 SOLUTIONS - MATH 4160 HOMEWORK #4 SOLUTIONS - MATH 4160 DUE: FRIDAY MARCH 7, 2002 AT 10:30AM Enumeration problems. (1 How many different ways are there of labeling the vertices of the following trees so that the graphs are

More information

Introduction to Sets and Logic (MATH 1190)

Introduction to Sets and Logic (MATH 1190) Introduction to Sets and Logic () Instructor: Email: shenlili@yorku.ca Department of Mathematics and Statistics York University Dec 4, 2014 Outline 1 2 3 4 Definition A relation R from a set A to a set

More information

Maximal Monochromatic Geodesics in an Antipodal Coloring of Hypercube

Maximal Monochromatic Geodesics in an Antipodal Coloring of Hypercube Maximal Monochromatic Geodesics in an Antipodal Coloring of Hypercube Kavish Gandhi April 4, 2015 Abstract A geodesic in the hypercube is the shortest possible path between two vertices. Leader and Long

More information

WUCT121. Discrete Mathematics. Graphs

WUCT121. Discrete Mathematics. Graphs WUCT121 Discrete Mathematics Graphs WUCT121 Graphs 1 Section 1. Graphs 1.1. Introduction Graphs are used in many fields that require analysis of routes between locations. These areas include communications,

More information

Module 11. Directed Graphs. Contents

Module 11. Directed Graphs. Contents Module 11 Directed Graphs Contents 11.1 Basic concepts......................... 256 Underlying graph of a digraph................ 257 Out-degrees and in-degrees.................. 258 Isomorphism..........................

More information

Graphs (MTAT , 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402

Graphs (MTAT , 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402 Graphs (MTAT.05.080, 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402 homepage: http://courses.cs.ut.ee/2012/graafid (contains slides) For grade: Homework + three tests (during or after

More information

Bulgarian Math Olympiads with a Challenge Twist

Bulgarian Math Olympiads with a Challenge Twist Bulgarian Math Olympiads with a Challenge Twist by Zvezdelina Stankova Berkeley Math Circle Beginners Group September 0, 03 Tasks throughout this session. Harder versions of problems from last time appear

More information

Discrete Mathematics Exam File Fall Exam #1

Discrete Mathematics Exam File Fall Exam #1 Discrete Mathematics Exam File Fall 2015 Exam #1 1.) Which of the following quantified predicate statements are true? Justify your answers. a.) n Z, k Z, n + k = 0 b.) n Z, k Z, n + k = 0 2.) Prove that

More information

Theorem 2.9: nearest addition algorithm

Theorem 2.9: nearest addition algorithm There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used

More information

2. CONNECTIVITY Connectivity

2. CONNECTIVITY Connectivity 2. CONNECTIVITY 70 2. Connectivity 2.1. Connectivity. Definition 2.1.1. (1) A path in a graph G = (V, E) is a sequence of vertices v 0, v 1, v 2,..., v n such that {v i 1, v i } is an edge of G for i =

More information

Chapter 4. Relations & Graphs. 4.1 Relations. Exercises For each of the relations specified below:

Chapter 4. Relations & Graphs. 4.1 Relations. Exercises For each of the relations specified below: Chapter 4 Relations & Graphs 4.1 Relations Definition: Let A and B be sets. A relation from A to B is a subset of A B. When we have a relation from A to A we often call it a relation on A. When we have

More information

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1 CS 70 Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1 PRINT Your Name:, (last) READ AND SIGN The Honor Code: As a member of the UC Berkeley community, I act with honesty,

More information

Catalan Numbers. Table 1: Balanced Parentheses

Catalan Numbers. Table 1: Balanced Parentheses Catalan Numbers Tom Davis tomrdavis@earthlink.net http://www.geometer.org/mathcircles November, 00 We begin with a set of problems that will be shown to be completely equivalent. The solution to each problem

More information

Combinatorics Prof. Dr. L. Sunil Chandran Department of Computer Science and Automation Indian Institute of Science, Bangalore

Combinatorics Prof. Dr. L. Sunil Chandran Department of Computer Science and Automation Indian Institute of Science, Bangalore Combinatorics Prof. Dr. L. Sunil Chandran Department of Computer Science and Automation Indian Institute of Science, Bangalore Lecture - 5 Elementary concepts and basic counting principles So, welcome

More information

Introduction to Graph Theory

Introduction to Graph Theory Introduction to Graph Theory Tandy Warnow January 20, 2017 Graphs Tandy Warnow Graphs A graph G = (V, E) is an object that contains a vertex set V and an edge set E. We also write V (G) to denote the vertex

More information

1. a graph G = (V (G), E(G)) consists of a set V (G) of vertices, and a set E(G) of edges (edges are pairs of elements of V (G))

1. a graph G = (V (G), E(G)) consists of a set V (G) of vertices, and a set E(G) of edges (edges are pairs of elements of V (G)) 10 Graphs 10.1 Graphs and Graph Models 1. a graph G = (V (G), E(G)) consists of a set V (G) of vertices, and a set E(G) of edges (edges are pairs of elements of V (G)) 2. an edge is present, say e = {u,

More information

THE UNIVERSITY OF MANITOBA

THE UNIVERSITY OF MANITOBA THE UNIVERSITY OF MANITOBA MATHEMATICS 3400 (Combinatorics I) March 4, 2011 MIDTERM EAM 2 hours (6-8 PM) EAMINER: R. Craigen Total Marks: 100 NAME: STUDENT NUMBER: INSTRUCTIONS Write your name and student

More information

IMO Training 2008: Graph Theory

IMO Training 2008: Graph Theory IMO Training 2008: Graph Theory by: Adrian Tang Email: tang @ math.ucalgary.ca This is a compilation of math problems (with motivation towards the training for the International Mathematical Olympiad)

More information

Discrete Mathematics Course Review 3

Discrete Mathematics Course Review 3 21-228 Discrete Mathematics Course Review 3 This document contains a list of the important definitions and theorems that have been covered thus far in the course. It is not a complete listing of what has

More information

Notation Index. Probability notation. (there exists) (such that) Fn-4 B n (Bell numbers) CL-27 s t (equivalence relation) GT-5.

Notation Index. Probability notation. (there exists) (such that) Fn-4 B n (Bell numbers) CL-27 s t (equivalence relation) GT-5. Notation Index (there exists) (for all) Fn-4 Fn-4 (such that) Fn-4 B n (Bell numbers) CL-27 s t (equivalence relation) GT-5 ( n ) k (binomial coefficient) CL-15 ( n m 1,m 2,...) (multinomial coefficient)

More information

1 Some Solution of Homework

1 Some Solution of Homework Math 3116 Dr. Franz Rothe May 30, 2012 08SUM\3116_2012h1.tex Name: Use the back pages for extra space 1 Some Solution of Homework Proposition 1 (Counting labeled trees). There are n n 2 different labeled

More information

Combinatorics Summary Sheet for Exam 1 Material 2019

Combinatorics Summary Sheet for Exam 1 Material 2019 Combinatorics Summary Sheet for Exam 1 Material 2019 1 Graphs Graph An ordered three-tuple (V, E, F ) where V is a set representing the vertices, E is a set representing the edges, and F is a function

More information

Congruence Arithmetic

Congruence Arithmetic Module 4 Congruence Arithmetic Popper 4 Introduction to what is like Modulus choices Partitions by modulus Mod 5 Mod 7 Mod 30 Modular Arithmetic Addition Subtraction Multiplication INTEGERS! Mod 12 Cayley

More information

Answers to specimen paper questions. Most of the answers below go into rather more detail than is really needed. Please let me know of any mistakes.

Answers to specimen paper questions. Most of the answers below go into rather more detail than is really needed. Please let me know of any mistakes. Answers to specimen paper questions Most of the answers below go into rather more detail than is really needed. Please let me know of any mistakes. Question 1. (a) The degree of a vertex x is the number

More information

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

To illustrate what is intended the following are three write ups by students. Diagonalization General guidelines: You may work with other people, as long as you write up your solution in your own words and understand everything you turn in. Make sure to justify your answers they should be clear

More information

CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK

CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1 UNIT I INTRODUCTION CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK 1. Define Graph. 2. Define Simple graph. 3. Write few problems

More information

An Introduction to Combinatorics and Graph Theory. David Guichard

An Introduction to Combinatorics and Graph Theory. David Guichard An Introduction to Combinatorics and Graph Theory David Guichard This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/

More information

Proposition 1. The edges of an even graph can be split (partitioned) into cycles, no two of which have an edge in common.

Proposition 1. The edges of an even graph can be split (partitioned) into cycles, no two of which have an edge in common. Math 3116 Dr. Franz Rothe June 5, 2012 08SUM\3116_2012t1.tex Name: Use the back pages for extra space 1 Solution of Test 1.1 Eulerian graphs Proposition 1. The edges of an even graph can be split (partitioned)

More information

2017 SOLUTIONS (PRELIMINARY VERSION)

2017 SOLUTIONS (PRELIMINARY VERSION) SIMON MARAIS MATHEMATICS COMPETITION 07 SOLUTIONS (PRELIMINARY VERSION) This document will be updated to include alternative solutions provided by contestants, after the competition has been mared. Problem

More information

TOURNAMENT OF THE TOWNS, Glossary

TOURNAMENT OF THE TOWNS, Glossary TOURNAMENT OF THE TOWNS, 2003 2004 Glossary Absolute value The size of a number with its + or sign removed. The absolute value of 3.2 is 3.2, the absolute value of +4.6 is 4.6. We write this: 3.2 = 3.2

More information

context. (Similarly, we write ν for ν(g), etc. if there is no risk of confusion.) For a subset A V we write N G (A) = {v V ( w A)(v w)} (the set of

context. (Similarly, we write ν for ν(g), etc. if there is no risk of confusion.) For a subset A V we write N G (A) = {v V ( w A)(v w)} (the set of Graph Theory CMSC-27500 Spring 2015 http://people.cs.uchicago.edu/ laci/15graphs Homework set #4. First batch posted 4-9, 8am, updated 10:20am. Problems 4.16 4.31 added at 11:30pm. Due Tuesday, April 14

More information

Generating Functions

Generating Functions 6.04/8.06J Mathematics for Computer Science Srini Devadas and Eric Lehman April 7, 005 Lecture Notes Generating Functions Generating functions are one of the most surprising, useful, and clever inventions

More information

Sums and Geometry + =

Sums and Geometry + = Sums and Geometry Main idea: we will compute formulas for sums of consecutive numbers, or powers of consecutive numbers, and other related sums, by expressing them geometrically and trying to visualize

More information

Topic 10 Part 2 [474 marks]

Topic 10 Part 2 [474 marks] Topic Part 2 [474 marks] The complete graph H has the following cost adjacency matrix Consider the travelling salesman problem for H a By first finding a minimum spanning tree on the subgraph of H formed

More information

Archive of past papers, solutions and homeworks for MATH 110, Discrete Mathematics, Fall 2012, Laurence Barker

Archive of past papers, solutions and homeworks for MATH 110, Discrete Mathematics, Fall 2012, Laurence Barker Archive of past papers, solutions and homeworks for MATH 110, Discrete Mathematics, Fall 2012, Laurence Barker version: 15 January 2013 Source file: arch110fall12.tex page 2: Handout 1, Course specification.

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 8

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 8 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 8 An Introduction to Graphs Formulating a simple, precise specification of a computational problem is often a prerequisite

More information

Introduction III. Graphs. Motivations I. Introduction IV

Introduction III. Graphs. Motivations I. Introduction IV Introduction I Graphs Computer Science & Engineering 235: Discrete Mathematics Christopher M. Bourke cbourke@cse.unl.edu Graph theory was introduced in the 18th century by Leonhard Euler via the Königsberg

More information

Combinatorics: The Fine Art of Counting

Combinatorics: The Fine Art of Counting Combinatorics: The Fine Art of Counting Week Eight Problems 1. Diagrams of all the distinct non-isomorphic trees on 6 or fewer vertices are listed in the lecture notes. Extend this list by drawing all

More information

TWO CONTRIBUTIONS OF EULER

TWO CONTRIBUTIONS OF EULER TWO CONTRIBUTIONS OF EULER SIEMION FAJTLOWICZ. MATH 4315 Eulerian Tours. Although some mathematical problems which now can be thought of as graph-theoretical, go back to the times of Euclid, the invention

More information

γ(ɛ) (a, b) (a, d) (d, a) (a, b) (c, d) (d, d) (e, e) (e, a) (e, e) (a) Draw a picture of G.

γ(ɛ) (a, b) (a, d) (d, a) (a, b) (c, d) (d, d) (e, e) (e, a) (e, e) (a) Draw a picture of G. MAD 3105 Spring 2006 Solutions for Review for Test 2 1. Define a graph G with V (G) = {a, b, c, d, e}, E(G) = {r, s, t, u, v, w, x, y, z} and γ, the function defining the edges, is given by the table ɛ

More information

1. Fill in the right hand side of the following equation by taking the derivative: (x sin x) =

1. Fill in the right hand side of the following equation by taking the derivative: (x sin x) = 7.1 What is x cos x? 1. Fill in the right hand side of the following equation by taking the derivative: (x sin x = 2. Integrate both sides of the equation. Instructor: When instructing students to integrate

More information

Order from Chaos. Nebraska Wesleyan University Mathematics Circle

Order from Chaos. Nebraska Wesleyan University Mathematics Circle Order from Chaos Nebraska Wesleyan University Mathematics Circle Austin Mohr Department of Mathematics Nebraska Wesleyan University February 2, 20 The (, )-Puzzle Start by drawing six dots at the corners

More information

Johns Hopkins Math Tournament Proof Round: Point Set Topology

Johns Hopkins Math Tournament Proof Round: Point Set Topology Johns Hopkins Math Tournament 2019 Proof Round: Point Set Topology February 9, 2019 Problem Points Score 1 3 2 6 3 6 4 6 5 10 6 6 7 8 8 6 9 8 10 8 11 9 12 10 13 14 Total 100 Instructions The exam is worth

More information

CS 3512, Spring Instructor: Doug Dunham. Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010

CS 3512, Spring Instructor: Doug Dunham. Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010 CS 3512, Spring 2011 Instructor: Doug Dunham Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010 Prerequisites: Calc I, CS2511 Rough course outline:

More information

U.C. Berkeley CS170 : Algorithms, Fall 2013 Midterm 1 Professor: Satish Rao October 10, Midterm 1 Solutions

U.C. Berkeley CS170 : Algorithms, Fall 2013 Midterm 1 Professor: Satish Rao October 10, Midterm 1 Solutions U.C. Berkeley CS170 : Algorithms, Fall 2013 Midterm 1 Professor: Satish Rao October 10, 2013 Midterm 1 Solutions 1 True/False 1. The Mayan base 20 system produces representations of size that is asymptotically

More information

FINAL EXAM SOLUTIONS. 1. Consider the 9-element set X consisting of the five letters {a, b, c, d, e} and the four digits

FINAL EXAM SOLUTIONS. 1. Consider the 9-element set X consisting of the five letters {a, b, c, d, e} and the four digits FINAL EXAM SOLUTIONS Student Name and ID Number MATH 0 Final Exam, December 5, 00, WTT Note. The answers given here are more complete and detailed than students are expected to provide when taking a test.

More information

Basics of Graph Theory

Basics of Graph Theory Basics of Graph Theory 1 Basic notions A simple graph G = (V, E) consists of V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements of V called edges. Simple graphs have their

More information

Math 221 Final Exam Review

Math 221 Final Exam Review Math 221 Final Exam Review Preliminary comment: Some of these problems a formulated using language and structures from graph theory. However they are generally self contained; no theorems from graph theory

More information

Technische Universität München Zentrum Mathematik

Technische Universität München Zentrum Mathematik Technische Universität München Zentrum Mathematik Prof. Dr. Dr. Jürgen Richter-Gebert, Bernhard Werner Projective Geometry SS 208 https://www-m0.ma.tum.de/bin/view/lehre/ss8/pgss8/webhome Solutions for

More information

Notes on metric spaces and topology. Math 309: Topics in geometry. Dale Rolfsen. University of British Columbia

Notes on metric spaces and topology. Math 309: Topics in geometry. Dale Rolfsen. University of British Columbia Notes on metric spaces and topology Math 309: Topics in geometry Dale Rolfsen University of British Columbia Let X be a set; we ll generally refer to its elements as points. A distance function, or metric

More information

Lecture 25 : Counting DRAFT

Lecture 25 : Counting DRAFT CS/Math 240: Introduction to Discrete Mathematics 4/28/2011 Lecture 25 : Counting Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Today we start the last topic of the course, counting. For

More information

MATH 363 Final Wednesday, April 28. Final exam. You may use lemmas and theorems that were proven in class and on assignments unless stated otherwise.

MATH 363 Final Wednesday, April 28. Final exam. You may use lemmas and theorems that were proven in class and on assignments unless stated otherwise. Final exam This is a closed book exam. No calculators are allowed. Unless stated otherwise, justify all your steps. You may use lemmas and theorems that were proven in class and on assignments unless stated

More information

4.7 Approximate Integration

4.7 Approximate Integration 4.7 Approximate Integration Some anti-derivatives are difficult to impossible to find. For example, 1 0 e x2 dx or 1 1 1 + x3 dx We came across this situation back in calculus I when we introduced the

More information

Matching and Planarity

Matching and Planarity Matching and Planarity Po-Shen Loh June 010 1 Warm-up 1. (Bondy 1.5.9.) There are n points in the plane such that every pair of points has distance 1. Show that there are at most n (unordered) pairs of

More information

Math 485, Graph Theory: Homework #3

Math 485, Graph Theory: Homework #3 Math 485, Graph Theory: Homework #3 Stephen G Simpson Due Monday, October 26, 2009 The assignment consists of Exercises 2129, 2135, 2137, 2218, 238, 2310, 2313, 2314, 2315 in the West textbook, plus the

More information

Solving Linear Recurrence Relations (8.2)

Solving Linear Recurrence Relations (8.2) EECS 203 Spring 2016 Lecture 18 Page 1 of 10 Review: Recurrence relations (Chapter 8) Last time we started in on recurrence relations. In computer science, one of the primary reasons we look at solving

More information

The absolute value of the real number y xis smaller than y x is smaller than or equal to y x is not equal to y

The absolute value of the real number y xis smaller than y x is smaller than or equal to y x is not equal to y Notation Throughout the book the following notation is used: a A The element a belongs to the set A A B A is a subset of B {a A ψ(a)} The elements of A that satisfy property ψ {a 1,a 2,...,a r } The set

More information

The University of Sydney MATH2969/2069. Graph Theory Tutorial 2 (Week 9) 2008

The University of Sydney MATH2969/2069. Graph Theory Tutorial 2 (Week 9) 2008 The University of Sydney MATH99/09 Graph Theory Tutorial (Week 9) 00. Show that the graph on the left is Hamiltonian, but that the other two are not. To show that the graph is Hamiltonian, simply find

More information

The Probabilistic Method

The Probabilistic Method The Probabilistic Method Po-Shen Loh June 2010 1 Warm-up 1. (Russia 1996/4 In the Duma there are 1600 delegates, who have formed 16000 committees of 80 persons each. Prove that one can find two committees

More information

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.

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. Discrete Mathematics 2 - Test File - Spring 2013 Exam #1 1.) RSA - Suppose we choose p = 5 and q = 11. You're going to be sending the coded message M = 23. a.) Choose a value for e, satisfying the requirements

More information

MC302 GRAPH THEORY SOLUTIONS TO HOMEWORK #1 9/19/13 68 points + 6 extra credit points

MC302 GRAPH THEORY SOLUTIONS TO HOMEWORK #1 9/19/13 68 points + 6 extra credit points MC02 GRAPH THEORY SOLUTIONS TO HOMEWORK #1 9/19/1 68 points + 6 extra credit points 1. [CH] p. 1, #1... a. In each case, for the two graphs you say are isomorphic, justify it by labeling their vertices

More information

REU 2006 Discrete Math Lecture 5

REU 2006 Discrete Math Lecture 5 REU 2006 Discrete Math Lecture 5 Instructor: László Babai Scribe: Megan Guichard Editors: Duru Türkoğlu and Megan Guichard June 30, 2006. Last updated July 3, 2006 at 11:30pm. 1 Review Recall the definitions

More information

Lecture 6: Combinatorics Steven Skiena. skiena

Lecture 6: Combinatorics Steven Skiena.  skiena Lecture 6: Combinatorics Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Learning to Count Combinatorics problems are

More information

AXIOMS FOR THE INTEGERS

AXIOMS FOR THE INTEGERS AXIOMS FOR THE INTEGERS BRIAN OSSERMAN We describe the set of axioms for the integers which we will use in the class. The axioms are almost the same as what is presented in Appendix A of the textbook,

More information

where each number (after the first two 1 s) is the sum of the previous two numbers.

where each number (after the first two 1 s) is the sum of the previous two numbers. Fibonacci Numbers The Fibonacci numbers are the numbers in the sequence 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987,... where each number (after the first two 1 s) is the sum of the previous

More information