A solution to the tennis ball problem

Similar documents
TUTTE POLYNOMIALS OF GENERALIZED PARALLEL CONNECTIONS

A Combinatorial Interpretation of the Numbers 6 (2n)! /n! (n + 2)!

The Catalan matroid.

d-regular SET PARTITIONS AND ROOK PLACEMENTS

Generalized Near-Bell Numbers

Linearly dependent vectorial decomposition of clutters

2 Generating Functions

Chapter 5: Integer Compositions and Partitions and Set Partitions

ON PARTITIONS AVOIDING 3-CROSSINGS

Two-boundary lattice paths and parking functions

Chapter 5: Integer Compositions and Partitions and Set Partitions

ASYMPTOTIC ENUMERATION OF PERMUTATIONS AVOIDING GENERALIZED PATTERNS

k-protected VERTICES IN BINARY SEARCH TREES

A REFINED ENUMERATION OF p-ary LABELED TREES

Algebraic aspects of some Riordan arrays related to binary words avoiding a pattern

On partitions avoiding 3-crossings

LARGE SCHRÖDER PATHS BY TYPES AND SYMMETRIC FUNCTIONS

LEVEL GENERATING TREES AND PROPER RIORDAN ARRAYS

Taylor Expansions with Finite Radius of Convergence Work of Robert Jentzsch, 1917

On the symmetry of the distribution of k-crossings and k-nestings in graphs

MATH39001 Generating functions. 1 Ordinary power series generating functions

THE THEORY OF HEAPS AND THE CARTIER FOATA MONOID. C. Krattenthaler

Example 1: What do you know about the graph of the function

ENUMERATION OF CONNECTED CATALAN OBJECTS BY TYPE. 1. Introduction

WAITING FOR A BAT TO FLY BY (IN POLYNOMIAL TIME)

Notes on the Matrix-Tree theorem and Cayley s tree enumerator

ACCUPLACER MATH 0311 OR MATH 0120

THE LECTURE HALL PARALLELEPIPED

1. Vélu s formulae GENERALIZATION OF VÉLU S FORMULAE FOR ISOGENIES BETWEEN ELLIPTIC CURVES. Josep M. Miret, Ramiro Moreno and Anna Rio

Notes on Paths, Trees and Lagrange Inversion

Toufik Mansour 1. Department of Mathematics, Chalmers University of Technology, S Göteborg, Sweden

Crossings and Nestings in Tangled Diagrams

Generating Function Notes , Fall 2005, Prof. Peter Shor

Fighting Fish: enumerative properties. Enrica Duchi. Veronica Guerrini & Simone Rinaldi DIISM, Università di Siena.

A BIJECTION BETWEEN WELL-LABELLED POSITIVE PATHS AND MATCHINGS

Motzkin Paths with Vertical Edges

The Local Spectra of Regular Line Graphs

An Introduction to Transversal Matroids

Matroids/1. I and I 2 ,I 2 > I 1

A bijective proof of Shapiro s Catalan convolution

Animals and 2-Motzkin Paths

0.1. Linear transformations

ECO-generation for some restricted classes of compositions

THE NUMBER OF INDEPENDENT DOMINATING SETS OF LABELED TREES. Changwoo Lee. 1. Introduction

Section 6.2 Long Division of Polynomials

Combinatorics of non-associative binary operations

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

What Do Lattice Paths Have To Do With Matrices, And What Is Beyond Both?

On Arithmetic Properties of Bell Numbers, Delannoy Numbers and Schröder Numbers

Exact solution of two friendly walks above a sticky wall with single and double interactions

MATH 1010E University Mathematics Lecture Notes (week 8) Martin Li

Math 31A Discussion Session Week 1 Notes January 5 and 7, 2016

A brief overview of the sock matching problem

A Recursive Relation for Weighted Motzkin Sequences

DIFFERENTIAL POSETS SIMON RUBINSTEIN-SALZEDO

Partitions, rooks, and symmetric functions in noncommuting variables

TUTTE POLYNOMIALS OF q-cones

LECTURE 6 Separating Hyperplanes (preliminary version)

Catalan triangle numbers and binomial coefficients

A FINITE VERSION OF THE KAKEYA PROBLEM

On the solvability of groups with four class sizes.

Combinatorial Interpretations of a Generalization of the Genocchi Numbers

Combining the cycle index and the Tutte polynomial?

On the Sequence A and Its Combinatorial Interpretations

