Forty years of tree enumeration

Size: px
Start display at page:

Download "Forty years of tree enumeration"

Transcription

1 October 24, 206

2 Canada John Moon (Alberta) Counting labelled trees Canadian mathematical monographs

3 What is our subject? Asymptotic enumeration or Probabilistic combinatorics?

4 What is our subject? Asymptotic enumeration AND Probabilistic combinatorics!

5 What is our subject? Exact enumeration!

6 Binary trees and exact enumeration Figure: Leaves labelled left to right

7 Theorem The expectation E n,j of the height of the leaf with label j in a binary tree of size n, is given by E n,j = 2(2j + )(2n 2j + ) n + 2 ( 2j j )( 2n 2j n j ) ( 2n n ) for 0 j n. ()

8 Binary trees and exact enumeration Figure: Nodes labelled via inorder traversal

9 Binary trees and exact enumeration Theorem The expectation E n,j of the number of descendants of the node with label j, where the nodes are labelled by inorder traversal, in a binary tree of size n, is given by E n,j = n + 4 ( 2j j )( 2(n+ j) n+ j ) ( 2n n ) for j n

10 Binary trees and exact enumeration Theorem The expectation E n,j of the number of descendants of the node with label j, where the nodes are labelled by inorder traversal, in a binary tree of size n, is given by E n,j = n + 4 ( 2j j )( 2(n+ j) n+ j ) ( 2n n ) for j n Many more results of this style are available (together with Alois Panholzer). Trivariate generating functions and Zeilberger s algorithm.

11 Preorder

12 Postorder

13 Lattice paths also belong to tree enumeration! Figure: A planar tree with 8 nodes (=7 edges) and the corresponding Dyck path of length 4 (=semi-length 7)

14 Dyck like paths Upsteps +, downsteps 2 (in general (t )) T T 2 T 3 Figure: The decomposition of generalized Dyck paths leading (recursively) to a ternary tree with subtrees T, T 2, T 3.

15 Returns and hills Figure: A ternary tree with 0 (internal) nodes. It has 6 returns and 3 hills.

16 explicit! Explicit forms of bivariate generating functions are available, and results about the limiting distribution (negative binomial distribution) Solving an open question.

17 Quickselect Permutation Pivot is

18 Quickselect

19 Quickselect

20 Quickselect

