Abstract
We introduce a decomposition method for column-convex polyominoes and enumerate them in terms of two statistics: the number of internal vertices and the number of corners in the boundary. We first find the generating function for the column-convex polyominoes according to the horizontal and vertical half-perimeter, and the number of interior vertices. In particular, we show that the average number of interior vertices over all column-convex polyominoes of perimeter 2n is asymptotic to \(\alpha _o n^{3/2}\) where \(\alpha _o\approx 0.57895563\ldots .\) We also find the generating function for the column-convex polyominoes according to the horizontal and vertical half-perimeter, and the number of corners in the boundary. In particular, we show that the average number of corners over all column-convex polyominoes of perimeter 2n is asymptotic to \(\alpha _1n\) where \(\alpha _1\approx 1.17157287\ldots .\)
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Unit squares with integer vertices in the square lattice are called cells. Two cells are connected if they share a common edge. A polyomino is a finite union of connected cells. Polyominoes have important applications in physics, chemistry, and biology, and enumeration of them is an active area of research in combinatorics. For the earliest works in these directions, see [11, 26, 27] and references therein. Other aspects of polyomino research include: bijective results [3, 9], asymptotic enumeration [12, 16,17,18, 28], algorithmic enumeration [7, 15], and probabilistic results [19, 20].
The area of a polyomino is the number of cells it contains. We define the boundary of a polyomino as the set of all edges that are incident to a cell of the polyomino and a cell outside the polyomino. The perimeter of a polyomino is the number of edges in its boundary. Determining the number of polyominoes of area n is a long-standing open question in combinatorics but there are promising results for enumerations of some special type of polyominoes. A column (row) of a polyomino is the intersection between the polyomino and any infinite vertical (horizontal) strip of unit squares. A polyomino is called column-convex (row-convex) if each of its columns (rows) is a single contiguous block of cells. A convex polyomino is both column-convex and row-convex. We use \(\mathcal {CCP}\) to denote the set of all column-convex polyominoes on the square lattice. For any polyomino, we identify the bottom cell in its first column with the cell with vertices (0, 0), (1, 0), (1, 1), (0, 1). An important subclass of column-convex polyominoes is bargraphs. A bargraph is a column-convex polyomino such that the lower edge of its first row lies on the horizontal axis.
Delest and Viennot [8] used a bijection between convex polyominoes and words of an algebraic language to show that the number of convex polyominoes with perimeter \(2n+8\) is given by
The perimeter generating function for column-convex polyominoes is defined as
where \(h(\pi )\) and \(v(\pi )\) denotes the half of the number of horizontal and of the vertical edges in the boundary of the polyomino \(\pi \), respectively.
Feretić and Svrtan [13, 14] showed that the perimeter generating function is given by
These results have been extended to the Carlitz polyominoes in [22]. In particular, it showed that, as n grows to infinity, asymptotically the number of column-convex and convex Carlitz polyominoes with perimeter 2n is \(\frac{9\sqrt{2}(14+3\sqrt{3})}{2704\sqrt{\pi n^3}}4^n\) and \(\frac{n+1}{10}\left( \frac{3+\sqrt{5}}{2}\right) ^{n-2}\), respectively.
In this paper, we refine and extend this result in two directions. In Sect. 2, we study the generating function
where \(area(\pi )\) and \(intv(\pi )\) denote the number of the cells, and the number of interior vertices in the polyomino \(\pi \), respectively. A vertex in a polyomino \(\pi \) is called an interior vertex if it is adjacent to exactly four different cells of \(\pi \), otherwise it is called a boundary vertex. We find an exact expression for the generating function, and show that the average number of interior vertices over all column-convex polyominoes of perimeter 2n is asymptotic to \(\alpha _o n^{3/2}\) where \(\alpha _o\approx 0.57895563\ldots .\) In [23] bargraphs were enumerated according to the number of interior vertices and then the results were extended to the set partitions in [21].
In Sect. 3, we study the generating function that counts all column-convex polyominoes by their corners. For a polyomino \(\pi \), we call a vertex in its boundary a corner if it is of degree either 2 or 4. Note that a degree 2 (degree 4) vertex in the boundary is adjacent to exactly one (three) cell(s) in the polyomino \(\pi \). For instance, for the polyomino in Fig. 1, \(deg_2(\pi )=11\) and \(deg_4(\pi )=7\). In [4] (see also [1, 5, 6]) integer partitions were enumerated by corners, and then the results were extended to compositions, bargraphs, and set partitions in [24, 25]. We define the generating function
where \(deg_2(\pi )\) and \(deg_4(\pi )\) denotes the number of degree 2 and degree 4 corners in the polyomino \(\pi \). We obtain an exact expression for this generating function, and show that the average number of corners over all column-convex polyominoes of perimeter 2n is asymptotic to \(\alpha _1n\) where \(\alpha _1\approx 1.17157287\ldots \). We also use the generating functions F and H, and obtain the asymptotic order of the number of column-convex polyominoes which is given by \(\frac{c_1}{2n\sqrt{\pi n}}(3+2\sqrt{2})^n\) where \(c_1\approx 0.15099723\ldots \), see also [14].
2 Results on the Internal Vertex Statistic
Let \(\pi \) be a nonempty column-convex polyomino with m columns such that the bottom cell of the first column lays on the x-axis. We say that a bottom (upper) cell of the ith column of \(\pi \) is at position k if it lays on (lays below and touches) the line \(y=k\).
Let \(F_a=F_a(x,y,t,q)\) be the generating function for the column-convex polyominoes with the first column of size a, according to the statistics \(h(\pi )\), \(v(\pi )\), \(area(\pi )\) and \(intv(\pi )\), counted by variables x, y, t and q, respectively. We introduce a decomposition method for column-convex polyominoes and calculate the related generating functions by using it. We call this decomposition \(\mathcal {CCP}\)-column decomposition. The details are as follows: we decompose a column-convex polyomino with the first column of size a by considering the size and the bottom-cell’s position of its second column, see Fig. 2.
-
Case I in Fig. 2: The column-convex polyomino has only one column;
-
Case II in Fig. 2: The size of the second column is b, \(1\le b\le a\), and its bottom cell is not below the line \(y=0\) and its upper cell is not above the line \(y=a\);
-
Case III in Fig. 2: The size of the second column is b, \(b\ge 2\), and its bottom cell is below the line \(y=0\) and its upper cell is not above the line \(y=a\);
-
Case IV in Fig. 2: The size of the second column is b, \(b\ge 2\), and its bottom cell is not below the line \(y=0\) and its upper cell is above the line \(y=a\);
-
Case V in Fig. 2: The size of the second column is b, \(b\ge a+2\), and its bottom cell is below the line \(y=0\) and its upper cell is above the line \(y=a\).
Thus,
We define \(F(u)=F(u;x,y,t,q)=\sum _{a\ge 1}F_au^{a-1}\). Then by multiplying the last recurrence by \(u^{a-1}\) and summing over all \(a\ge 1\), we obtain
Note that by substituting \(u=0\) into (2.1), we obtain
Thus, (2.1) can be written as
Let \(G(u;x,y)=F(u;x,y,1,1)\). Then (2.2) with \(t=q=1\) gives
This type of functional equation can be solved using the kernel method, see [2]. If we assume that u takes the values \(u_+\), \(u_-\) where
with \(u_{\pm }\) satisfying
then we have
Solving for \(G(1;x^2,y)\), we obtain the main result of this section, see also [14].
Theorem 2.1
The perimeter generating function for the column-convex polyominoes is given by
Moreover, the perimeter generating function for the column-convex polyominoes with the first column of size one is given by
Note that Theorem 2.1 also proves that \(G(1;x,y)=C(x,y)\) for all x, y and hence provides another proof of (1.1).
We can also find the asymptotic of the coefficient of \(x^n\) in the generating function G(1; x, x) which gives the number of colum-convex polyominoes of perimeter 2n. By singularity analysis, see [10], we have
where
Hence, the coefficient of \(x^n\) in G(1; , x, x) is asymptotic to
Next, we will find the average number of interior vertices over all column-convex polyominoes with perimeter 2n. We need to consider some special cases of G(u; x, y).
By using (2.3), we obtain a formula for \(G(u;x^2,y)\).
Corollary 2.2
The generating function \(G(u;x^2,y)\) is given by
We define \(G'(u;x^2,y)=\frac{\partial }{\partial u}G(u;x^2,y)\). Note that, in particular, Corollary 2.2 gives the expressions for \(G(u_\pm ;x^2,y)\) and \(G'(u_\pm ;x^2,y)\) as follows:
Corollary 2.3
We have
and
where
We are ready to find the generating function for the column-convex polyominoes according to the semi-perimeters and number of interior vertices.
Define \(Q(u;x,y)=\frac{\partial }{\partial q}F(u;x,y,1,q)\mid _{q=1}\), and \(Q'(u;x,y)=\frac{\partial }{\partial u}Q(u;x,y)\). By differentiating (2.2) at \(q=1\), we have
Note that by substituting \(u=0\) into (2.5) gives
and by (2.1), we obtain
Hence, (2.5) gives
As before, by substituting \(u=u_\pm \), we obtain the following two equations:
Hence, by subtracting these two equations, we obtain the following result.
Theorem 2.4
We have
where
Note that the expressions for \(G(u_\pm ;x^2,y)\) and \(G'(u_\pm ;x^2,y)\) are given in Corollary 2.3 and the expressions for \(G(1;x^2,y)\) and \(G(0;x^2,y)\) are given in Theorem 2.1.
After several algebraic operations, the generating function \(Q(1;x^2,x^2)\) for the total number of interior vertices over all polyominoes of perimeter 2n can be written as
where
Note that generating function Q(1; x, x) is analytic in the disk \(|x|<r=(\sqrt{2}-1)^2\), while it has a singular point at \(x=r\). Moreover,
Hence, by Theorem IV.5 in [10] and (2.4), we can state the following result.
Theorem 2.5
The average number of interior vertices over all column-convex polyominoes of perimeter 2n is asymptotic to
where the coefficient is approximately equal to \(0.57895563\ldots .\)
3 Results on the Corner Statistic
Recall that the generating function for the number of column-convex polyominoes according to the statistics \(h(\pi )\), \(v(\pi )\), \(deg_2(\pi )\) and \(\deg _4(\pi )\), counted by x, y, p and q, respectively, is defined by
where \(deg_2(\pi )\) and \(deg_4(\pi )\) denote the number of degree 2 and degree 4 corners in the polyomino \(\pi \). The main result of this section is the following:
Theorem 3.1
The generating function H is given by
where
For instance, \(H(x,y,p,q)=p^4xy+p^4xy^2+p^4x^2y+p^4xy^3+\mathbf{p^4(4pq+1)}x^2y^2+p^4x^3y+ p^4xy^4+p^4(4p^2q^2+8pq+1)x^2y^3+ p^4(4p^2q^2+8pq+1)x^3y^2+p^4x^4y+\cdots \), where the bold coefficient counts the 5 column-convex polyominoes in Fig. 3.
Note that Theorem 3.1 with \(p=q=1\) gives (1.1). Indeed, the Proof of Theorem 3.1 provides a different proof of (1.1). As an application of Theorem 3.1, in Corollary 3.3, we show that the average number of corners over all column-convex polyominoes of perimeter 2n is asymptotic to
where the coefficient is approximately equal to \(1.17157287\ldots .\) For the asymptotic results for corners of degrees 2 and 4, see Corollary 3.4.
Let \(\pi \) be any nonempty polyomino with m columns such that the bottom cell of the first column lays on the x-axis. We say that a bottom (upper) cell of the ith column of \(\pi \) is at position k if it lays on (lays below and touches) the line \(y=k\).
Let \(H_a=H_a(x,y,p,q)\) be the generating function for the column-convex polyominoes with the first column of size a, according to the statistics \(h(\pi )\), \(v(\pi )\), \(deg_2(\pi )\) and \(deg_4(\pi )\), counted by variables x, y, p and q, respectively. We will first write an equation for the generating function \(H_a\) by making use of \(\mathcal {CCP}\)-column decomposition as used in Sect. 2. See also Fig. 2:
-
Case I in Fig. 2: The column-convex polyomino has only one column. Thus the contribution of this case is given by \(xy^ap^4\).
-
Case II in Fig. 2: The size of the second column is b, \(1\le b\le a\), and its bottom cell is not below the line \(y=0\) and its upper cell is not above the line \(y=a\). Thus, the contribution of this case is given by \(xy^{a-b}(2pq+p^2q^2(a-1-b))H_b\) when \(b=1,2,\ldots ,a-1\) and \(xH_b\) when \(b=a\).
-
Case III in Fig. 2: The size of the second column is b, \(b\ge 2\), and its bottom cell is below the line \(y=0\) and its upper cell is not above the line \(y=a\). Thus, the contribution of this case is given by \(xp^2q^2\frac{y^{a+1-b}-y^a}{1-y}H_b\) when \(2\le b\le a\), \(xp^2q^2\frac{y-y^a}{1-y}H_b\) when \(b\ge a+1\) and the upper cell of the second column is not above the line \(y=a-1\), and \(xpqH_b\) when \(b\ge a+1\) and the upper cell of the second column is below and touches the line \(y=a\).
-
Case IV in Fig. 2: The size of the second column is b, \(b\ge 2\), and its bottom cell is not below the line \(y=0\) and its upper cell is above the line \(y=a\). As In case III, the contribution of this case is given by \(xp^2q^2\frac{y^{a+1-b}-y^a}{1-y}H_b\) when \(2\le b\le a\), \(xp^2q^2\frac{y-y^a}{1-y}H_b\) when \(b\ge a+1\) and the lower cell of the second column is not below the line \(y=1\), and \(xpqH_b\) when \(b\ge a+1\) and the lower cell of the second column is above and touches the line \(y=0\).
-
Case V in Fig. 2: The size of the second column is b, \(b\ge a+2\), and its bottom cell is below the line \(y=0\) and its upper cell is above the line \(y=k\). The contribution of this case is given by \(xp^2q^2(b-1-a)H_b\) when \(b\ge a+2\).
Thus,
We define \(H(u)=H(u;x,y,p,q)=\sum _{a\ge 1}H_au^{a-1}\).
Then by multiplying the last recurrence by \(u^{a-1}\) and summing over all \(a\ge 1\), we obtain
which is equivalent to
We will solve this functional equation by using the kernel method. If we assume that u takes the values of \(u_+, u_-\) where
with \(u=u_{\pm }\) satisfying
then, we obtain
By solving this system for \(H(1;x^2,y,p,q)\), we obtain
which, by substituting expressions of \(u_\pm \), completes the Proof of Theorem 3.1.\(\square \)
Note that \(cor(\pi )=deg_2(\pi )+deg_4(\pi )\) is the number of all corners in \(\pi \). Thus, by Theorem 3.1, we have the following corollary.
Corollary 3.2
We set \(v_\pm (x,y,p,q)=u_\pm (\sqrt{x},y,p,q)\). Then
-
(i)
The generating function for the column-convex polyominoes according to the statistics \(h(\pi )\), \(v(\pi )\), and the number of corners, counted by x, y and q, respectively, is given by
$$\begin{aligned} \frac{-y(1-y)(1-v_+(x,y,q,q))(1-v_-(x,y,q,q))}{(1-yv_+(x,y,q,q))(1-yv_-(x,y,q,q))-2y(1-v_+(x,y,q,q))(1-v_-(x,y,q,q))}. \end{aligned}$$ -
(ii)
The generating function for the column-convex polyominoes according to the statistics \(h(\pi )\), \(v(\pi )\) and \(deg_2(\pi )\), counted by x, y and p, respectively, is given by
$$\begin{aligned} \frac{-y(1-y)p^2(1-v_+(x,y,p,1))(1-v_-(x,y,p,1))}{((1-yv_+(x,y,p,1))(1-yv_-(x,y,p,1))-2y(1-v_+(x,y,p,1))(1-v_-(x,y,p,1)))}. \end{aligned}$$ -
(iii)
The generating function for the column-convex polyominoes according to the statistics \(h(\pi )\), \(v(\pi )\) and \(deg_4(\pi )\), counted by x, y and q, respectively, is given by
$$\begin{aligned} \frac{-y(1-y)(1-v_+(x,y,1,q))(1-v_-(x,y,1,q))}{q^2((1-yv_+(x,y,1,q))(1-yv_-(x,y,1,q))-2y(1-v_+(x,y,1,q))(1-v_-(x,y,1,q)))}. \end{aligned}$$
We can find the asymptotic of the coefficient of \(x^n\) in the generating function H(x, x, 1, 1). Let \(r=3-2\sqrt{2}\), by singularity analysis, see [10], we have
where
Hence, the coefficient of \(x^n\) in H(x, x, 1, 1) is asymptotic to
In the following, we study the average number of of corners, the sum of the corners of degrees 2 and 4, in column-convex polyominoes of perimeter 2n.
By differentiating H(x, x, q, q) at \(q=1\), Corollary 3.2 gives
where \(v_\pm =u_\pm (\sqrt{x},x,1,1)\) and \(v'_\pm =\frac{\partial }{\partial q}u_\pm (\sqrt{x},x,q,q)\mid _{q=1}\). After substituting the expressions of \(v_\pm \) and \(v'_\pm \) into \(\frac{\partial }{\partial q}H(x,x,q,q)\mid _{q=1}\), we obtain
where
Hence, the coefficient of \(x^n\) in \(\frac{\partial }{\partial q}H(x,x,q,q)\mid _{q=1}\) is asymptotic to \(\frac{d_0}{\sqrt{\pi n}}(3+2\sqrt{2})^n\). Thus, by (3.2), we have the following result.
Corollary 3.3
The average number of corners over all column-convex polyominoes of perimeter 2n is asymptotic to
where the coefficient is approximately equal to \(1.17157287\ldots .\)
3.1 Corners of Degree Either 2 or 4
Similar arguments as in the above subsection (counting all corners), where we consider the generating functions \(\frac{\partial }{\partial p}H(x,x,p,1)\mid _{p=1}\) and \(\frac{\partial }{\partial p}H(x,x,1,q)\mid _{q=1}\), Corollary 3.2 leads to the following result.
Corollary 3.4
The average number of corners of degree 2 (degree 4) over all column-convex polyominoes of perimeter 2n is asymptotic to
where the coefficient is approximately equal to \(0.5857864358\ldots \).
References
Asakly, W., Blecher, A., Brennan, C., Knopfmacher, A., Mansour, T., Wagner, S.: Set partition asymptotics and a conjecture of Gould and Quaintance. J. Math. Anal. Appl. 416, 672–682 (2014)
Banderier, C., Bousquet-Mélou, M., Denise, A., Flajolet, P., Gardy, D., GouyouBeauchamps, D.: Generating functions for generating trees. Discr. Math. 246(1–3), 29–55 (2000)
Barcucci, E., Frosini, A., Rinaldi, S.: In: Brak, R., Foda, O., Greenhill, C., Guttman, T., Owczarek, A. (eds.) Direct-convex polyominoes: ECO method and bijective results. In: Proceedings of Formal Power Series and Algebraic Combinatorics 2002, Melbourne (2002)
Blecher, A., Brennan, C., Knopfmacher, A., Mansour, T.: Counting corners in partitions. Ramanujan J. 39(1), 201–224 (2016)
Blecher, A., Brennan, C., Knopfmacher, A.: Peaks in bargraphs. Trans. Royal Soc. S. Afr. 71, 97–103 (2016)
Blecher, A., Brennan, C., Knopfmacher, A.: Combinatorial parameters in bargraphs. Quaest. Math. 39, 619–635 (2016)
Conway, A.: Enumerating \(2D\) percolation series by the finite-lattice method: theory. J. Phys. A 28(2), 335–349 (1995)
Delest, M., Viennot, X.G.: Algebraic languages and polyominoes enumeration. Theoret. Comput. Sci. 34, 169–206 (1984)
Del Lungo, A., Mirolli, M., Pinzani, R., Rinaldi, S.: A bijection for directed-convex polyominoes, In: Proceedings of DM-CCG 2001, Discrete Math. Theoret. Comput. Sci. AA (2001) 133–144
Flajolet, P., Sedgewick, R.: Analytic Combinatorics. Cambridge University Press, Cambridge (2009)
Golomb, S.W.: Checker boards and polyominoes. Amer. Math. Monthly 61, 675–682 (1954)
Goupil, A., Cloutier, H., Pellerin, M.-E.: Generating functions for inscribed polyominoes. Discrete Appl. Math. 161, 151–166 (2013)
Feretić, S., Svrtan, D.: On the number of column-convex polyominoes with given perimeter and number of columns. In: Barlotti, A., Delest, M., Pinzani, R. (eds.) 5th FPSAC Proceedings, pp. 201–214. , Firenze (1993)
Feretić, S.: A perimeter enumeration of column-convex polyominoes. Discrete Math. Theoret. Comput. Sci. 9, 57–84 (2007)
Jensen, I.: Enumerations of lattice animals and trees. J. Stat. Phys. 102(3–4), 865–881 (2001)
Jensen, I., Guttmann, A.J.: Statistics of lattice animals (polyominoes) and polygons. J. Phys. A 33(29), 257–263 (2000)
Lin, K.Y.: Perimeter generating function for row-convex polygons on the rectangular lattice. J. Phys. A 23, 4703–4705 (1990)
Lin, K.Y., Tzeng, W.J.: Perimeter and area generating functions of the staircase and row-convex polygons on the rectangular lattice. Internat. J. Mod. Phys. B 5, 1913–1925 (1991)
Louchard, G.: Probabilistic analysis of column-convex and directed diagonally-convex animals. Random Struct. Alg. 11(2), 151–178 (1997)
Louchard, G.: Probabilistic analysis of column-convex and directed diagonally-convex animals. II. Trajectories and shapes. Random Struct. Alg. 15(1), 1–23 (1999)
Mansour, T.: Interior vertices in set partitions. Adv. Appl. Math. 101, 60–69 (2018)
Mansour, T., Rastegar, R., Shabani, ASh.: On column-convex and convex Carlitz polyominoes. Math. Comput. Sci. 15(4), 889–898 (2021)
Mansour, T., Shabani, ASh.: Interior vertices and edges in bargraphs. Notes Number Theory Discr. Math. 25(2), 181–189 (2019)
Mansour, T., Shabani, ASh., Shattuck, M.: Counting corners in compositions and set partitions presented as bargraphs. J. Diff. Eq. Appl. 24(6), 992–1015 (2018)
Mansour, T., Yildirim, G.: Enumerations of bargraphs with respect to corner statistics. Appl. Anal. Discr. Math. 14, 221–238 (2020)
Read, R.C.: Contributions to the cell growth problem. Canadian J. Math., 14, 1-20. https://doi.org/10.4153/CJM-1962-001-2
Temperley, H.N.V.: Combinatorial problems suggested by the statistical mechanics of domains and of rubber-like molecules. Phys. Rev. 103, 1–16 (1956)
Viennot, X.G.: A survey of polyominoes enumeration. 4th FPSAC Proc. Publications du LACIM 11, 399–420 (1992)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Cakić, N., Mansour, T. & Yıldırım, G. A Decomposition of Column-Convex Polyominoes and Two Vertex Statistics. Math.Comput.Sci. 16, 9 (2022). https://doi.org/10.1007/s11786-022-00528-5
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11786-022-00528-5