Extremal Statistics on Non-Crossing Configurations

A tree-decomposed transfer matrix for computing exact partition functions for arbitrary graphs

Tableau models for Schubert polynomials

CATALAN DETERMINANTS A COMBINATORIAL APPROACH

CAYLEY COMPOSITIONS, PARTITIONS, POLYTOPES, AND GEOMETRIC BIJECTIONS

NOTES ABOUT SATURATED CHAINS IN THE DYCK PATH POSET. 1. Basic Definitions

Module 2, Section 2 Solving Equations

Dyck paths with a first return decomposition constrained by height

1. Introduction

Some statistics on permutations avoiding generalized patterns

What you learned in Math 28. Rosa C. Orellana

Harmonic Polynomials and Dirichlet-Type Problems. 1. Derivatives of x 2 n

A BIJECTIVE STUDY OF BASKETBALL WALKS

A PASCAL-LIKE BOUND FOR THE NUMBER OF NECKLACES WITH FIXED DENSITY

Introduction to Rational Functions

Further factorising, simplifying, completing the square and algebraic proof

Mathematics 1. Part II: Linear Algebra. Exercises and problems

1 Rational Exponents and Radicals

LESSON #34 - FINDING RESTRICTED VALUES AND SIMPLIFYING RATIONAL EXPRESSIONS COMMON CORE ALGEBRA II

Permutation groups/1. 1 Automorphism groups, permutation groups, abstract

Primary classes of compositions of numbers

Notes on cycle generating functions

On the number of matchings of a tree.

Partitions, permutations and posets Péter Csikvári

Math Circle: Recursion and Induction

ODD PARTITIONS IN YOUNG S LATTICE

ON IDEALS OF TRIANGULAR MATRIX RINGS

arxiv: v1 [math.co] 20 Dec 2016

Enumeration of Set Partitions Refined by. Crossing and Nesting Numbers

GENERALIZATION OF AN IDENTITY OF ANDREWS

Self-dual interval orders and row-fishburn matrices

New Multiple Harmonic Sum Identities

Euler-Maclaurin summation formula

Enumeration of Chord Diagrams without Loops and Parallel Chords

Tutte Polynomials of Bracelets. Norman Biggs

Transcription:

A solution to the tennis ball problem Anna de Mier Marc Noy Universitat Politècnica de Catalunya Abstract We present a complete solution to the so-called tennis ball problem, which is equivalent to counting the number of lattice paths in the plane that use North and East steps and lie between certain boundaries. The solution takes the form of eplicit epressions for the corresponding generating functions. Our method is based on the properties of Tutte polynomials of matroids associated to lattice paths. We also show how the same method provides a solution to a wide generalization of the problem. Introduction The statement of the tennis ball problem is the following. There are 2n balls numbered, 2, 3,..., 2n. In the first turn balls and 2 are put into a basket and one of them is removed. In the second turn balls 3 and 4 are put into the basket and one of the three remaining balls is removed. Net balls 5 and 6 go in and one of the four remaining balls is removed. The game is played n turns and at the end there are eactly n balls outside the basket. The question is how many different sets of balls we may have at the end outside the basket. It is easy to reformulate the problem in terms of lattice paths in the plane that use steps E =, 0 and N = 0,. It amounts to counting the number of lattice paths from 0, 0 to n, n that never go above the path NE NE = NE n. Indeed, if π = π π 2... π 2n π 2n is such a path, a moment s thought shows that we can identify the indices i such that π 2n i+ is a N step with the labels of balls that end up outside the basket. The number of such paths is well-known to be a Catalan number, and this is the answer obtained in [4]. The problem can be generalized as follows [6]. We are given positive integers t < s and sn labelled balls. In the first turn balls,..., s go into the basket and t of them are removed. In the second turn balls s +,..., 2s go into the basket and t among the remaining ones are removed. After n turns, tn balls lie outside the basket, and again the question is how many different sets of balls we may have at the end. Letting k = t, l = s t, the problem is seen as before to be equivalent to counting the number of lattice paths from 0, 0 to ln, kn that use N and E steps and never go above the path N k E l N k E l = N k E l n. This is the version of the problem we solve in this paper. Departament de Matemàtica Aplicada II. Pau Gargallo 5, 08028 Barcelona, Spain. E-mail addresses: {anna.de.mier,marc.noy}@upc.es. Research partially supported by projects BFM200-2340 and CUR Gen. Cat. 999SGR00356.