21 Quickselect If one only wants the find the jth ranked element (which is j, since we assume that the elements in question are {, 2,..., n}), one uses the same partitioning strategy as in Quicksort, but follows only the path which contains the sought element. This is the same as to say that one goes down recursively in only one subfile. This procedure is called Hoare s Find algorithm. Knuth has already computed the average number of comparisons C n,j. For this, it is assumed that every permutation of {, 2,..., n} is equally likely, and that the partitioning phase needs n comparisons. Then there is the recursion C n,j = n + n k<j C n k,j k + n j<k n C k,j. The solution is ) C n,j = 2 (n (n + )H n (j + 2)H j (n + 3 j)h n+ j.

22 Quickselect: Second factorial moment (comparisons) M n,j = 2(n + )(n + 6) H 2 n 8H n ( jh j + (n + j) H n+ j ) + 4 (3n2 + 8n + )j 2 + (n + )(3n 2 + 8n + )j + 4(n + ) H n j(n + j) + 2(j + 8)(j + )H 2 j + 2(n + 9 j)(n + 2 j) H 2 n+ j ( + 4 j 2 + (n + )j n 2 ) n + 4 H j H n+ j 2 ( 2(3n + 7)j 3 + (6n 2 + 4n + 3)j 2 ) + (n + )(6n + )j + 8(n + ) H j j(n + j) 2 ( 2(3n + 7)j 3 (2n n + 29)j 2 j(n + j) + 2(n + )(n + 6) H (2) n + (n + )(6n 2 ) + 26n + 5)j + 8(n + ) H n+ j 2(j 2 + 5j + 8) H (2) 2(j 2 (2n + 7)j + n 2 + 7n + 4) H (2) j n+ j + 0j4 20(n + )j 3 + (n 2 3n 66)j 2 + (9n n + 76)(n + )j j(n + j) ( + 4n (n + j) j H n k k= k n+ j + j k= ) H n k k

23 Digital search trees A : 00 B : 00 C : 0000 D : E : 000 F : 00 G : 0 H : 0 I : 00 C 0 B F 0 0 E A D I 0 G H

24 Digital search trees: path length Folklore: the average path length: n k=2 ( ) n ( ) k Q k 2 k with Q k = ( )( )... ( ) k (x; q) n = ( x)( xq)... ( xq n )

25 Digital search trees with l N = N N k=2 R N = Q N ( ) N ( ) k R k 2 k N Q k k=0 Asymptotic evaluation P.Flajolet and R.Sedgewick, Digital Search Trees Revisited, SIAM J. Computing,

26 Digital search trees: external internal nodes External internal nodes in digital search trees via Mellin transforms. H. Prodinger, SIAM Journal on Computing, 2:80 83, 992. Improved constant: nicer, fast convergent series: N Q log 2 + ( ) j 2 (j 2) / Q j (j ) 2 j j 2 Final result l N N ( α + R ( ) ) = N.

27 Digital search trees A big challenge: Dealing with n 2 ( ) n Q k 2 Q n k 2 k k=2 Digital search trees again revisited: The internal path length perspective. P. Kirschenhofer, H. Prodinger and W. Szpankowski, SIAM Journal on Computing, 23:598 66, 994. (paper written ) Analysis of the variance of the path length. Complicated expressions! Much improved a few years ago by Hwang, Fuchs, Zacharowitsch. Approximating much earlier, much nicer constant.

28 Digital search trees: protected nodes A : 00 B : 00 C : 0000 D : E : 000 F : 00 G : 0 H : 0 I : 00 C 0 B F 0 0 E A D I 0 G H Figure: A digital search tree with nine nodes, among which A and D are 2-protected.

29 Digital search trees: protected nodes Theorem The average number of 2-protected nodes in random DSTs of size N is exactly given by l N = N k=2 ( N k 2 )( ) k (n + )2 n n(n+) 4 Q k 2. k Q n= n Theorem The average number l N of 2-protected nodes in random DSTs of size N admits the asymptotic expansion l N = N N δ(log 2 N) + O(), The tiny periodic function δ(x) has a Fourier expansion that could be computed in principle.

30 Rice s method l N = Γ(N + )Γ( z) 2πi C Γ(N + z) ψ(z)dz, where C encircles the poles 2, 3,..., N and no others. The function ψ(z) is the extension of k 2 Q k 2 n= (n + )2 n n(n+) 4 Q n

31 q Combinatorics of geometrically distributed random variables.

32 q Combinatorics of geometrically distributed random variables. Flajolet: Prodinger s q-analogs

33 Batcher s odd-even exchange revisited Batcher s odd-even exchange revisited: a generating functions approach,, Theoretical Computer Science 636 (206), (0, 0) b 0 b 0 a 0 a 0 a a a 2 a 2 b b 2 b b 2 b 0 b b 2 b 0 b b 2... a 0 a 0 a a a 2 a 2 b 0 b 0... a 0 a 0 a a a 2 a 2 b b 2 b b 2 a 0 b 0 b a 0 b 0 a (n, n)

34 Batcher B n : the average number of exchanges Sedgewick: B n = ( 2n ) ( ) 2n (2F (k) + k), (2) n k n k where F (k) is the summatory function of f (j), which is the number of ones in the Gray code representation of j: F (k) := f (j). 0 j<k

35 Batcher (0, 0) b 0 b 0 a 0 a 0 a a a 2 a 2 b b 2 b b 2 b 0 b b 2 b 0 b b 2... a 0 a 0 a a a 2 a 2 b 0 b 0... a 0 a 0 a a a 2 a 2 b b 2 b b 2 a 0 b 0 b a 0 b 0 a (n, n) The weights in our problem are a k = f (k) and b k = f (k) +.

36 Batcher New: A generating function approach to derive Sedgewick s formula.

37 Batcher New: A generating function approach to derive Sedgewick s formula. Method: Write symbolic equations for families of lattice paths, then translate them into generating functions

38 Batcher A decorated path goes from (0, 0) to (n, n) and carries exactly one (vertical) label. W : the family of all paths (0, 0) to (n, n) D : (0, 0) to (n, n), staying on one (prescribed) side of the diagonal R p : the family of paths with vertical label a p, S p : the family of paths with vertical label b p. We treat a p as a fixed symbol (not depending on p). u Standard substition z = ( + u) 2.

39 Batcher W (z) = D(z) = 4z 2z 4z = n 0 = n 0 ( ) 2n z n = + u n u, n + R p = WA p W; ( ) 2n z n = + u. n A p = dda p Dh, p, A 0 = a p ddh.

40 Batcher A p = z( + u) 2 A p = ua p, p, A 0 = a p u + u. By iteration, A p = a p u p+ + u and therefore R p = a p u p+ ( + u) ( u) 2 by symmetry S p = b p u p+ ( + u) ( u) 2.

41 Batcher In the Batcher problem: b p = + a p, a p = f (p) f (k) : number of ones in the Gray code representation of k. B(z) := (R p + S p ) = p 0 u( + u) ( u) f (p) up+ ( + u) ( u) 2. p 0 B(z) = u( + u) + u) u 2k + 2u( ( u) 3 ( u) 3 + u. 2k+ k 0 Formula (with small mistake) given earlier by Knuth (without proof). Sedgewick s formula follows from this by standard extraction of coefficients.

42 Batcher Starting from B(z) = u( + u) + u) u 2k + 2u( ( u) 3 ( u) 3 + u. 2k+ k 0 one can also do asymptotics. Singularity of generating functions, Mellin transform.

43 Batcher Theorem The average number of exchanges in the odd-even merge of 2n elements satisfies B n 4 n log 2 n + nb(log 4 n), where B(x) is a continuous periodic function of period ; this function can be expanded as a Fourier series B(x) = k Z b ke 2kπix, with b 0 = 2 log 2 γ 4 log log 2 Γ ( 4) log2 π and for k 0, with the abbreviation χ k = 2πik log 2, b k = log 2 ζ( χ k, )Γ(χ k /2) 4. Furthermore, B(x) b χ k

44 Asymptotics in the early days De Bruijn s book Asymptotic methods in Analysis

45 Asymptotics in the early days De Bruijn s book Asymptotic methods in Analysis One chapter in Comtet s book Advanced Combinatorics (Darboux s lemma)

46 Asymptotics in the early days De Bruijn s book Asymptotic methods in Analysis One chapter in Comtet s book Advanced Combinatorics (Darboux s lemma) Edward A. Bender s survey article, SIAM Rev., 6 (974), (3 pages) Asymptotic Methods in Enumeration

47 Asymptotics in the early days De Bruijn s book Asymptotic methods in Analysis One chapter in Comtet s book Advanced Combinatorics (Darboux s lemma) Edward A. Bender s survey article, SIAM Rev., 6 (974), (3 pages) Asymptotic Methods in Enumeration much later Odlyzko s survey paper.

48 Asymptotics in the early days De Bruijn s book Asymptotic methods in Analysis One chapter in Comtet s book Advanced Combinatorics (Darboux s lemma) Edward A. Bender s survey article, SIAM Rev., 6 (974), (3 pages) Asymptotic Methods in Enumeration much later Odlyzko s survey paper. Now: The book Analytic Combinatorics and various survey papers by Philippe Flajolet (948 20)

49 Register function Work with Benjamin Hackl and Clemens Heuberger, in progress. Binary trees are either a leave or a root together with a left and a right subtree, which are binary trees. Symbolic equation: B = + B B

50 Reduction of binary trees; Register function A binary tree of size n has n internal nodes, and thus n + external nodes (leaves). The number b n of binary trees of size n is the nth Catalan number C n = n + ( ) 2n, n which follows the generating function B(z) = n 0 b n z n = +B 2 (z) = 4z 2z = n 0 ( ) 2n z n. n + n

51 Reduction of binary trees; Register function The equation B(z) = + z ( 2z B z 2 ) ( 2z) 2. (Touchard s identity) can also be seen as a recursive process to generate binary trees via B 0 (z) =, B r (z) = + z ( 2z B z 2 ) r ( 2z) 2, r. In this way we get B (z) = + z + 2z 2 + 4z 3 + 8z 4 + 6z z z z z z 0 +, B 2 (z) = + z + 2z 2 + 5z 3 + 4z z z z z z 9 +, B 3 (z) = + z + 2z 2 + 5z 3 + 4z z z z z z 9 +.

52 Reduction of binary trees; Register function The register function is recursively defined: Recursive description : reg( ) = 0, and if tree t has subtrees t and t 2, then { max{reg(t ), reg(t 2 )} if reg(t ) reg(t 2 ), reg(t) = + reg(t ) otherwise.

53 Reduction of binary trees; Register function Figure: A binary tree with 3 internal nodes. The numbers in the nodes are the register function of the subtree having this node as root. The register function of the tree is the value at the root, i. e., 3.

54 Reduction of binary trees; Register function Classical results (Flajolet et al.; Kemp, 979) The average value of the register function, assuming that all binary trees of size n (= n internal nodes), is asymptotically given as with a periodic function δ(x). log 4 n + δ(log 4 n)

55 Reduction of binary trees; Register function The register function is also known as Horton-Strahler numbers in the study of the complexity of river networks.

56 Reduction of binary trees; Register function Let R p denote the family of trees with register function = p, then one gets immediately from the recursive definition: R p =R p R p + R p + R j R j j<p j<p R p

57 Reduction of binary trees; Register function Let R p denote the family of trees with register function = p, then one gets immediately from the recursive definition: R p =R p R p + R p + R j R j j<p j<p R p R p = zr 2 p + 2R p j<p R j

58 Reduction of binary trees; Register function Easier to manipulate:

59 Reduction of binary trees; Register function Easier to manipulate: Let S p denote the family of trees with register function p, then one gets immediately from the recursive definition: S p =S p S p + S p B \ S p + B \ S p S p

60 Reduction of binary trees; Register function S p (z) = u2 u u 2p u 2p. u 2p R p (z) = u2. u u 2p+ u z = ( + u) 2

61 Reduction of binary trees; Register function Flajolet s approach: relatively elementary, using the dyadic valuation v 2 (n): If n = 2 i (2j + ), then i = v 2 (n). Can be linked to the sum of digits function S 2 (n). A result by H. Delange on the average value of the sum of digits function can be used.

62 Reduction of binary trees; Register function Kemp s approach: Mellin transform. At that period, people called it the Gamma function method.

63 Reduction of binary trees; Register function Today: Recursion at the bottom (at the leaves).

64 Reduction of binary trees; Register function Today: Recursion at the bottom (at the leaves). Compactification of binary trees, which we write as Φ(t):

65 Reduction of binary trees; Register function Today: Recursion at the bottom (at the leaves). Compactification of binary trees, which we write as Φ(t): The leaves (external nodes) will be erased.

66 Reduction of binary trees; Register function Today: Recursion at the bottom (at the leaves). Compactification of binary trees, which we write as Φ(t): The leaves (external nodes) will be erased. Then, if a node has only one off-spring, these two nodes will be merged; this operation will be repeated as long as there are such nodes. Finally, the endnodes are declared to be external nodes. This operation was introduced by two japanese physicists.

67 Reduction of binary trees; Register function

68 Reduction of binary trees; Register function

69 Reduction of binary trees; Register function

70 Reduction of binary trees; Register function

71 Reduction of binary trees; Register function Note that Φ( ) is undefined, so this is a partial function. Of course, many different trees are mapped to the same binary tree. However, they can all be obtained from a given reduced tree by the following operations:

72 Reduction of binary trees; Register function Note that Φ( ) is undefined, so this is a partial function. Of course, many different trees are mapped to the same binary tree. However, they can all be obtained from a given reduced tree by the following operations: Each leaf can be replaced by an internal node and an arbitrary chain of internal nodes on top, where the branches may be left or right ones. Thus, if the leaf is replaced by a chain of k internal nodes, this leads to 2 k choices. Similarly, an internal node is replaced by an internal and an arbitrary chain of internal nodes on top, where the branches may left or right ones. Eventually, the resulting tree is completed by external nodes in the usual way.

73 Reduction of binary trees; Register function If F (z) is a generating function counting some binary trees, then vf (zv) counts them with respect to size (variable z) and number of leaves (variable v).

74 Reduction of binary trees; Register function If F (z) is a generating function counting some binary trees, then vf (zv) counts them with respect to size (variable z) and number of leaves (variable v). The substitution process just described means that v z 2z and z z 2z.

75 Reduction of binary trees; Register function If F (z) is a generating function counting some binary trees, then vf (zv) counts them with respect to size (variable z) and number of leaves (variable v). The substitution process just described means that v z 2z and z z 2z z ( 2z F z 2 ) ( 2z) 2.. Altogether, this results in

76 Reduction of binary trees; Register function We have Φ r (t) B Reg(t) r

77 Reduction of binary trees; Register function Thus, if we set we get F (r) (z) = t: Reg(t) r z t, F (0) (z) = B(z), F (r) (z) = z 2z F (r )( z 2 ( 2z) 2 ), r. u The substitution z = is always a good idea when dealing (+u) 2 with the register function or Catalan numbers in general. Then, σ(z) := z2 = u2, so it just means u u 2. Furthermore, ( 2z) 2 (+u 2 ) 2 z 2z = u. Note also that F (0) (z) = B(z) = + u. +u 2 F (r) (z) = u u 2 + u 2 + u 4... u 2r F 0 (σ r (z)) + u 2r = u2 u u 2r ( + u 2r ) = u2 u 2r+ u u 2r u 2r.

78 Reduction of binary trees; Register function This formula for the generating function of the number of trees with register function r is of course well known. Likewise, the generating function B r (z) has the number of trees of size n and register function r as coefficients. B 0 (z) =, B r (z) = + z ( 2z B z 2 ) r ( 2z) 2, r.

79 Reduction of binary trees; Register function r-branches

80 Reduction of binary trees; Register function An r-branch is a maximal chain of nodes labelled r. This must be a chain, since the merging of two such chains would already result in the higher value r +. The nodes of the tree are partitioned into such chains, fromhelmut r = Prodinger 0,,....

81 Reduction of binary trees; Register function Parameter number of r-branches, in particular, the average number of them, assuming that all binary trees of size n are equally likely.

82 Reduction of binary trees; Register function Parameter number of r-branches, in particular, the average number of them, assuming that all binary trees of size n are equally likely. Explicit formula for the expectation (and, in principle, also for higher moments).

83 Reduction of binary trees; Register function Parameter number of r-branches, in particular, the average number of them, assuming that all binary trees of size n are equally likely. Explicit formula for the expectation (and, in principle, also for higher moments). Total number of r-branches, for any r, i.e., the sum over r 0.

84 Reduction of binary trees; Register function The r-branches are 0-branches after r iterations of Φ. The 0-branches are just the leaves; they are the only nodes labelled 0, and they form a branch for itself. So, we have again the generating function vb(zv). We start by computing average values. Then we have to compute v vb(zv) v= = Again we have the recursion G (0) (z) = = + u 4z u. 4z, G (r) (z) = z 2z G (r )( z 2 ( 2z) 2 ), r, this time for G (r) (z). Note that E n;r := C n [z n ]G (r) (z) is the average number of r-branches in a random tree of size n.

85 Reduction of binary trees; Register function Iteration leads now to G (r) (z) = u2 u u 2r + u u 2r+ u u u 2 r = u2 u u 2r ( u 2r ) 2. Expanding this function about u = means expanding it in terms of 4z. This can be done with a computer

86 Reduction of binary trees; Register function G (r) (z) 4 r 4z + 3 (4 r ) 4z + 5 (4 r r )( 4z) 3/2 +. Singularity analysis guarantees that one can read off coefficients in this expansion: [z n ]G (r) (z) ( ) 4 r 4n 2 ( ) n + ( ) n 3 (4 r )4 n 2 ( ) n n + ( 3 ) 5 (4 r r )4 n 2 ( ) n + n ( 4n π 4 r n + ( 7 ) 6 4 r+ n 3/2 ) +

87 Reduction of binary trees; Register function The asymptotics of C n are straight forward, especially for a computer, and eventually we find [z n ]G (r) (z) n C n 4 r + ( 5 ) 6 4 r + + (4 r ) 20n 4 r +. In principle, any number of terms would be available. Variance can also be computed.

88 Reduction of binary trees; Register function Theorem The number of r-branches in binary trees of size n has for expectation and variance the following asymptotic formulæ, which hold for fixed r and n : E n;r = n 4 r + 6 ( 5 4 r + ) + 20n (4 r ) ( ) 4 r + O n 2, V n;r = 4r 3 6 r n r r 45 + O ( n ).

89 Reduction of binary trees; Register function Theorem The expected number of r-branches in binary trees of size n is given by the explicit formula n + ( 2n ) [( ) ( ) ( )] 2n 2n 2n λ n + λ2 r 2 n λ2 r + n λ2 r. n λ

90 Reduction of binary trees; Register function Theorem The average value of the total number of branches in a random binary tree of size n admits the asymptotic expansion with 4n log 2 n 2ζ ( ) γ log 2 6 log δ(log 4 n) + o(), δ(x) = log 2 k 0 Γ( χ k 2 )ζ(χ k )(χ k )e 2πikx. The periodic function δ(x) is given by its Fourier series expansion; such functions are typical in a register context.

91 A Similar Recursive Scheme Involving Lattice Paths Simple two-dimensional lattice paths are sequences of the symbols {,,, }. It is easy to see that the generating function counting these paths (without the path of length 0) is L(z) = Theorem 4z 4z = 4z + 6z2 + 64z z z 5 +. The generating function L(z) = equation ( L(z) = 4L 4z 4z z 2 ) ( 2z) 2 Study of the compactification degree. satisfies the functional + 4z.

92 Reduction of planar trees Reduction of planar trees (ongoing research together with Benjamin Hackl and Sara Kropf) Leaves Paths Figure: Removal of leaves / paths.

93 Reduction of planar trees Proposition The generating function T (z, t) which enumerates rooted plane trees with respect to their internal nodes (marked by the variable z) and leaves (marked by t) is given explicitly by T (z, t) = (z t) 2(z + t) + (z t) 2. 2 Definition The Narayana numbers are defined as N n,k = ( )( ) n n n k k The Narayana polynomials are defined as N n (x) = n N n,k x k k=

94 Reduction of planar trees The operator that drives the reduction of leaves: ( ) z Φ(f (z, t)) := ( t)f ( t) 2, zt ( t) 2. Theorem The bivariate generating function G r (z, v) enumerating rooted plane trees whose leaves can be cut at least r-times, where z marks the tree size and v marks the size of the r-fold cut tree, is given by G r (z, v) = Φ r T (zv, tv) t=z and, equivalently, by ( ) u r+2 G r (z, v) = ( u r+ )( + u) T u( u r+ ) 2 ( u r+2 ) 2 v, ur+ ( u) 2 ( u r+2 ) 2 v, where z = u/( + u) 2.

95 Reduction of planar trees Many explicit results can be deduced from that. E.g. EXn,r d = [z n ] d C n v d G r (z, ) v= = [z n u d d! ] C n ( + u)( u r+ ) d ( u) d Ñd (u r )

96 Priority trees Average Case-Analysis of Priority trees: A structure for priority queue administration A. Panholzer and H. Prodinger, Algorithmica 22 (998),

97 Priority trees object of C with nodes k +,..., n k object of B with nodes,..., k Figure: Decomposition of the family A.

98 Priority trees + k object of A with nodes k +,..., n object of B with nodes,..., k Figure: Decomposition of the family B.

99 Priority trees object of C with nodes k +,..., n k object of A with nodes,..., k Figure: Decomposition of the family C.

100 Tree function The tree function y = ze y enumerates the labelled rooted trees: y(z) = n a variant of Lambert s W -function n zn n n!

101 Tree function Epidemics with two levels of mixing: The exact moments, H. Prodinger, SADIO 2 (999), 4. The probabilities ( ) n p(pk) k 2 ( pk) n k, ( k n) k where considered in the study of an epidemics model. E(z) = k 0 which is also given implicitly by A variant of the tree function. k zk (tk + ) k!, z = E t log E.

102 Tree function An identity conjectured by Lacasse via the tree function, H. Prodinger, Electronic Journal of Combinatorics 20 (3), 203, P7. β(n) = α(n) = n k=0 k +k 2 +k 3 =n ( ) n k k (n k) n k k n! k!k 3!k 3! kk kk 2 2 kk 3 3 β(n) α(n) = n n+ ( ) 2 ( ) 3 α(n) = n![z n ] β(n) = n![z n ] y y

103 Tree function Tight Bounds on Information Leakage from Repeated Independent Runs by Smith and Smith (206) Donald E. Knuth and Boris Pittel. A recurrence related to trees. Proceedings of the American Mathematical Society, 05(2):

104 Tree function On Ramanujan s Q(n)-function. P. Flajolet, P. Grabner, P. Kirschenhofer and H. Prodinger, Journal of Computational and Applied Mathematics, 58:03 6, 995. Q(n) = + n n + (n )(n 2) n 2 + Show that R(n) = + n n + + n 2 (n + )(n + 2) + R(n) Q(n) = (n + k) where k k(n) lies between 2 2 and 8 45

105 Tree function D(n) = R(n) Q(n) n= n zn D(n)n n! = log ( y)2 2( ez) = log ( y) 2 2( ye y ) y = ze y

ROSENA R.X. DU AND HELMUT PRODINGER. Dedicated to Philippe Flajolet ( )

ROSENA R.X. DU AND HELMUT PRODINGER. Dedicated to Philippe Flajolet ( ) ON PROTECTED NODES IN DIGITAL SEARCH TREES ROSENA R.X. DU AND HELMUT PRODINGER Dedicated to Philippe Flajolet (98 2) Abstract. Recently, 2-protected nodes were studied in the context of ordered trees and

More information

Growing and Destroying Catalan Stanley Trees

Growing and Destroying Catalan Stanley Trees Discrete Mathematics and Theoretical Computer Science DMTCS vol. 20:1, 2018, #11 Growing and Destroying Catalan Stanley Trees Benjamin Hackl 1 Helmut Prodinger 2 arxiv:1704.03734v3 [math.co] 26 Feb 2018

More information

Asymptotic and Exact Poissonized Variance in the Analysis of Random Digital Trees (joint with Hsien-Kuei Hwang and Vytas Zacharovas)

Asymptotic and Exact Poissonized Variance in the Analysis of Random Digital Trees (joint with Hsien-Kuei Hwang and Vytas Zacharovas) Asymptotic and Exact Poissonized Variance in the Analysis of Random Digital Trees (joint with Hsien-Kuei Hwang and Vytas Zacharovas) Michael Fuchs Institute of Applied Mathematics National Chiao Tung University

More information

The Subtree Size Profile of Plane-oriented Recursive Trees

The Subtree Size Profile of Plane-oriented Recursive Trees The Subtree Size Profile of Plane-oriented Recursive Trees Michael Fuchs Department of Applied Mathematics National Chiao Tung University Hsinchu, Taiwan ANALCO11, January 22nd, 2011 Michael Fuchs (NCTU)

More information

arxiv: v1 [math.co] 9 Jan 2018

arxiv: v1 [math.co] 9 Jan 2018 ASCENTS IN NON-NEGATIVE LATTICE PATHS BENJAMIN HACKL, CLEMENS HEUBERGER, AND HELMUT PRODINGER arxiv:1801.02996v1 [math.co] 9 Jan 2018 ABSTRACT. Non-negative Łukasiewicz paths are special two-dimensional

More information

arxiv: v1 [math.co] 1 Aug 2018

arxiv: v1 [math.co] 1 Aug 2018 REDUCING SIMPLY GENERATED TREES BY ITERATIVE LEAF CUTTING BENJAMIN HACKL, CLEMENS HEUBERGER, AND STEPHAN WAGNER arxiv:1808.00363v1 [math.co] 1 Aug 2018 ABSTRACT. We consider a procedure to reduce simply

More information

Analysis of Approximate Quickselect and Related Problems

Analysis of Approximate Quickselect and Related Problems Analysis of Approximate Quickselect and Related Problems Conrado Martínez Univ. Politècnica Catalunya Joint work with A. Panholzer and H. Prodinger LIP6, Paris, April 2009 Introduction Quickselect finds

More information

Almost all trees have an even number of independent sets

Almost all trees have an even number of independent sets Almost all trees have an even number of independent sets Stephan G. Wagner Department of Mathematical Sciences Stellenbosch University Private Bag X1, Matieland 7602, South Africa swagner@sun.ac.za Submitted:

More information

ANALYSIS OF SOME TREE STATISTICS

ANALYSIS OF SOME TREE STATISTICS ANALYSIS OF SOME TREE STATISTICS ALOIS PANHOLZER Abstract. In this survey we present results and the used proof techniques concerning the analysis of several parameters in frequently used tree families.

More information

Approximate Counting via the Poisson-Laplace-Mellin Method (joint with Chung-Kuei Lee and Helmut Prodinger)

Approximate Counting via the Poisson-Laplace-Mellin Method (joint with Chung-Kuei Lee and Helmut Prodinger) Approximate Counting via the Poisson-Laplace-Mellin Method (joint with Chung-Kuei Lee and Helmut Prodinger) Michael Fuchs Department of Applied Mathematics National Chiao Tung University Hsinchu, Taiwan

More information

Enumerating connected labelled graphs

Enumerating connected labelled graphs Enumerating connected labelled graphs Keith Briggs Keith.Briggs@bt.com more.btexact.com/people/briggsk2/ 2004 August 17 conn-lab-graphs.tex typeset 2004 August 17 10:40 in pdflatex on a linux system Enumerating

More information

Notes by Zvi Rosen. Thanks to Alyssa Palfreyman for supplements.

Notes by Zvi Rosen. Thanks to Alyssa Palfreyman for supplements. Lecture: Hélène Barcelo Analytic Combinatorics ECCO 202, Bogotá Notes by Zvi Rosen. Thanks to Alyssa Palfreyman for supplements.. Tuesday, June 2, 202 Combinatorics is the study of finite structures that

More information

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

Fighting Fish: enumerative properties. Enrica Duchi. Veronica Guerrini & Simone Rinaldi DIISM, Università di Siena. Fighting Fish: enumerative properties Enrica Duchi IRIF, Université Paris Diderot Veronica Guerrini & Simone Rinaldi DIISM, Università di Siena Gilles Schaeffer LIX, CNRS and École Polytechnique Séminaire

More information

Dependence between Path Lengths and Size in Random Trees (joint with H.-H. Chern, H.-K. Hwang and R. Neininger)

Dependence between Path Lengths and Size in Random Trees (joint with H.-H. Chern, H.-K. Hwang and R. Neininger) Dependence between Path Lengths and Size in Random Trees (joint with H.-H. Chern, H.-K. Hwang and R. Neininger) Michael Fuchs Institute of Applied Mathematics National Chiao Tung University Hsinchu, Taiwan

More information

LIMITING DISTRIBUTIONS FOR THE NUMBER OF INVERSIONS IN LABELLED TREE FAMILIES

LIMITING DISTRIBUTIONS FOR THE NUMBER OF INVERSIONS IN LABELLED TREE FAMILIES LIMITING DISTRIBUTIONS FOR THE NUMBER OF INVERSIONS IN LABELLED TREE FAMILIES ALOIS PANHOLZER AND GEORG SEITZ Abstract. We consider so-called simple families of labelled trees, which contain, e.g., ordered,

More information

Digital search trees JASS

Digital search trees JASS Digital search trees Analysis of different digital trees with Rice s integrals. JASS Nicolai v. Hoyningen-Huene 28.3.2004 28.3.2004 JASS 04 - Digital search trees 1 content Tree Digital search tree: Definition

More information

Deterministic edge-weights in increasing tree families.

Deterministic edge-weights in increasing tree families. Deterministic edge-weights in increasing tree families. Markus Kuba and Stephan Wagner Institut für Diskrete Mathematik und Geometrie Technische Universität Wien Wiedner Hauptstr. 8-0/04, 040 Wien, Austria

More information

Counting Palindromes According to r-runs of Ones Using Generating Functions

Counting Palindromes According to r-runs of Ones Using Generating Functions 3 47 6 3 Journal of Integer Sequences, Vol. 7 (04), Article 4.6. Counting Palindromes According to r-runs of Ones Using Generating Functions Helmut Prodinger Department of Mathematics Stellenbosch University

More information

Everything You Always Wanted to Know about Quicksort, but Were Afraid to Ask. Marianne Durand

Everything You Always Wanted to Know about Quicksort, but Were Afraid to Ask. Marianne Durand Algorithms Seminar 200 2002, F. Chyzak (ed., INRIA, (2003, pp. 57 62. Available online at the URL http://algo.inria.fr/seminars/. Everything You Always Wanted to Know about Quicksort, but Were Afraid to

More information

Counting Palindromes According to r-runs of Ones Using Generating Functions

Counting Palindromes According to r-runs of Ones Using Generating Functions Counting Palindromes According to r-runs of Ones Using Generating Functions Helmut Prodinger Department of Mathematics Stellenbosch University 7602 Stellenbosch South Africa hproding@sun.ac.za Abstract

More information

arxiv: v1 [math.co] 12 Apr 2018

arxiv: v1 [math.co] 12 Apr 2018 COMBINATORIAL ANALYSIS OF GROWTH MODELS FOR SERIES-PARALLEL NETWORKS MARKUS KUBA AND ALOIS PANHOLZER arxiv:804.0550v [math.co] Apr 08 Abstract. We give combinatorial descriptions of two stochastic growth

More information

Combinatorial/probabilistic analysis of a class of search-tree functionals

Combinatorial/probabilistic analysis of a class of search-tree functionals Combinatorial/probabilistic analysis of a class of search-tree functionals Jim Fill jimfill@jhu.edu http://www.mts.jhu.edu/ fill/ Mathematical Sciences The Johns Hopkins University Joint Statistical Meetings;

More information

k-protected VERTICES IN BINARY SEARCH TREES

k-protected VERTICES IN BINARY SEARCH TREES k-protected VERTICES IN BINARY SEARCH TREES MIKLÓS BÓNA Abstract. We show that for every k, the probability that a randomly selected vertex of a random binary search tree on n nodes is at distance k from

More information

A REFINED ENUMERATION OF p-ary LABELED TREES

A REFINED ENUMERATION OF p-ary LABELED TREES Korean J. Math. 21 (2013), No. 4, pp. 495 502 http://dx.doi.org/10.11568/kjm.2013.21.4.495 A REFINED ENUMERATION OF p-ary LABELED TREES Seunghyun Seo and Heesung Shin Abstract. Let T n (p) be the set of

More information

What you learned in Math 28. Rosa C. Orellana

What you learned in Math 28. Rosa C. Orellana What you learned in Math 28 Rosa C. Orellana Chapter 1 - Basic Counting Techniques Sum Principle If we have a partition of a finite set S, then the size of S is the sum of the sizes of the blocks of the

More information

Partial Match Queries in Relaxed Multidimensional Search Trees 1

Partial Match Queries in Relaxed Multidimensional Search Trees 1 Algorithmica 2001 29: 181 204 DOI: 10.1007/s004530010065 Algorithmica 2001 Springer-Verlag New York Inc. Partial Match Queries in Relaxed Multidimensional Search Trees 1 C. Martínez, 2 A. Panholzer, 3

More information

Asymptotic results for silent elimination

Asymptotic results for silent elimination Discrete Mathematics and Theoretical Computer Science DMTCS vol. subm., by the authors, 1 1 Asymptotic results for silent elimination Guy Louchard 1 and Helmut Prodinger 2 1 Université Libre de Bruxelles,

More information

Data Structures and Algorithms

Data Structures and Algorithms Data Structures and Algorithms Spring 2017-2018 Outline 1 Sorting Algorithms (contd.) Outline Sorting Algorithms (contd.) 1 Sorting Algorithms (contd.) Analysis of Quicksort Time to sort array of length

More information

Partial Quicksort. Conrado Martínez

Partial Quicksort. Conrado Martínez Partial Quicksort Conrado Martínez Abstract This short note considers the following common problem: rearrange a given array with n elements, so that the first m places contain the m smallest elements in

More information

ENUMERATION RESULTS FOR ALTERNATING TREE FAMILIES

ENUMERATION RESULTS FOR ALTERNATING TREE FAMILIES ENUMERATION RESULTS FOR ALTERNATING TREE FAMILIES MARKUS KUBA AND ALOIS PANHOLZER Abstract. We study two enumeration problems for up-down alternating trees, i.e., rooted labelled trees T, where the labels

More information

The Subtree Size Profile of Bucket Recursive Trees

The Subtree Size Profile of Bucket Recursive Trees Iranian Journal of Mathematical Sciences and Informatics Vol., No. (206, pp - DOI: 0.7508/ijmsi.206.0.00 The Subtree Size Profile of Bucket Recursive Trees Ramin Kazemi Department of Statistics, Imam Khomeini

More information

Ascending Runs in Cayley Trees and Mappings

Ascending Runs in Cayley Trees and Mappings Ascending Runs in Cayley Trees and Mappings Marie-Louise Bruner and Alois Panholzer marie-louise.bruner@tuwien.ac.at alois.panholzer@tuwien.ac.at arxiv:507.05484v [math.co] 20 Jul 205 Vienna University

More information

Polynomials over finite fields. Algorithms and Randomness

Polynomials over finite fields. Algorithms and Randomness Polynomials over Finite Fields: Algorithms and Randomness School of Mathematics and Statistics Carleton University daniel@math.carleton.ca AofA 10, July 2010 Introduction Let q be a prime power. In this

More information

A REMARK ON THE BOROS-MOLL SEQUENCE

A REMARK ON THE BOROS-MOLL SEQUENCE #A49 INTEGERS 11 (2011) A REMARK ON THE BOROS-MOLL SEQUENCE J.-P. Allouche CNRS, Institut de Math., Équipe Combinatoire et Optimisation Université Pierre et Marie Curie, Paris, France allouche@math.jussieu.fr

More information

Applications of Analytic Combinatorics in Mathematical Biology (joint with H. Chang, M. Drmota, E. Y. Jin, and Y.-W. Lee)

Applications of Analytic Combinatorics in Mathematical Biology (joint with H. Chang, M. Drmota, E. Y. Jin, and Y.-W. Lee) Applications of Analytic Combinatorics in Mathematical Biology (joint with H. Chang, M. Drmota, E. Y. Jin, and Y.-W. Lee) Michael Fuchs Department of Applied Mathematics National Chiao Tung University

More information

New Multiple Harmonic Sum Identities

New Multiple Harmonic Sum Identities New Multiple Harmonic Sum Identities Helmut Prodinger Department of Mathematics University of Stellenbosch 760 Stellenbosch, South Africa hproding@sun.ac.za Roberto Tauraso Dipartimento di Matematica Università

More information

The Number of Inversions in Permutations: A Saddle Point Approach

The Number of Inversions in Permutations: A Saddle Point Approach 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 6 (23), Article 3.2.8 The Number of Inversions in Permutations: A Saddle Point Approach Guy Louchard Département d Informatique CP 212, Boulevard du

More information

A BIJECTION BETWEEN WELL-LABELLED POSITIVE PATHS AND MATCHINGS

A BIJECTION BETWEEN WELL-LABELLED POSITIVE PATHS AND MATCHINGS Séminaire Lotharingien de Combinatoire 63 (0), Article B63e A BJECTON BETWEEN WELL-LABELLED POSTVE PATHS AND MATCHNGS OLVER BERNARD, BERTRAND DUPLANTER, AND PHLPPE NADEAU Abstract. A well-labelled positive

More information

Lattice paths with catastrophes

Lattice paths with catastrophes Lattice paths with catastrophes Lattice paths with catastrophes SLC 77, Strobl 12.09.2016 Cyril Banderier and Michael Wallner Laboratoire d Informatique de Paris Nord, Université Paris Nord, France Institute

More information

Philippe Flajolet and Symbolic Computation

Philippe Flajolet and Symbolic Computation Philippe Flajolet and Symbolic Computation Bruno Salvy 1. Combinatorics and Analysis of Algorithms 4 2. Complex Analysis 5 3. Symbolic Computation 7 While Philippe Flajolet did not publish many articles

More information

On the number of matchings of a tree.

On the number of matchings of a tree. On the number of matchings of a tree. Stephan G. Wagner Department of Mathematics, Graz University of Technology, Steyrergasse 30, A-800 Graz, Austria Abstract In a paper of Klazar, several counting examples

More information

GENERALIZED STIRLING PERMUTATIONS, FAMILIES OF INCREASING TREES AND URN MODELS

GENERALIZED STIRLING PERMUTATIONS, FAMILIES OF INCREASING TREES AND URN MODELS GENERALIZED STIRLING PERMUTATIONS, FAMILIES OF INCREASING TREES AND URN MODELS SVANTE JANSON, MARKUS KUBA, AND ALOIS PANHOLZER ABSTRACT. Bona [6] studied the distribution of ascents, plateaux and descents

More information

Hamming Weight of the Non-Adjacent-Form under Various Input Statistics. Clemens Heuberger and Helmut Prodinger

Hamming Weight of the Non-Adjacent-Form under Various Input Statistics. Clemens Heuberger and Helmut Prodinger FoSP Algorithmen & mathematische Modellierung FoSP Forschungsschwerpunkt Algorithmen und mathematische Modellierung Hamming Weight of the Non-Adjacent-Form under Various Input Statistics Clemens Heuberger

More information

Lengyel's Constant Page 1 of 5

Lengyel's Constant Page 1 of 5 Lengyel's Constant Page 1 of 5 Lengyel's Constant Set Partitions and Bell Numbers Let S be a set with n elements. The set of all subsets of S has elements. By a partition of S we mean a disjoint set of

More information

Additive irreducibles in α-expansions

Additive irreducibles in α-expansions Publ. Math. Debrecen Manuscript Additive irreducibles in α-expansions By Peter J. Grabner and Helmut Prodinger * Abstract. The Bergman number system uses the base α = + 5 2, the digits 0 and, and the condition

More information

On Partial Sorting. Conrado Martínez. Univ. Politècnica de Catalunya, Spain

On Partial Sorting. Conrado Martínez. Univ. Politècnica de Catalunya, Spain Univ. Politècnica de Catalunya, Spain 10th Seminar on the Analysis of Algorithms MSRI, Berkeley, U.S.A. June 2004 1 Introduction 2 3 Introduction Partial sorting: Given an array A of n elements and a value

More information

Asymptotic Enumeration of Compacted Binary Trees

Asymptotic Enumeration of Compacted Binary Trees Asymptotic Enumeration of Compacted Binary Trees Antoine Genitrini Bernhard Gittenberger Manuel Kauers Michael Wallner March 30, 207 Abstract A compacted tree is a graph created from a binary tree such

More information

5. Analytic Combinatorics

5. Analytic Combinatorics ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics http://aofa.cs.princeton.edu Analytic combinatorics is a calculus for the quantitative study of large combinatorial structures. Features:

More information

Higher order asymptotics from multivariate generating functions

Higher order asymptotics from multivariate generating functions Higher order asymptotics from multivariate generating functions Mark C. Wilson, University of Auckland (joint with Robin Pemantle, Alex Raichev) Rutgers, 2009-11-19 Outline Preliminaries References Our

More information

Algorithmic Tools for the Asymptotics of Linear Recurrences

Algorithmic Tools for the Asymptotics of Linear Recurrences Algorithmic Tools for the Asymptotics of Linear Recurrences Bruno Salvy Inria & ENS de Lyon Computer Algebra in Combinatorics, Schrödinger Institute, Vienna, Nov. 2017 Motivation p 0 (n)a n+k + + p k (n)a

More information

A brief overview of the sock matching problem

A brief overview of the sock matching problem A brief overview of the sock matching problem Bojana Pantić a, Olga Bodroˇza-Pantić a arxiv:1609.08353v1 [math.co] 7 Sep 016 a Dept. of Math. & Info., Faculty of Science, University of Novi Sad, Novi Sad,

More information

Generating Functions of Partitions

Generating Functions of Partitions CHAPTER B Generating Functions of Partitions For a complex sequence {α n n 0,, 2, }, its generating function with a complex variable q is defined by A(q) : α n q n α n [q n ] A(q). When the sequence has

More information

REGISTER ALLOCATION FOR UNARY-BINARY TREES*

REGISTER ALLOCATION FOR UNARY-BINARY TREES* SIAM J. COMPUT. Vol. IS, NO. 3. August 1986 @ 1986 Society for Industrial and Applied Mathematics 001. REGISTER ALLOCATION FOR UNARY-BINARY TREES* P. FLAJOLETI' AND H. PRODINGER$ Abstract. We study the

More information

Algorithmic Tools for the Asymptotics of Linear Recurrences

Algorithmic Tools for the Asymptotics of Linear Recurrences Algorithmic Tools for the Asymptotics of Linear Recurrences Bruno Salvy Inria & ENS de Lyon aaacuxicbvhlbtraejw1r2beg+aghxhrsgitvjycahkhcc7cskqsibs2vunxez3jpjyznsli+rf4bq7wbfwknz6f8torzenli5wqutvtxvklhcmo+juirl2/cfpwxu3wzt179x8mnx9+cqa2hkbcsgmpm+zacg1tfcjhsllavcbhidt+3+khn8e6yfq+litifvtouqjo0fpz4epelmacmfmvbkzgpnfwes2hw9ekwhw9cujzslxz9ofeb0li7nxz8dxjda8vaossotelowrthlkuxeibjhih/m96gwwtijzhqcixbjtxevdtmnqoksap2qjmhmqmwkxn2cpds0eeymlhrh8a6yr9d6rhyrmlynynyli6da0j/6fnaixep43qvy2geb+oqcvfq7tt0vxy4cixhjbuhbdcecks4+gpgiywnjxyoxtt+yveftkurjby1kzq19wcksgxfx1/m/3sef2o/q5rucybdln2pk1pxjyvctd9lapqmhbugrxfjtf7cdp0g52v0ccyr+d1fuxftt5m4j2f5dvs1wz5qp6r5yqm22shfcc7zeo4+uk+ke/kr/a2yiiyoopbg8h5zcnyqql3bxdu3c8=

More information

The Number of Guillotine Partitions in d Dimensions

The Number of Guillotine Partitions in d Dimensions The Number of Guillotine Partitions in d Dimensions Eyal Ackerman Gill Barequet Ron Y. Pinter Dan Romik Abstract Guillotine partitions play an important role in many research areas and application domains,

More information

Ordered trees and the inorder traversal

Ordered trees and the inorder traversal Discrete Mathematics 306 (006) 173 1741 www.elsevier.com/locate/disc Ordered trees and the inorder traversal A. Sapounakis, I. Tasoulas, P. Tsikouras Department of Informatics, University of Piraeus, 18534

More information

are the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1).

are the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1). Lecture A jacques@ucsd.edu Notation: N, R, Z, F, C naturals, reals, integers, a field, complex numbers. p(n), S n,, b(n), s n, partition numbers, Stirling of the second ind, Bell numbers, Stirling of the

More information

arxiv: v1 [math.co] 3 Nov 2014

arxiv: v1 [math.co] 3 Nov 2014 SPARSE MATRICES DESCRIBING ITERATIONS OF INTEGER-VALUED FUNCTIONS BERND C. KELLNER arxiv:1411.0590v1 [math.co] 3 Nov 014 Abstract. We consider iterations of integer-valued functions φ, which have no fixed

More information

From the Discrete to the Continuous, and Back... Philippe Flajolet INRIA, France

From the Discrete to the Continuous, and Back... Philippe Flajolet INRIA, France From the Discrete to the Continuous, and Back... Philippe Flajolet INRIA, France 1 Discrete structures in... Combinatorial mathematics Computer science: data structures & algorithms Information and communication

More information

On the number of heaps and the cost of heap construction

On the number of heaps and the cost of heap construction On the number of heaps and the cost of heap construction Hsien-Kuei Hwang Institute of Statistical Science Academia Sinica Taipei 5 Taiwan Jean-Marc Steyaert LIX École Polytechnique 928 Palaiseau France

More information

GENERATING FUNCTIONS AND CENTRAL LIMIT THEOREMS

GENERATING FUNCTIONS AND CENTRAL LIMIT THEOREMS GENERATING FUNCTIONS AND CENTRAL LIMIT THEOREMS Michael Drmota Institute of Discrete Mathematics and Geometry Vienna University of Technology A 1040 Wien, Austria michael.drmota@tuwien.ac.at http://www.dmg.tuwien.ac.at/drmota/

More information

The number of inversions in permutations: A saddle point approach

The number of inversions in permutations: A saddle point approach The number of inversions in permutations: A saddle point approach Guy Louchard and Helmut Prodinger November 4, 22 Abstract Using the saddle point method, we obtain from the generating function of the

More information

Random Boolean expressions

Random Boolean expressions Random Boolean expressions Danièle Gardy PRiSM, Univ. Versailles-Saint Quentin and CNRS UMR 8144. Daniele.Gardy@prism.uvsq.fr We examine how we can define several probability distributions on the set of

More information

Random Boolean expressions

Random Boolean expressions Computational Logic and Applications, CLA 05 DMTCS proc. AF, 2006, 1 36 Random Boolean expressions Danièle Gardy PRiSM, Univ. Versailles-Saint Quentin and CNRS UMR 8144. Daniele.Gardy@prism.uvsq.fr We

More information

Combinatorics of non-associative binary operations

Combinatorics of non-associative binary operations Combinatorics of non-associative binary operations Jia Huang University of Nebraska at Kearney E-mail address: huangj2@unk.edu December 26, 2017 This is joint work with Nickolas Hein (Benedictine College),

More information

LECTURE 7. 2 Simple trees and Lagrange Inversion Restricting the out-degree Lagrange Inversion... 4

LECTURE 7. 2 Simple trees and Lagrange Inversion Restricting the out-degree Lagrange Inversion... 4 Contents 1 Recursive specifications 1 1.1 Binary Trees B............................................ 1 1.1.1 A recursive structure.................................... 1.1. Decomposition........................................

More information

Mergesort, File: msfinal6.tex Date: (678) BOTTOM-UP MERGESORT y. A Detailed Analysis

Mergesort, File: msfinal6.tex Date: (678) BOTTOM-UP MERGESORT y. A Detailed Analysis BOTTOM-UP MERGESORT y A Detailed Analysis W. PANNY 1 and H. PRODINGER 1 Department of Computer Science, University of Economics, Augasse {6, A-1090 Vienna, Austria. E-mail: wolfgang.panny@wu-wien.ac.at

More information

ON POLYNOMIAL REPRESENTATION FUNCTIONS FOR MULTILINEAR FORMS. 1. Introduction

ON POLYNOMIAL REPRESENTATION FUNCTIONS FOR MULTILINEAR FORMS. 1. Introduction ON POLYNOMIAL REPRESENTATION FUNCTIONS FOR MULTILINEAR FORMS JUANJO RUÉ In Memoriam of Yahya Ould Hamidoune. Abstract. Given an infinite sequence of positive integers A, we prove that for every nonnegative

More information

Analytic Information Theory: From Shannon to Knuth and Back. Knuth80: Piteaa, Sweden, 2018 Dedicated to Don E. Knuth

Analytic Information Theory: From Shannon to Knuth and Back. Knuth80: Piteaa, Sweden, 2018 Dedicated to Don E. Knuth Analytic Information Theory: From Shannon to Knuth and Back Wojciech Szpankowski Center for Science of Information Purdue University January 7, 2018 Knuth80: Piteaa, Sweden, 2018 Dedicated to Don E. Knuth

More information

Compositions and samples of geometric random variables with constrained multiplicities

Compositions and samples of geometric random variables with constrained multiplicities FPSAC 2010, San Francisco, USA DMTCS proc. AN, 2010, 317 328 Compositions and samples of geometric random variables with constrained multiplicities Margaret Archibald 1 and Arnold Knopfmacher 2 and Toufik

More information

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

A Combinatorial Interpretation of the Numbers 6 (2n)! /n! (n + 2)! 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 8 (2005), Article 05.2.3 A Combinatorial Interpretation of the Numbers 6 (2n)! /n! (n + 2)! Ira M. Gessel 1 and Guoce Xin Department of Mathematics Brandeis

More information

The distribution of run lengths in integer compositions

The distribution of run lengths in integer compositions The distribution of run lengths in integer compositions Herbert S Wilf University of Pennsylvania Philadelphia PA 19104-6395, USA wilf@mathupennedu Submitted: Mar 7, 2010; Accepted: Oct 9, 2011; Published:

More information

ADDITIONAL NOTES. 3 Surjections 6

ADDITIONAL NOTES. 3 Surjections 6 Contents Labelling Atoms. Well-labelling............................................. The Exponential Generating Function egf............................3 Examples................................................

More information

Thinking and Doing. Maths in the 21st Century

Thinking and Doing. Maths in the 21st Century Thinking and Doing Mathematics in the 21st Century Richard P. Brent MSI, Australian National University and CARMA, University of Newcastle 16 November 2018 Copyright c 2018, R. P. Brent. Maths in the 21st

More information

Minimax Redundancy for Large Alphabets by Analytic Methods

Minimax Redundancy for Large Alphabets by Analytic Methods Minimax Redundancy for Large Alphabets by Analytic Methods Wojciech Szpankowski Purdue University W. Lafayette, IN 47907 March 15, 2012 NSF STC Center for Science of Information CISS, Princeton 2012 Joint

More information

The variance for partial match retrievals in k-dimensional bucket digital trees

The variance for partial match retrievals in k-dimensional bucket digital trees The variance for partial match retrievals in k-dimensional ucket digital trees Michael FUCHS Department of Applied Mathematics National Chiao Tung University January 12, 21 Astract The variance of partial

More information

Additive tree functionals with small toll functions and subtrees of random trees

Additive tree functionals with small toll functions and subtrees of random trees Additive tree functionals with small toll functions and subtrees of random trees Stephan Wagner To cite this version: Stephan Wagner. Additive tree functionals with small toll functions and subtrees of

More information

DISCRETE AND ALGEBRAIC STRUCTURES

DISCRETE AND ALGEBRAIC STRUCTURES DISCRETE AND ALGEBRAIC STRUCTURES Master Study Mathematics MAT40 Winter Semester 015/16 (Due to organisational reasons register for the course at TU and KFU) Edited by Mihyun Kang TU Graz Contents I Lectures

More information

How often do we reject a superior value? (Extended abstract)

How often do we reject a superior value? (Extended abstract) How often do we reject a superior value? (Extended abstract) Kamilla Oliver, Helmut Prodinger To cite this version: Kamilla Oliver, Helmut Prodinger. How often do we reject a superior value? (Extended

More information

On the Sequence A and Its Combinatorial Interpretations

On the Sequence A and Its Combinatorial Interpretations 1 2 47 6 2 11 Journal of Integer Sequences, Vol. 9 (2006), Article 06..1 On the Sequence A079500 and Its Combinatorial Interpretations A. Frosini and S. Rinaldi Università di Siena Dipartimento di Scienze

More information

NUMBER OF SYMBOL COMPARISONS IN QUICKSORT

NUMBER OF SYMBOL COMPARISONS IN QUICKSORT NUMBER OF SYMBOL COMPARISONS IN QUICKSORT Brigitte Vallée (CNRS and Université de Caen, France) Joint work with Julien Clément, Jim Fill and Philippe Flajolet Plan of the talk. Presentation of the study

More information

arxiv: v1 [math.pr] 12 Jan 2017

arxiv: v1 [math.pr] 12 Jan 2017 Central limit theorem for the Horton-Strahler bifurcation ratio of general branch order Ken Yamamoto Department of Physics and arth Sciences, Faculty of Science, University of the Ryukyus, 1 Sembaru, Nishihara,

More information

Extremal Statistics on Non-Crossing Configurations

Extremal Statistics on Non-Crossing Configurations Extremal Statistics on Non-Crossing Configurations Michael Drmota Anna de Mier Marc Noy Abstract We analye extremal statistics in non-crossing configurations on the n vertices of a convex polygon. We prove

More information

BT Research at Martlesham, Suffolk

BT Research at Martlesham, Suffolk Connectivity of random graphs Keith Briggs Keith.Briggs@bt.com research.btexact.com/teralab/keithbriggs.html Alan Turing Institute 2004 November 19 1330 typeset 2004 November 17 10:55 in pdflatex on a

More information

Summations in Bernoulli s Triangles via Generating Functions

Summations in Bernoulli s Triangles via Generating Functions 2 3 47 6 23 Journal of Integer Sequences, Vol 20 (207, Article 73 Summations in Bernoulli s Triangles via Generating Functions Kamilla Oliver 9 Stellenberg Road 730 Somerset West Sout Africa olikamilla@gmailcom

More information

arxiv:math/ v1 [math.co] 13 Jul 2005

arxiv:math/ v1 [math.co] 13 Jul 2005 A NEW PROOF OF THE REFINED ALTERNATING SIGN MATRIX THEOREM arxiv:math/0507270v1 [math.co] 13 Jul 2005 Ilse Fischer Fakultät für Mathematik, Universität Wien Nordbergstrasse 15, A-1090 Wien, Austria E-mail:

More information

arxiv: v1 [math.co] 12 Sep 2018

arxiv: v1 [math.co] 12 Sep 2018 ON THE NUMBER OF INCREASING TREES WITH LABEL REPETITIONS arxiv:809.0434v [math.co] Sep 08 OLIVIER BODINI, ANTOINE GENITRINI, AND BERNHARD GITTENBERGER Abstract. In this paper we study a special subclass

More information

Data selection. Lower complexity bound for sorting

Data selection. Lower complexity bound for sorting Data selection. Lower complexity bound for sorting Lecturer: Georgy Gimel farb COMPSCI 220 Algorithms and Data Structures 1 / 12 1 Data selection: Quickselect 2 Lower complexity bound for sorting 3 The

More information

MULTI-RESTRAINED STIRLING NUMBERS

MULTI-RESTRAINED STIRLING NUMBERS MULTI-RESTRAINED STIRLING NUMBERS JI YOUNG CHOI DEPARTMENT OF MATHEMATICS SHIPPENSBURG UNIVERSITY SHIPPENSBURG, PA 17257, U.S.A. Abstract. Given positive integers n, k, and m, the (n, k)-th m- restrained

More information

On the number of subtrees on the fringe of random trees (partly joint with Huilan Chang)

On the number of subtrees on the fringe of random trees (partly joint with Huilan Chang) On the number of subtrees on the fringe of random trees (partly joint with Huilan Chang) Michael Fuchs Institute of Applied Mathematics National Chiao Tung University Hsinchu, Taiwan April 16th, 2008 Michael

More information

A Note on a Problem Posed by D. E. Knuth on a Satisfiability Recurrence

A Note on a Problem Posed by D. E. Knuth on a Satisfiability Recurrence A Note on a Problem Posed by D. E. Knuth on a Satisfiability Recurrence Dedicated to Philippe Flajolet 1948-2011 July 4, 2013 Philippe Jacquet Charles Knessl 1 Wojciech Szpankowski 2 Bell Labs Dept. Math.

More information

Statistical Mechanics and Combinatorics : Lecture IV

Statistical Mechanics and Combinatorics : Lecture IV Statistical Mechanics and Combinatorics : Lecture IV Dimer Model Local Statistics We ve already discussed the partition function Z for dimer coverings in a graph G which can be computed by Kasteleyn matrix

More information

THE DEGREE DISTRIBUTION OF RANDOM PLANAR GRAPHS

THE DEGREE DISTRIBUTION OF RANDOM PLANAR GRAPHS THE DEGREE DISTRIBUTION OF RANDOM PLANAR GRAPHS Michael Drmota joint work with Omer Giménez and Marc Noy Institut für Diskrete Mathematik und Geometrie TU Wien michael.drmota@tuwien.ac.at http://www.dmg.tuwien.ac.at/drmota/

More information

The register function for lattice paths

The register function for lattice paths Fifth Colloquium on Mathematics and Computer Science DMTCS proc. AI, 2008, 35 48 The register function for lattice paths Guy Louchard and Helmut Prodinger 2 Université Libre de Bruxelles, Département d

More information

PROBABILISTIC BEHAVIOR OF ASYMMETRIC LEVEL COMPRESSED TRIES

PROBABILISTIC BEHAVIOR OF ASYMMETRIC LEVEL COMPRESSED TRIES PROBABILISTIC BEAVIOR OF ASYMMETRIC LEVEL COMPRESSED TRIES Luc Devroye Wojcieh Szpankowski School of Computer Science Department of Computer Sciences McGill University Purdue University 3450 University

More information

Review Of Topics. Review: Induction

Review Of Topics. Review: Induction Review Of Topics Asymptotic notation Solving recurrences Sorting algorithms Insertion sort Merge sort Heap sort Quick sort Counting sort Radix sort Medians/order statistics Randomized algorithm Worst-case

More information

NUMBER OF SYMBOL COMPARISONS IN QUICKSORT AND QUICKSELECT

NUMBER OF SYMBOL COMPARISONS IN QUICKSORT AND QUICKSELECT NUMBER OF SYMBOL COMPARISONS IN QUICKSORT AND QUICKSELECT Brigitte Vallée (CNRS and Université de Caen, France) Joint work with Julien Clément, Jim Fill and Philippe Flajolet Plan of the talk. Presentation

More information

Application of Logic to Generating Functions. Holonomic (P-recursive) Sequences

Application of Logic to Generating Functions. Holonomic (P-recursive) Sequences Application of Logic to Generating Functions Holonomic (P-recursive) Sequences Johann A. Makowsky Faculty of Computer Science, Technion - Israel Institute of Technology, Haifa, Israel http://www.cs.technion.ac.il/

More information

On the parity of the Wiener index

On the parity of the Wiener index On the parity of the Wiener index Stephan Wagner Department of Mathematical Sciences, Stellenbosch University, Stellenbosch 7602, South Africa Hua Wang Department of Mathematics, University of Florida,

More information

7 Asymptotics for Meromorphic Functions

7 Asymptotics for Meromorphic Functions Lecture G jacques@ucsd.edu 7 Asymptotics for Meromorphic Functions Hadamard s Theorem gives a broad description of the exponential growth of coefficients in power series, but the notion of exponential

More information