×

The perimeter of words. (English) Zbl 1367.05031

Summary: We define \([k] = \{1, 2, \ldots, k \}\) to be a (totally ordered) alphabet on \(k\) letters. A word \(w\) of length \(n\) on the alphabet \([k]\) is an element of \([k]^n\). A word can be represented by a bargraph (i.e., by a column-convex polyomino whose lower edges lie on the \(x\)-axis) in which the height of the \(i\)th column equals the size of the \(i\)th part of the word. Thus these bargraphs have heights which are less than or equal to \(k\). We consider the perimeter, which is the number of edges on the boundary of the bargraph. By way of Cramer’s method and the kernel method, we obtain the generating function that counts the perimeter of words. Using these generating functions we find the average perimeter of words of length \(n\) over the alphabet \([k]\). We also show how the mean and variance can be obtained using a direct counting method.

MSC:

05B50 Polyominoes
05A15 Exact enumeration problems, generating functions

Software:

OEIS
Full Text: DOI

References:

[1] Bousquet-Mélou, M., A method for the enumeration of various classes of column-convex polygons, Discrete Math., 154, 1-25 (1996) · Zbl 0858.05006
[2] Bousquet-Mélou, M.; Rechnitzer, A., The site-perimeter of bargraphs, Adv. Appl. Math., 31, 86-112 (2003) · Zbl 1020.05007
[3] Brak, R.; Guttmann, A.; Enting, I., Exact solution of the row-convex polygon perimeter generating function, J. Phys. A: Math. Gen., 23, 2319-2326 (1990) · Zbl 0708.05002
[4] Delest, M.; Dulucq, S., Enumeration of directed column-convex animals with a given perimeter and area, Croat. Chem. Acta, 66, 59-80 (1993)
[5] Delest, M.; Viennot, X., Algebraic languages and polynominoes enumeration, Theoret. Comput. Sci., 34, 169-206 (1984) · Zbl 0985.68516
[6] Duchi, E.; Rinaldi, S., An object grammar for column-convex polyominoes, Ann. Comb., 8, 27-36 (2004) · Zbl 1075.05005
[7] Duchi, E.; Rinaldi, S.; Schaeffer, G., The number of \(z\)-convex polyominoes, (Formal Power Ser. Alg. Combin.. Formal Power Ser. Alg. Combin., Proc. 18th, San Diego, California, USA (2006))
[8] Feretić, S., A new way of counting the column-convex polyominoes by perimeter, Discrete Math., 180, 173-184 (1998) · Zbl 0894.05010
[9] Feretić, S., A perimeter enumeration of column-convex polyominoes, Discrete Math. Theor. Comput. Sci., 9, 57-84 (2007) · Zbl 1153.05306
[10] Feretić, S.; Svrtan, D., On the number of column-convex polyomninoes with given perimeter and number of columns, (Formal Power Ser. Alg. Combin.. Formal Power Ser. Alg. Combin., Proc. 5th, Firenze, Italy, 20 (1993)), 201-214
[11] Guttmann, A., (Guttmann, A., Polygons, Polyominoes and Polycubes. Polygons, Polyominoes and Polycubes, Lecture Notes in Physics (2009)) · Zbl 1162.82005
[12] Heubach, S.; Mansour, T., Combinatorics of compositions and words, (Discrete Math. and Its Applications (2010), CRC press, Taylor and Francis group)
[13] Lin, K., Perimeter generating function for row-convex polygons on the rectangular lattice, J. Phys. A: Math. Gen., 23, 4703-4705 (1990) · Zbl 0718.52001
[14] Lothaire, M., (Algebraic Combinatorics on Words. Algebraic Combinatorics on Words, Encyclopedia of Mathematics and its Applications, vol. v90 (2002), Cambridge University Press) · Zbl 1001.68093
[15] Lothaire, M., (Combinatorics on Words. Combinatorics on Words, Encyclopedia of Mathematics and its Applications, vol. v17 (2003), Cambridge University Press, Addison-Wesley) · Zbl 1001.68093
[16] Lothaire, M., Applied Combinatorics on Words (2005), Cambridge University Press · Zbl 1133.68067
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.