From now on we concentrate on lattice paths that use N and E steps. To our knowledge, the only cases solved so far are k = and k = l = 2. The case k = is straightforward, the answer being a generalized Catalan number l+n+ ln++ n+. The case k = l = 2 corresponding to the original problem when s = 4, t = 2 is solved in [6] using recurrence equations; here we include a direct solution. This case is illustrated in Fig., to which we refer net. A path π not above N 2 E 2 n is almost a Catalan path, in the sense that it can raise above the dashed diagonal line only through the dotted points. But clearly between two consecutive dotted points hit by π we must have an E step, followed by a Catalan path of odd semilength, followed by a N step. Thus, π is essentially a sequence of Catalan paths of odd semilength. If Gz = n n+ 2n n z n is the generating function for the Catalan numbers, take the odd part G o z = Gz G z/2. Then epand / zg o z to obtain the sequence, 6, 53, 554, 6363,..., which agrees with the results in [6]. P π Figure : The path π = EENNNEEEENNNNNEE not above P = N 2 E 2 4. It has iπ = 3 and eπ = 2, corresponding to the steps underlined. Let P be a lattice path from 0, 0 to m, r, and let bp be the number of paths from 0, 0 to m, r that never go above P. If P N denotes the path obtained from P by adding a N step at the end of P, then clearly bp = bp N. However, it is not possible to epress bp E simply in terms of bp, where P E has the obvious meaning. As is often the case in counting problems, one has to enrich the objects under enumeration with additional parameters that allow suitable recursive decompositions. This is precisely what is done here: equations 2 and 3 in the net section contain variables and y, corresponding to two parameters that we define on lattice paths not above a given path P. These equations are the key to our solution. The basis of our approach is the connection between lattice paths and matroids established in [2], where the link with the tennis ball problem was already remarked. For completeness, we recall the basic facts needed from [2] in the net section. In Section 3 we present our solution to the tennis ball problem, in the form of eplicit epressions for the corresponding generating functions; see Theorem. In Section 4 we show how the same method can be applied to a more general problem. We conclude with some remarks. 2

2 Preliminaries The contents of this section are taken mainly from [2], where the reader can find additional background and references on matroids, Tutte polynomials, and lattice path enumeration. A matroid is a pair E, B consisting of a finite set E and a nonempty collection B of subsets of E, called bases of the matroid, that satisfy the following conditions: No set in B properly contains another set in B, and 2 for each pair of distinct sets B, B in B and for each element B B, there is an element y B B such that B y is in B. Let P be a lattice path from 0, 0 to m, r. Associated to P there is a matroid M[P ] on the set {, 2,..., m + r} whose bases are in one-to-one correspondence with the paths from 0, 0 to m, r that never go above P. Given such a path π = π π 2... π m+r, the basis corresponding to π consists of the indices i such that π i is a N step. Hence, counting bases of M[P ] is the same as counting lattice paths that never go above P. For any matroid M there is a two-variable polynomial with non-negative integer coefficients, the Tutte polynomial tm;, y. It was introduced by Tutte [9] and presently plays an important role in combinatorics and related areas see []. The key property in this contet is that tm;, equals the number of bases of M. Given a path P as above, there is a direct combinatorial interpretation of the coefficients of tm[p ];, y. For a path π not above P, let iπ be the number of N steps that π has in common with P, and let eπ be the number of E steps of π before the first N step, which is 0 if π starts with a N step. See Fig. for an illustration. Then we have see [2, Theorem 5.4] tm[p ];, y = π iπ y eπ, where the sum is over all paths π that do not go above P. A direct consequence is that tm[p ];, is the number of such paths. Furthermore, for the matroids M[P ] there is a rule for computing the Tutte polynomial that we use repeatedly see [2, Section 6]. If P N and P E denote the paths obtained from P by adding a N step and an E step at the end of P, respectively, then tm[p N];, y = tm[p ],, y, 2 tm[p E];, y = tm[p ],, y + y tm[p ];, y. 3 The right-hand side of 3 is actually a polynomial, since divides tm[p ];, y tm[p ];, y. The key observation here is that we cannot simply set = y = in 3 to obtain an equation linking tm[p E];, and tm[p ];,. For those familiar with matroid theory, we remark that iπ and eπ correspond to the internal and eternal activities of the basis associated to π with respect to the order < 2 < < m + r of the ground set of M[P ]. Also, the matroids M[P N] and M[P E] are obtained from M[P ] by adding an isthmus and taking a free etension, respectively; it is known that formulas 2 and 3 correspond precisely to the effect these two operations have on the Tutte polynomial of an arbitrary matroid. 3

