全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...

Noncontiguous Pattern Containment in Binary Trees

DOI: 10.1155/2014/316535

Full-Text   Cite this paper   Add to My Lib

Abstract:

We consider the enumeration of binary trees containing noncontiguous binary tree patterns. First, we show that any two -leaf binary trees are contained in the set of all -leaf trees the same number of times. We give a functional equation for the multivariate generating function for number of -leaf trees containing a specified number of copies of any path tree, and we analyze tree patterns with at most 4 leaves. The paper concludes with implications for pattern containment in permutations. 1. Introduction Pattern avoidance has been studied in a number of combinatorial objects including permutations, words, partitions, and graphs. In this paper, we consider such pattern questions in trees. Conceptually, tree avoids tree if there is no copy of anywhere inside . Pattern avoidance in vertex-labeled trees has been studied in various contexts by Steyaert and Flajolet [1], Flajolet et al. [2], Flajolet and Sedgewick [3], and Dotsenko [4] while Khoroshkin and Piontkovski [5] considered generating functions for general unlabeled tree patterns in a different setting. In 2010, Rowland [6] explored contiguous pattern avoidance in binary trees (i.e., rooted ordered trees in which each vertex has 0 or 2 children). He chose to work with binary trees because there is natural bijection between -leaf binary trees and -vertex trees. In 2012, Gabriel et al. [7] considered Rowland’s definition of tree pattern in ternary, and more generally in -ary, trees. The patterns in [6, 7] may be seen as parallel to consecutive patterns in permutations. In those papers, tree was said to contain tree as a (contiguous) pattern if was a contiguous, rooted, ordered, subtree of . In 2012, Dairyko et al. [8] considered noncontiguous patterns in binary trees in order to introduce a tree pattern analogue of classical permutation patterns. In particular, they showed that for any , any two -leaf noncontiguous binary tree patterns are avoided by the same number of -leaf trees and gave an explicit generating function for this enumeration. In this paper, we follow the definition of tree pattern in [8] to mirror the idea of classical pattern avoidance in permutations. However, instead of focusing on trees that do not contain tree pattern , we turn our attention to the number of trees with exactly copies of tree pattern , making pattern avoidance the special case where . Ultimately, we study the total number of copies of a given tree pattern in the set of all -leaf trees to mirror the work of Bóna in [9, 10] where he considers the total number of copies of a given permutation pattern of length 3 in

References

[1]  J.-M. Steyaert and P. Flajolet, “Patterns and pattern-matching in trees: an analysis,” Information and Control, vol. 58, no. 1–3, pp. 19–58, 1983.
[2]  P. Flajolet, P. Sipala, and J. M. Steyaert, “Analytic variations on the common subexpression problem,” in Automata, Languages and Programming, vol. 443 of Lecture Notes in Computer Science, pp. 220–234, Springer, Berlin, Germany, 1990.
[3]  P. Flajolet and R. Sedgewick, Analytic Combinatorics, Cambridge University Press, Cambridge, UK, 2009.
[4]  V. Dotsenko, “Pattern avoidance in labelled trees,” Séminaire Lotharingien de Combinatoire, vol. 67, article B67b, 27 pages, 2012.
[5]  A. Khoroshkin and D. Piontkovski, “On generating series of finitely presented operads,” http://arxiv.org/abs/1202.5170.
[6]  E. S. Rowland, “Pattern avoidance in binary trees,” Journal of Combinatorial Theory. Series A, vol. 117, no. 6, pp. 741–758, 2010.
[7]  N. Gabriel, K. Peske, L. Pudwell, and S. Tay, “Pattern avoidance in ternary trees,” Journal of Integer Sequences, vol. 15, no. 1, article 12.1.5, 20 pages, 2012.
[8]  M. Dairyko, S. Tyner, L. Pudwell, and C. Wynn, “Non-contiguous pattern avoidance in binary trees,” Electronic Journal of Combinatorics, vol. 19, no. 3, article P22, 21 pages, 2012.
[9]  M. Bóna, “The absence of a pattern and the occurrences of another,” Discrete Mathematics & Theoretical Computer Science, vol. 12, no. 2, pp. 89–102, 2010.
[10]  M. Bóna, “Surprising symmetries in objects counted by catalan numbers,” The Electronic Journal of Combinatorics, vol. 19, no. 1, article P62, 11 pages, 2012.
[11]  N. Sloane, “The encyclopedia of integer sequences,” 2013, http://oeis.org/.
[12]  T. Feil, K. Hutson, and R. M. Kretchmar, “Tree traversals and permutations,” Congressus Numerantium, vol. 172, pp. 201–221, 2005.
[13]  M. Bousquet-Mélou, “Sorted and/or sortable permutations,” Discrete Mathematics, vol. 225, no. 1–3, pp. 25–50, 2000.
[14]  S. Even, Graph Algorithms, Computer Science Press, Woodland Hills, Calif, USA, 1979.
[15]  D. E. Knuth, The Art of Computer Programming: Sorting and Searching, vol. 3, Addison-Wesley, Reading, Mass, USA, 1973.
[16]  D. Rotem, “Stack sortable permutations,” Discrete Mathematics, vol. 33, no. 2, pp. 185–196, 1981.
[17]  D. Rotem and Y. Varol, “Generation of binary trees from ballot sequences,” Journal of the Association for Computing Machinery, vol. 25, no. 3, pp. 396–404, 1978.
[18]  R. P. Stanley, Enumerative Combinatorics, vol. 2, Cambridge University Press, Cambridge, UK, 1999.
[19]  P. Br?ndén and A. Claesson, “Mesh patterns and the expansion of permutation statistics as sums of permutation patterns,” Electronic Journal of Combinatorics, vol. 18, no. 2, article P5, 14 pages, 2011.
[20]  H. úlfarsson, “A unification of permutation patterns related to Schubert varieties,” Pure Mathematics and Applications, vol. 22, no. 2, pp. 273–296, 2011.

Full-Text

Contact Us

[email protected]

QQ:3279437679

WhatsApp +8615387084133