MA241 Combinatorics
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Basic Combinatorics
Basic Combinatorics Carl G. Wagner Department of Mathematics The University of Tennessee Knoxville, TN 37996-1300 Contents List of Figures iv List of Tables v 1 The Fibonacci Numbers From a Combinatorial Perspective 1 1.1 A Simple Counting Problem . 1 1.2 A Closed Form Expression for f(n) . 2 1.3 The Method of Generating Functions . 3 1.4 Approximation of f(n) . 4 2 Functions, Sequences, Words, and Distributions 5 2.1 Multisets and sets . 5 2.2 Functions . 6 2.3 Sequences and words . 7 2.4 Distributions . 7 2.5 The cardinality of a set . 8 2.6 The addition and multiplication rules . 9 2.7 Useful counting strategies . 11 2.8 The pigeonhole principle . 13 2.9 Functions with empty domain and/or codomain . 14 3 Subsets with Prescribed Cardinality 17 3.1 The power set of a set . 17 3.2 Binomial coefficients . 17 4 Sequences of Two Sorts of Things with Prescribed Frequency 23 4.1 A special sequence counting problem . 23 4.2 The binomial theorem . 24 4.3 Counting lattice paths in the plane . 26 5 Sequences of Integers with Prescribed Sum 28 5.1 Urn problems with indistinguishable balls . 28 5.2 The family of all compositions of n . 30 5.3 Upper bounds on the terms of sequences with prescribed sum . 31 i CONTENTS 6 Sequences of k Sorts of Things with Prescribed Frequency 33 6.1 Trinomial Coefficients . 33 6.2 The trinomial theorem . 35 6.3 Multinomial coefficients and the multinomial theorem . 37 7 Combinatorics and Probability 39 7.1 The Multinomial Distribution . -
Analogues of the Binomial Coefficient Theorems of Gauss and Jacobi
ANALOGUES OF THE BINOMIAL COEFFICIENT THEOREMS OF GAUSS AND JACOBI by Abdullah Al-Shaghay Submitted in partial fulfillment of the requirements for the degree of Master of Science at Dalhousie University Halifax, Nova Scotia March 2014 c Copyright by Abdullah Al-Shaghay, 2014 Table of Contents List of Tables ................................... iv Abstract ...................................... v List of Abbreviations and Symbols Used .................. vi Acknowledgements ............................... viii Chapter 1 Introduction .......................... 1 1.1TheTheoremsofGaussandJacobi................... 1 1.2 The Theorem of Hudson and Williams ................. 5 1.3Morley’sCongruence........................... 6 1.4UsesandApplications.......................... 7 1.5Goals.................................... 8 Chapter 2 Background ........................... 9 2.1GaussFactorials.............................. 9 2.2 Morita’s p-adicGammaFunction.................... 10 2.3GaussandJacobiSums.......................... 12 2.4TheGross-KoblitzFormula....................... 16 2.5EvaluationsofCertainJacobiSums................... 18 2.6SomeSpecialNumberSequences..................... 19 2.7CongruencesforCertainFiniteSums.................. 21 2.8PrimesandSumsofSquares....................... 26 Chapter 3 Congruences for Binomial Coefficients Modulo p3 ... 31 3.1 The p ≡ 1(mod6)case......................... 31 3.2 The p ≡ 1(mod4)case......................... 55 ii 3.3 The p ≡ 1(mod8)case......................... 61 Chapter 4 Conclusion ........................... -
Basic Counting
CHAPTER 1 Basic Counting Introduction Before beginning, we must confront some matters of notation. Two words that we shall often use are set and list. Both words refer to collections of objects. There is no standard notation for lists. Some of those in use are apple banana pear peach a list of four items ... apple, banana, pear, peach commas added for clarity ... and (apple, banana, pear, peach) parentheses added. The notation for sets is standard: the items are separated by commas and surround by curly brackets as in {apple, banana, pear, peach}. The curly bracket notation for sets is so well established that you can normally assume it means a set—but beware, Mathematica R uses curly brackets for lists. What is the difference between a set and a list? Quite a bit, and nothing. “Set” means a collection of distinct objects in which the order doesn’t matter. Thus {apple, peach, pear} and {peach, apple, pear} are the same sets, and the set {apple, peach, apple} is the same as the set {apple, peach}. In other words, repeated elements are treated as if they occurred only once. Thus two sets are the same if and only if each element that is in one set is in both. In a list, order is important and repeated objects are usually allowed. Thus (apple, peach) (peach, apple) and (apple, peach, apple) are three different lists. Two lists are the same if and only if they have exactly the same items in exactly the same positions. Thus, sets and lists are different. On the other hand, people talk about things like “unordered lists,” “sets with repetition,” and so on. -
3. Elementary Counting Problems 4.1,4.2. Binomial and Multinomial Theorems 2
3. Elementary Counting Problems 4.1,4.2. Binomial and Multinomial Theorems 2. Mathematical Induction Prof. Tesler Math 184A Fall 2017 Prof. Tesler Elementary Counting Problems Math 184A / Fall 2017 1 / 38 Multiplication rule Combinatorics is a branch of Mathematics that deals with systematic methods of counting things. Example How many outcomes (x, y, z) are possible, where x = roll of a 6-sided die; y = value of a coin flip; z = card drawn from a 52 card deck? (6 choices of x) (2 choices of y) (52 choices of z) = 624 × × Multiplication rule The number of sequences (x1, x2,..., xk) where there are n1 choices of x1, n2 choices of x2,..., nk choices of xk is n1 n2 nk. · ··· This assumes the number of choices of xi is a constant ni that doesn’t depend on the other choices. Prof. Tesler Elementary Counting Problems Math 184A / Fall 2017 2 / 38 Cartesian product The Cartesian Product of sets A and B is A B = f (x, y): x A, y B g By the Multiplication× Rule, this has size2 jA 2Bj = jAj jBj. × · Example: f1, 2g f3, 4, 5g = f(1, 3), (1, 4), (1, 5), (2, 3), (2, 4), (2, 5)g × The Cartesian product of sets A, B, and C is A B C = f (x, y, z): x A, y B, z C g This has size×jA ×B Cj = jAj jBj jC2j. 2 2 × × · · This extends to any number of sets. Example Roll of a 6-sided die A = f1, 2, 3, 4, 5, 6g jAj = 6 Value of a coin flip B = fH, Tg jBj = 2 Cards C = fA , 2 ,...g jCj = 52 ~ ~ The example on the previous slide becomes jA B Cj = 6 2 52 = 624. -
MITOCW | Watch?V=Juggfhso-Xm
MITOCW | watch?v=juGgfHsO-xM PROFESSOR: The binomial theorem extends to a thing called the multinomial theorem, whereas instead of taking a product of a sum of two things, you'd take the product of a sum of k things to get the multinomial theorem. And what underlies it is a rule that we're going to call the bookkeeper rule, and here's why. So, the bookkeeper rule is about the question of, look at the word bookkeeper and ask how many different ways are there to scramble the letters in this word that actually are distinguishable? The point being that the two o's are indistinguishable, so the order in which they appear doesn't matter. Likewise, the three e's and the two k's. Well, how do we answer this question? The simple way to do it to begin with is to label all of the indistinguishable letters with subscripts to make them distinguishable. So, I'm going to put subscripts 1 and 2 on the o's, 1 and 2 on the k's, and 1, 2, and 3 on the e's. Now, all the 10 letters are distinguishable. And if I ask how many ways are there to permute these 10 letters, the answer, we know by the generalized product rule is simply 10 factorial. Now, my strategy is going to be to use the division rule to count the number of patterns of the letters in the word with no subscripts. And the way I'm going to do that is take one of these subscripted words and erase the subscripts. -
Contents 4 Counting Principles
Introduction to Proof (part 4): Counting Principles (by Evan Dummit, 2019, v. 1.00) Contents 4 Counting Principles 1 4.1 Enumeration Techniques . 1 4.1.1 Addition and Multiplication Principles . 1 4.1.2 Permutations and Combinations . 3 4.1.3 Binomial Coecients and the Binomial Theorem . 6 4.1.4 Inclusion-Exclusion . 9 4.1.5 Counting With Repetition . 12 4.2 The Pigeonhole Principle . 14 4.2.1 Statements of the Pigeonhole Principle . 14 4.2.2 Examples of the Pigeonhole Principle . 16 4.3 Other Examples of Counting Problems . 18 4.3.1 Prime Powers Dividing Factorials . 18 4.3.2 Derangements . 19 4.3.3 Counting Equivalence Relations . 20 4.3.4 The Multinomial Theorem . 20 4.3.5 Stirling Numbers . 22 4 Counting Principles Our goal in this chapter is to discuss a number of varied techniques for solving various problems related to counting and enumeration in nite sets. We begin by introducing basic counting principles, which lead us to study per- mutations, combinations, and binomial coecients. We then discuss inclusion-exclusion and methods for counting with repetition, before discussing a useful result known as the pigeonhole principle. We close with an analysis of a number of moderately-related counting problems that both parallel and extend our earlier examples. 4.1 Enumeration Techniques • We begin by showing how to employ some of our results on sets and cardinality to solve various kinds of counting problems. 4.1.1 Addition and Multiplication Principles • Two fundamental counting principles are as follows: ◦ (Addition Principle) When choosing among n disjoint options labeled 1 through n, if option i has ai possible outcomes for each 1 ≤ i ≤ n, then the total number of possible outcomes is a1 + a2 + ··· + an. -
Lecture Notes Combinatorics
Lecture Notes Combinatorics Lecture by Maria Axenovich and Torsten Ueckerdt (KIT) Problem Classes by Jonathan Rollin (KIT) Lecture Notes by Stefan Walzer (TU Ilmenau) Last updated: May 30, 2017 1 Contents 0 What is Combinatorics?4 1 Permutations and Combinations9 1.1 Basic Counting Principles......................9 1.1.1 Addition Principle...................... 10 1.1.2 Multiplication Principle................... 10 1.1.3 Subtraction Principle.................... 11 1.1.4 Bijection Principle...................... 11 1.1.5 Pigeonhole Principle..................... 11 1.1.6 Double counting....................... 11 1.2 Ordered Arrangements { Strings, Maps and Products...... 12 1.2.1 Permutations......................... 13 1.3 Unordered Arrangements { Combinations, Subsets and Multisets................ 15 1.4 Multinomial Coefficients....................... 16 1.5 The Twelvefold Way { Balls in Boxes............... 22 1.5.1 U L: n Unlabeled Balls in k Labeled Boxes...... 22 1.5.2 L ! U: n Labeled Balls in k Unlabeled Boxes...... 25 1.5.3 L ! L: n Labeled Balls in k Labeled Boxes....... 27 1.5.4 U ! U: n Unlabeled Balls in k Unlabeled Boxes.... 28 1.5.5 Summary:! The Twelvefold Way............... 30 1.6 Binomial Coefficients { Examples and Identities.......... 30 1.7 Permutations of Sets......................... 34 1.7.1 Generating Permutations.................. 36 1.7.2 Cycle Decompositions.................... 37 1.7.3 Transpositions........................ 39 1.7.4 Derangements......................... 42 2 Inclusion-Exclusion-Principle and M¨obiusInversion 45 2.1 The Inclusion-Exclusion Principle.................. 45 2.1.1 Applications......................... 47 2.1.2 Stronger Version of PIE................... 52 2.2 M¨obiusInversion Formula...................... 53 3 Generating Functions 58 3.1 Newton's Binomial Theorem..................... 62 3.2 Exponential Generating Functions................