From and the definition of iπ and eπ, equation 2 is clear, since any path associated to M[P N] has to use the last N step. For completeness, we include a direct proof of equation 3. We first rewrite the right-hand side of 3 as tm[p ];, y tm[p ];, y + ytm[p ];, y = yeπ iπ + y eπ+ = π y eπ y + + 2 + + iπ, π where the sums are taken over all paths π that do not go above P. To prove the formula, for each path π not above P we find iπ + paths not above P E such that their total contribution to tm[p E];, y is y eπ y + + 2 + + iπ. Consider first the path π 0 = Eπ; it clearly does not go above P E and its contribution to the Tutte polynomial is y eπ+. Now for each j with j iπ, define the path π j as the path obtained from π by inserting an E step after the jth N step that π has in common with P see Fig. 2. The path π j has eactly j N steps in common with P E, and begins with eπ E steps. Observe also that, if the j-th N step of π is the k-th step, then π and π j agree on the first k and on the last m + r k steps. P π PE PE PE π 0 π π 2 Figure 2: Illustrating the combinatorial proof of formula 3. It remains only to show that each contribution to the Tutte polynomial of M[P E] arises as described above. Let π be a path that never goes above P E and consider the last N step that π has in common with P E; clearly the net step must be E in the case where π and and P E have no N steps in common, this would be the initial E step of π. Let π be the path obtained after removing this E step. Since π had no N steps in common 4

with P E after the removed E step, the path π does not go above P. Thus the path π can be obtained from π by adding an E step after the iπ -th N step that π has in common with P, and hence π arises from π as above. By the remarks at the end of the previous paragraph, it is clear that π cannot be obtained in any other way by applying the procedure described above, and this finishes the proof. 3 Main result Let k, l be fied positive integers, and let P n = N k E l n. Our goal is to count the number of lattice paths from 0, 0 to ln, kn that never go above P n. From the considerations in the previous section, this is the same as computing tm[p n ];,. Let A n = A n, y = tm[p n ];, y. By convention, P 0 is the empty path and A 0 =. In order to simplify the notation we introduce the following operator Φ on two-variable polynomials: ΦA, y = Then, by equations 2 and 3 we have A, y + y A n+ = Φ l k A n, A, y. where Φ i denotes the operator Φ applied i times. For each n 0 and i =,..., l, we define polynomials B i,n, y and C i,n y as B i,n = Φ i k A n, y, C i,n = B i,n, y. We also set C 0,n y = A n, y. Notice that B l,n = A n+, and C 0,n = A n, is the quantity we wish to compute. Then, by the definition of Φ, we have: B,n = k A n + y C 0,n ; B 2,n = B,n + B l,n = B l,n + A n+ = B l,n. y y C,n ; C l,n ; In order to solve these equations, we introduce the following generating functions in the variable z but recall that the coefficients are polynomials in and y: A = n 0 A n z n, C i = n 0 C i,n z n, i = 0,..., l. 5

We start from the last equation A n+ = B l,n and substitute repeatedly the value of B i,n from the previous equation. Taking into account that n A n+z n = A /z, a simple computation yields A z = k+l l A + y y i i C l i. 4 i= We now set y = and obtain A l z k+l = l z i l i C l i, 5 where it is understood that from now on we have set y = in the series A and C i. By Puiseu s theorem see [8, Chapter 6], the algebraic equation in w i= w l zw k+l = 0 6 has k + l solutions in the field C fra z = { n n 0 a n z n/n } of fractional Laurent series. Proposition 6..8 in [8] tells us that eactly l of them are fractional power series without negative powers of z; let them be w z,..., w l z. We substitute = w j in 5 for j =,..., l, so that the left-hand side vanishes, and obtain a system of l linear equations in C 0, C,..., C l, whose coefficients are epressions in the w j, namely i= w i j w j l i zc l i = w j l, j =,..., l. 7 Notice that, in order of the product in the left-hand side of 5 to be defined, the solutions of 6 that we substitute in 5 cannot have negative powers of z, hence they must be w,..., w l. The method of pairing two variables so that one side of an equation vanishes is presently called the kernel method; in our case, the kernel of the equation is l z k+l. We refer the reader to [] for a list of references on the kernel method, and also to [3, 7] for further eamples and variations. It remains only to solve 7 to obtain the desired series C 0 = n A n, z n. The system 7 can we written as l i wj zc l i = w j, j =,..., l. w j i=0 The left-hand sides of the previous equations can be viewed as the result of evaluating the polynomial l i=0 zc l i X i of degree l at X = w j /w j, for j with j l. Using Lagrange s interpolation formulas, we get that the coefficient of X l in this polynomial is zc 0 = j= i j w j wj w j 6. w i w i

By straightforward manipulation this last epression is equal to l w j j= j= w j l i j w j w i = l w j, where the last equality follows from an identity on symmetric functions set r = 0 in Eercise 7.4 in [8]. Thus we have proved the following result. Theorem. Let k, l be positive integers. Let q n be the number of lattice paths from 0, 0 to ln, kn that never go above the path N k E l n, and let w,..., w l be the unique solutions of the equation w l zw k+l = 0 that are fractional power series. Then the generating function Qz = n 0 q nz n is given by Qz = z w w l. Remark that, by symmetry, the number of paths not above N l E k n must be the same as in Theorem, although the algebraic functions involved in the solution are roots of a different equation. In the particular case k = l the solution can be epressed directly in terms of the generating function Gz = n n+ 2n n z n for the Catalan numbers, which satisfies the quadratic equation Gz = + zgz 2. Indeed, 6 can be rewritten as w = + z /k w 2, whose fractional power series solutions are Gζ j z /k, j = 0,..., k, where ζ is a primitive k-th root of unity. For instance, for k = l = 3 corresponding to s = 6, t = 3 in the original problem, ζ = ep2πi/3 and we obtain the solution z Gz/3 Gζz /3 Gζ 2 z /3 = + 20z + 662z 2 + 26780z 3 + 20596z 4 + 58050204z 5 +. In the same way, if l divides k and we set p = k + l/l, the solution can be epressed in terms of the generating function pn n p n+ n z n for generalized Catalan numbers; the details are left to the reader. As an eample, for k = 4, l = 2, we obtain the series where Hz = n z Hz/2 H z /2 = j= + 5z + 360z 2 + 0463z 3 + 337269z 4 + 599668z 5 +, 2n+ 3n n satisfies Hz = + zhz 3. 7

4 A further generalization In this section we solve a further generalization of the tennis ball problem. Given fied positive integers s, t,..., s r, t r with t i < s i for all i, let s = s i, t = t i. There are sn labelled balls. In the first turn we do the following: balls,..., s go into the basket and t of them are removed; then balls s +,..., s + s 2 go into the basket and among the remaining ones t 2 are removed; this goes on until we introduce balls s s r +,..., s, and remove t r balls. In each succesive turn we perform r steps in a similar manner, putting a total of s balls into the basket and removing t. After n turns there are tn balls outside the basket and the question is again how many different sets of tn balls we may have at the end. The equivalent path counting problem is: given k, l,..., k r, l r positive integers with k = k i, l = l i, count the number of lattice paths from 0, 0 to ln, kn that never go above the path P n = N k E l N k r E l r n. The solution parallels the one presented in Section 3. We keep the notations and let A n = tm[p n ];, y, so that A n+ = Φ l r kr Φ l k A n. As before, we introduce l polynomials B i,n, y and C i,n y = B i,n, y, but the definition here is a bit more involved: B i,n = Φ i k A n, i =,..., l ; B l +i,n = Φ i k 2 B l,n, i =,..., l 2 ; B l +l 2 +i,n = Φ i k 3 B l +l 2,n, i =,..., l 3 ; B l lr +i,n = Φ i kr B l lr,n, i =,..., l r. We also set C 0,n y = A n, y. Again, from the definition of Φ, we obtain a set of equations involving A n, A n+ = B l,n, the B i,n and the C i,n. We define generating functions A and C i i = 0,..., l as in Section 3. Starting with A n+ = B l,n, we substitute repeatedly the values of the B i,n from previous equations and set y =. After a simple computation we arrive at A l z k+l = l + z U, C 0,..., C l, 9 where U is a polynomial in the variables, C 0,..., C l that depends linearly on each C i. Observe that the difference between 9 and equation 5 is that now U is not a concrete epression but a certain polynomial that depends on the particular values of the k i and l i. Let w,..., w l be again the power series solutions of 6. Substituting = w j in 9 for j =,..., l, we obtain a system of linear equations in the C i. Since the coefficients are rational functions in the w j, the solution consists also of rational functions; they are necessarily symmetric since the w j, being conjugate roots of the same algebraic equation, are indistinguishable. Thus we have proved the following result. 8 8

Theorem 2. Let k, l,..., k r, l r be positive integers, and let k = k i, l = l i. Let q n be the number of lattice paths from 0, 0 to ln, kn that never go above the path N k E l N kr E lr n, and let w,..., w l be the unique solutions of the equation w l zw k+l = 0 that are fractional power series. Then the generating function Qz = n 0 q nz n is given by Qz = z Rw,..., w l, where R is a computable symmetric rational function of w,..., w l. As an eample, let r = 2 and k, l, k 2, l 2 = 2, 2,,, so that k = l = 3. Solving the corresponding linear system we obtain R = w w 2 w 3 2w w 2 w 3 w w 2 + w w 3 + w 2 w 3, and Qz = z R = + 6z + 503z2 + 9904z 3 + 885500z 4 + 42298944z 5 +. It should be clear that for any values of the k i and l i the rational function R can be computed effectively. In fact, a simple computer program could be written that on input k, l,..., k r, l r, outputs R. 5 Concluding Remarks It is possible to obtain an epression for the generating function of the full Tutte polynomials A n, y defined in Section 3. We outline the proof of the formula A n, yz n = n 0 w w l z k+l l y + w yw y + w l yw l. 0 Note that taking = y = we recover the formula stated in Theorem and that this formula generalizes Theorem 5.6 of [2]. From 4 we obtain A l z k+l = l + zy y i l C l i, where A and the C i are power series in z whose coefficients are polynomials in, y and y, respectively. Notice that the kernel of the equation is the same as in 5, so it has l roots that are fractional power series, w,..., w l. Observe that the right-hand side of is a polynomial in of degree l that vanishes at w,..., w l ; the leading coefficient of this polynomial is + zy l i=0 C i. Hence, i= A = w w l + zy l i=0 C i l z k+l. 9

To show that this epression is indeed equal to 0, we use again polynomial interpolation to evaluate l i=0 zc i. We obtain that l zc i = i=0 i= w i yw i y w i j i w j w j w i w i w j w j After some algebraic manipulation and using again [8, Eercise 7.4], we get that this last epression equals + y l j= y + w, j yw j from which 0 follows. On the other hand, references [5] and [6] also study a different question on the tennis ball problem, namely to compute the sum of the labels of the balls outside the basket for all possible configurations. For a given lattice path P n, this amounts to computing the sum of all elements in all bases of the matroid M[P n ]. We remark that this quantity does not appear to be computable from the corresponding Tutte polynomials alone. References [] C. Banderier, M. Bousquet-Mélou, A. Denise, P. Flajolet, D. Gardy, D. Gouyou-Beauchamps, Generating functions for generating trees, Discrete Math. 246 2002 29 55. [2] J. Bonin, A. de Mier, M. Noy, Lattice path matroids: enumerative aspects and Tutte polynomials, J. Combin. Theory Ser. A 04 2003 63 94. [3] M. Bousquet-Mélou, Walks in the quarter plane: Kreweras algebraic model, arxiv:math.co/040067. [4] R. Grimaldi, J. Moser, The Catalan numbers and the tennis ball problem, Congr. Numer. 25 997, 65 7. [5] C. L. Mallows, L. W. Shapiro, Balls in the lawn, J. Integer Sequences 2 999. [6] D. Merlini, R. Sprugnoli, M. C. Verri, The tennis ball problem, J. Combin. Theory Ser. A 99 2002, 307 344. [7] H. Prodinger, The kernel method: a collection of eamples, Séminaire Lotharingien de Combinatoire 50 2004, Article B50f. [8] R. P. Stanley, Enumerative combinatorics, Vol. 2, Cambridge University Press, Cambridge, 999. [9] W. T. Tutte, A contribution to the theory of chromatic polynomials, Canadian J. Math. 6 954, 80 9. [0] W. T. Tutte, On the enumeration of planar maps, Bull. Amer. Math. Soc. 74 968, 64 74. [] D. J. A. Welsh, Compleity: knots, colourings and counting, Cambridge University Press, Cambridge, 993.. 0