1 Introduction and Preliminaries

Take the upright square lattice and call each of its squares, together with its sides, a cell. A squared lattice polyomino, or simply polyomino, is a finite collection of edge-connected cells in the lattice. The polyominoes were first introduced and studied by Golomb in 1953 [1] in certain mathematical recreational problems, and soon, they became central objects in the study of Ising model, Pott model, percolation theory, branched polymers [2,3,4,5]), the mechanics of macromolecules [6], tiling problems [7,8,9,10,11,12], and enumeration problems [13,14,15]. We refer to [16, 17] and references therein for a review of early literature.

The enumeration of polyominoes in the general case is an intractable and long-standing open problem. To tackle the problem, many authors have analyzed different subsets of polyominoes assuming additional constraints such as convexity, in which the enumeration has been conducted with respect to several statistics; including but not limited to the area, the perimeter, the outer/inner perimeter, and the corners. The techniques advised in enumeration of these subsets are diverse and range from bijective methods [13, 18], and algorithmic enumeration [14, 19, 20], to various forms of decompositions (see [21] and references wherein). See Table 1 for few examples.

Table 1 Various classes of the polyominoes

Our objective in this paper is to introduce Carlitz polyominoes and enumerate them with some additional convexity constraints. To that goal, we first recall some standard definitions. A column (resp. row) of a polyomino is the collection of all cells in the polyomino belonging to an infinite vertical (resp. horizontal) array of cells in the lattice. For any polyomino \(\nu \), let \(h(\nu )\) and \(v(\nu )\) to be the number of rows and columns of \(\nu \), respectively. We define the perimeter of \(\nu \) as \(2(h(\nu )+v(\nu ))\). A polyomino is said to be column-convex (resp. row convex) if each of its columns (resp. rows) is a single contiguous block of cells. We say a polyomino is convex if it is both column-convex and row convex. We further assume that the cells are all squares of size one and equip the lattice with the Cartesian system, in which the bottom-left corner of the bottom cell of the leftmost column lies at the origin. Numerate the columns from the left side to the right side with the leftmost column counted as “1”. Let \(\nu \) be any nonempty polyomino with m columns. We say that the bottom (resp. top) cell of the ith column of \(\nu \) is at the position k if it lays on (resp. below) and touches the line \(y=k\) and we denote this by \(b_i(\nu )=k\) (resp. \(u_i(\nu )=k\)), for \(i=1,2,\ldots ,m\). Define

$$\begin{aligned} B(\nu )= & {} |\{i\mid b_i(\nu )=b_{i+1}(\nu ),i=1,2,\ldots ,m-1\}|, \\ U(\nu )= & {} |\{i\mid u_i(\nu )=u_{i+1}(\nu ),i=1,2,\ldots ,m-1\}|, \end{aligned}$$

and refer to \(B(\nu )\) and \(U(\nu )\) as bottom levels and top levels, respectively.

A polyomino \(\nu \) is said to be a Carlitz polyomino if \(B(\nu )=U(\nu )=0\). A polyomino is said to be a convex (resp. column-convex) Carlitz polyomino if it is both convex (resp. column-convex) and Carlitz. See Fig. 1 for a column-convex Carlitz polyominoe.

Fig. 1
figure 1

An example of column-convex Carlitz polyomino

We remark that smooth polyominoes introduced in [25] are somewhat related to Carlitz polyominoes. For each smooth polyomino, the top and bottom positions of the columns cannot change by more than one unit going from each column to its neighbors. By contrast, the top and bottom positions in a Carlitz polyomino changes by at least one unit going from each column to its neighbors.

The paper is organized as follows. Section 2 is devoted to the enumeration of the column-convex Carlitz polyominoes. We first obtain an explicit formula for the generating function of the number of these polyominoes according to their perimeter. Then, Corollary 2.3 yields that the number of column-convex Carlitz polyominoes with the perimeter 2n is asymptotic to

$$\begin{aligned} \frac{9\sqrt{2}(14+3\sqrt{3})}{2704\sqrt{\pi n^3}}4^n, \end{aligned}$$

as n grows to infinity. In Sect. 3, the convex Carlitz polyominoes are counted. We obtain the generating function for the number of convex Carlitz polyominoes according to their perimeters. Then, the explicit form is used to show that, as n goes to infinity, the number of convex Carlitz polyominoes of the perimeter 2n is asymptotic to

$$\begin{aligned} \frac{n+1}{10}\left( \frac{3+\sqrt{5}}{2}\right) ^{n-2}. \end{aligned}$$

2 Enumeration of Column-Convex Carlitz Polyominoes

In this section, we consider certain decompositions of the column-convex polyominoes and establish a functional system of linear combinations of multivariate series of forms \(A(t_1,\ldots , t_r;x_1,\ldots ,x_s)\). These forms do not depend on \(x_1,\ldots ,x_s,\) simultaneously and, their coefficients are referred to as kernels [26]. A systematic approach to solve these type of equations is given in [26]. We conduct all of our calculations and manipulations having the following facts in mind. Let \(\mathbb {Q}\), \(\mathbb {Q}[x_1, \dots , x_s],\) and \(\mathbb {Q}[[x_1, \ldots , x_s]]\) denote, respectively, the field of rational numbers, the ring of polynomials in \(x_1,\ldots ,x_s\), and the ring of formal power series in \(x_1,\ldots ,x_s\) with coefficients in \(\mathbb {Q}\). Recall that a series \(A\in \mathbb {Q}[x_1, \dots , x_s][[t_1,\ldots , t_r]]\) is D-finite if its partial derivatives span a finite dimensional vector space over the field of rational functions in \(t_1,\ldots ,t_r\) with coefficients in \(\mathbb {Q}[x_1,\ldots ,x_s]\). Note that any algebraic series is D-finite. The specializations of a D-finite series, obtained by assigning values in \(\mathbb {Q}\) to a subset of variables, are D-finite, if well-defined. Moreover, if A is D-finite, then any substitution \(x_i=1\) with \(i\in I\subseteq [s]\) or/and \(x_i=x_j\) for \((i,j)\in I\times I\subseteq [s]\times [s]\) into A is also D-finite. One last remark is that to derive asymptotic forms for our results, we apply singularity analysis (see [27, Section VI] for a comprehensive review). All calculations for asymptotic analysis require an appropriate domain of complex number \({\mathbb C}\). We omit the details for the sake of brevity as it is standard.

For the rest of this paper, we use xy, p, and q to mark h(.), v(.), B(.) and U(.), respectively, while defining the corresponding generating functions. This section follows the methodology implemented in [28] closely. Define \(\mathcal {CCP}\) to be the set of all nonempty column-convex polyominoes. Similarly, set \(\mathcal {CCP}_a\) to be the set of polyominoes in \(\mathcal {CCP}\) with a cells in their first columns. We define \(F_a:=F_a(x,y,p,q)\) to be the generating function for the polyominoes in \(\mathcal {CCP}_a\) according to h(.), v(.), B(.), and U(.); that is,

$$\begin{aligned} F_a(x,y,p,q) := \sum _{\nu \in \mathcal {CCP}_a} x^{h(\nu )}y^{v(\nu )}p^{B(\nu )}q^{U(\nu )}. \end{aligned}$$

Next, decompose each \(\nu \in \mathcal {CCP}_a\) by considering the size and the bottom position of its second column (if any), as described in Fig. 2.

Fig. 2
figure 2

Decomposition of a polyomino in \(\mathcal {CCP}_a\)

By a careful analysis of these cases, for each \(a\ge 1\), we may write

$$\begin{aligned} F_a&=xy^a+\sum _{s=1}^{a-1}(a-1-s+p+q)xy^{a-s}F_s+pqxF_a\\&\quad +2\sum _{s=2}^ax\frac{y^{a+1-s}-y^a}{1-y}F_s+\sum _{s\ge a+1}x(2\frac{y-y^a}{1-y}+p+q)F_s +\sum _{s\ge a+2}(s-1-a)xF_s. \end{aligned}$$

Now, define

$$\begin{aligned} F(u)=F(u;x,y,p,q)=\sum _{a\ge 1}F_au^{a-1}. \end{aligned}$$

By multiplying the last recurrence by \(u^{a-1}\) and summing over all \(a\ge 1\), we obtain the following result.

Lemma 2.1

The generating function \(F(u)=F(u;x,y,p,q)\) satisfies

$$\begin{aligned}&K(u;x,y,p,q)F(u)\\&=\frac{xy}{1-yu}+\frac{x}{1-u}\left( \frac{2yu}{1-yu}+p+q-\frac{1}{1-u}\right) F(1)+\frac{x}{1-u}\frac{\partial }{\partial u}F(u)\mid _{u=1}, \end{aligned}$$

where \(K(u;x,y,p,q)=1-\frac{(qyu(u-1)-yu^2-qu+2yu+q-1)(pyu(u-1)-yu^2-pu+2yu+p-1)x}{(1-u)^2(1-yu)^2}\).

Note that by setting \(q=p\) in Lemma 2.1, we get

$$\begin{aligned}&K(u;x,y,q,q)F(u)\\&=\frac{xy}{1-yu}+\frac{x}{1-u}\left( \frac{2yu}{1-yu}+2q-\frac{1}{1-u}\right) F(1)+\frac{x}{1-u}\frac{\partial }{\partial u}F(u)\mid _{u=1}, \end{aligned}$$

where

$$\begin{aligned} K(u;x,y,q,q)=1-\frac{(qyu(u-1)-yu^2-qu+2yu+q-1)^2x}{(1-u)^2(1-yu)^2}. \end{aligned}$$

To solve this functional equation, we apply kernel method (see [26]). To that end, setting \(K(u;x,y,q,q)=0\) yields

$$\begin{aligned} \mp 1+(q-1)\sqrt{x}+((\pm 1-\sqrt{x}q)(y+1)+2\sqrt{x}y)u+(\mp y+(q-1)\sqrt{x}y)u^2=0. \end{aligned}$$

Solving for u, the roots of this equation are

$$\begin{aligned} u_\pm&=\frac{1-\sqrt{1-\frac{4y((q\sqrt{x}\pm 1)^2+\sqrt{x}(2q-1)(\mp 2-\sqrt{x}))}{((1\mp \sqrt{x}q)(y+1)\pm 2\sqrt{x}y)^2}}}{\frac{2y(1+\sqrt{x}(q-1))}{((1\mp \sqrt{x}q)(y+1)\pm 2\sqrt{x}y)^2}}. \end{aligned}$$

By substituting \(u=u_\pm \) into Lemma 2.1, solving for F(1; xyqq), and evaluating \(\frac{\partial }{\partial u}F(u;x,y,q,q)\mid _{u=1}\), we obtain the main result of this section.

Theorem 2.2

The generating function F(1; xyqq) is given by

$$\begin{aligned}&\frac{(u_+-1)(u_--1)y(y-1)}{u_+u_-y(y-2)+(u_++u_-)y-2y+1}\\&=xy+xy^2+q^2x^2y+xy^3+( q^2+4q)x^2y^2+q^4x^3y+\cdots . \end{aligned}$$

In particular, F(1; xy, 0, 0) counts the number of the column-convex Carlitz polyominoes according to h(.) and v(.), and is given by

$$\begin{aligned}&\frac{(v_+-1)(v_--1)y(y-1)}{v_+v_-y(y-2)+(v_++v_-)y-2y+1}\\&=xy+xy^2+xy^3+xy^4+4x^2y^3+xy^5+12x^2y^4+x^3y^3+\cdots , \end{aligned}$$

where \(v_\pm =u_\pm \mid _{q=0}\).

Note that the generating function for the number of the column-convex Carlitz polyominoes according to the perimeter is simply given by

$$\begin{aligned} F(1;x^2,x^2,0,0)= & {} \frac{(1-x^2)(20x^6-45x^4+42x^2-21)}{4(8x^6-27x^4+36x^2-18)} \nonumber \\&+\frac{(1-x)(2x^3-9x^2+9)(x+1)^2}{4(8x^6-27x^4+36x^2-18)}\sqrt{4x^4+x^2+1-2x(1+2x^2)}\\&-\frac{(1+x)(2x^3+9x^2-9)(x-1)^2}{4(8x^6-27x^4+36x^2-18)}\sqrt{4x^4+x^2+1+2x(1+2x^2)}\nonumber \\&+\frac{3(x^2-1)^2}{4(8x^6-27x^4+36x^2-18)}\sqrt{(4x^4+x^2+1)^2-4x^2(1+2x^2)^2}. \nonumber \end{aligned}$$
(2.1)

We end this section by extracting the coefficient of \(x^{n}\) in F(1; xx, 0, 0) and \(\frac{d}{dq}F(1;x,x,q,q)\mid _{q=1}\), for large n, by conducting singularity analysis of (2.1). The end result states that

Corollary 2.3

Asymptotically, as n gets large,

  1. (1)

    the number of column-convex Carlitz polyominoes with perimeter 2n is \(\frac{9\sqrt{2}(14+3\sqrt{3})}{2704\sqrt{\pi n^3}}4^n\).

  2. (2)

    the total sum of \(B+U\) over all column-convex polyominoes with perimeter 2n is

    $$\begin{aligned} \frac{(1588-999\sqrt{2})\sqrt{5\sqrt{2}-7} +6(51\sqrt{2}-28)\sqrt{99\sqrt{2}-140}}{2209\sqrt{\pi n}}(\frac{3+2\sqrt{2}}{2})^n. \end{aligned}$$

3 Enumeration of Convex Carlitz Polyominoes

This section follows the approach developed in [21] closely. We define \(\mathcal {CP}^t\) to be the set of all nonempty convex polyominoes \(\nu ,\) where for each column j of \(\nu \), \(u_s(\nu )\le u_j(\nu )\) for all \(s\ge j+1\). Similarly, \(\mathcal {CP}^b\) is the set of all nonempty convex polyominoes \(\nu \) such that for all columns j,  and for all \(s\ge j+1,\) \(b_s(\nu )\ge b_j(\nu )\). Set \(\mathcal {CP}^{bt}:=\mathcal {CP}^t\cap \mathcal {CP}^b\). By a clear upside down symmetry, there is a bijection between the set \(\mathcal {CP}^t\) and the set \(\mathcal {CP}^b\). See Fig. 3, for an example of polyominoes in \(\mathcal {CP}^t\) and \(\mathcal {CP}^{bt}\). In addition, we let \(\mathcal {CP}_a^t,\) \(\mathcal {CP}_a^b,\) \(\mathcal {CP}_a^{bt},\) and \(\mathcal {CP}_a\) denote the set of polyominoes in \(\mathcal {CP}^t,\) \(\mathcal {CP}^b,\) \(\mathcal {CP}^{bt},\) and \(\mathcal {CP}\) with a cells in their first columns. Our enumeration is done as follows. The first step is to count the number of polyominoes in \(\mathcal {CP}^{bt}\) with respect to the statistics of interest h(.), v(.), U(.), and B(.). Then, for the second step, we extend the result from \(\mathcal {CP}^{bt}\) to \(\mathcal {CP}^{t}\) and \(\mathcal {CP}^{b}.\) This can be done since the corresponding generating functions can be written recursively in terms of the corresponding generating functions in \(\mathcal {CP}^{bt}\). When this is done, the last step is to obtain the results for \(\mathcal {CP}\) by lifting up the result obtained for \(\mathcal {CP}^t\) and \(\mathcal {CP}^b\).

Fig. 3
figure 3

An example of polyominoes in (left) \(\mathcal {CP}^t\) (right) \(\mathcal {CP}^{bt}\)

Let \(G_a:=G_a(x,y,p,q)\) be the generating functions of h(.),  v(.),  B(.), and U(.) over \(\mathcal {CP}_a\); that is,

$$\begin{aligned} G_a:=G_a(x,y,p,q) = \sum _{\nu \in \mathcal {CP}_a} x^{h(\nu )}y^{v(\nu )}p^{B(\nu )}q^{U(\nu )}. \end{aligned}$$

We define \(G_a^t\), \(G_a^b\), \(G_a^{bt}\) similarly for the set of polyominoes \(\mathcal {CP}_a^b\), \(\mathcal {CP}_a^t\), \(\mathcal {CP}_a^{bt}\), respectively. Moreover, we define the generating function \(G(u)=G(u;x,y,p,q)=\sum _{a\ge 1}G_au^{a-1}\). Additionally, we define \(G^b(u),G^t(u)\) and \(G^{bt}(u)\).

Consider a polyomino \(\nu \) in \(\mathcal {CP}_a^{bt}\) with the second column of size s (if any). If second column does not exist then the contribution to \(G_a^{bt}\) is exactly \(xy^a\). If second column exists then \(u_2(\nu )\le u_1(\nu )\) and \(b_2(\nu )\ge b_1(\nu )\), so there are exactly \(a+1-s\) ways of gluing the second column to the first column. By considering all four cases

  1. (1)

    \(u_2(\nu )<u_1(\nu ),b_2(\nu )>b_1(\nu )\)

  2. (2)

    \(u_2(\nu )<u_1(\nu ),b_2(\nu )=b_1(\nu )\),

  3. (3)

    \(u_2(\nu )=u_1(\nu ),b_2(\nu )>b_1(\nu )\), and

  4. (4)

    \(u_2(\nu )=u_1(\nu ),b_2(\nu )=b_1(\nu )\),

we obtain

$$\begin{aligned} G_a^{bt}=xy^a+\sum _{s=1}^{a-1}(a-1-s+p+q)xy^{a-s}G_s^{bt}+pqxG_a^{bt}. \end{aligned}$$

By multiplying by \(u^{a-1}\) and summing over \(a\ge 1\), we obtain

$$\begin{aligned} G^{bt}(u)=\frac{xy}{1-yu}+\frac{xyu(-yu(p+q-1)+p+q)}{(1-yu)^2} G^{bt}(u)+pqxG^{bt}(u). \end{aligned}$$

Hence,

$$\begin{aligned} G^{bt}(u;x,y,p,q)=\frac{\frac{xy}{1-yu}}{1-pqx-\frac{xyu(-yu(p+q-1)+p+q)}{(1-yu)^2}}. \end{aligned}$$
(3.1)

Now, let us find a formula for \(G^t(u)\). Any nonempty polyomino \(\nu \in \mathcal {CP}^t_a\) can be decomposed as described in Fig. 4.

Fig. 4
figure 4

Decomposition of a polyomino in \(\mathcal {CP}_a^t\)

Therefore, the generating function \(G^t_a(u)\) satisfies

$$\begin{aligned} G^t_a&=xy^a+\sum _{s=1}^{a-1}(a-1-s)xy^{a-s}G^{bt}_s +q\sum _{s=1}^{a-1}xy^{a-s}G_s^{bt}+p\sum _{s=1}^{a-1}xy^{a-s}G_s^t\\&\quad +pqxG_a^t+\sum _{s=2}^ax\frac{y^{a+1-s}-y^a}{1-y}G_s^t +\sum _{s\ge a+1}x\left( \frac{y-y^a}{1-y}+q\right) G_s^t. \end{aligned}$$

By multiplying this recurrence by \(u^{a-1}\) and summing over \(a\ge 1\), we obtain the equation

$$\begin{aligned}&\left( 1-pqx+\frac{qx}{1-u}-\frac{pxyu}{1-yu}+\frac{xyu}{(1-u)(1-yu)}\right) G^t(u)\nonumber \\&\quad =\frac{xy}{1-yu}+\left( \frac{xy^2u^2}{(1-yu)^2} +\frac{qxyu}{1-yu}\right) G^{bt}(u)+\frac{xyu+qx(1-yu)}{(1-u)(1-yu)}G^t(1), \end{aligned}$$
(3.2)

which will be solved by using the kernel method (see the beginning of Sect. 2). First, by finding the roots of the equation

$$\begin{aligned} 1-pqx+\frac{qx}{1-u'}-\frac{pxyu'}{1-yu'}+\frac{xyu'}{(1-u')(1-yu')}=0 \end{aligned}$$

for variable u, we get

$$\begin{aligned} u'=\frac{1-\sqrt{1-\frac{4y(1+p(1-q)x)(1+q(1-p)x)}{(1+y-pqx-xy(1-p)(1-q))^2}}}{\frac{2y(1+p(1-q)x)}{1+y-pqx-xy(1-p)(1-q)}}. \end{aligned}$$

Then, setting \(u=u'\) in last functional equation yields

$$\begin{aligned} G^t(1)=\frac{y(u'-1)}{yu'+q(1-yu')}+\frac{yu'(u'-1)}{1-yu'}G^{bt}(u'). \end{aligned}$$

Thus, by (3.1), we can state the following result.

Lemma 3.1

The generating function \(G^t(u;x,y,p,q)\) is given by (3.2), where the generating function \(G^t(1;x,y,p,q)\) is given by

$$\begin{aligned} G^t(1)&=\frac{y(u'-1)}{yu'+q(1-yu')}+\frac{xy^2u'(u'-1)}{(1-pqx)(1-yu')^2-xyu'(p+q)(1-yu')-xy^2u'^2}. \end{aligned}$$
(3.3)

Next, we find the generating function G(1; xypq) based on \(G^t\) and \(G^b\). To that goal, we decompose each convex polyomino as described in Fig. 5.

Fig. 5
figure 5

Decomposition of a polyomino in \(\mathcal {CP}_a\)

Considering these cases, we can rewrite \(G_a(x,y,t)\) as

$$\begin{aligned} G_a&=xy^a+\sum _{s=1}^{a-1}(a-1-s)xy^{a-s}G_b^{bt} +p\sum _{s=1}^{a-1}xy^{a-s}G_b^{t}+q\sum _{s=1}^{a-1}xy^{a-s}G_s^{b}\\&\quad +xG_a+\sum _{s=2}^ax(y^{a-1}+\cdots +y^{a+1-s})G_s^t+\sum _{s=2}^ax(y^{a-1}+\cdots +y^{a+1-s})G_s^b\\&\quad +\sum _{s\ge a+1}x(y^{a-1}+\cdots +y)G_s^t+\sum _{s\ge a+1}x(y^{a-1}+\cdots +y)G_s^b+(p+q)\sum _{s\ge a+1}xG_s\\&\quad +\sum _{s\ge a+1}(s-1-a)xG_s. \end{aligned}$$

By multiplying by \(u^{a-1}\) and summing over \(a\ge 1\), we obtain

$$\begin{aligned}&\left( 1-pqx+\frac{(p+q)x}{1-u}-\frac{x}{(1-u)^2}\right) G(u)\nonumber \\&\quad =\frac{xy}{1-yu}+\frac{xy^2u^2}{(1-yu)^2}G^{bt}(u)+\frac{xyu}{1-yu}(pG^{t}(u)+qG^{b}(u))\nonumber \\&\qquad +\frac{xyu}{(1-u)(1-yu)}(G^t(1)+G^b(1)-G^t(u)-G^b(u))\nonumber \\&\qquad +\frac{(p+q)x}{1-u}G(1)-\frac{x}{(1-u)^2}G(1)+\frac{x}{1-u}\frac{\partial }{\partial u}G(u)\mid _{u=1}. \end{aligned}$$
(3.4)

Recall \(G^b(u;x,y,p,q)=G^t(u;x,y,q,p)\) by a symmetry argument. Also, note that the roots of the kernel

$$\begin{aligned} K(u)=1-pqx+\frac{(p+q)x}{1-u}-\frac{x}{(1-u)^2} \end{aligned}$$

are

$$\begin{aligned} u_\pm =1+\frac{(p+q)x\pm \sqrt{(p-q)^2x^2+4x}}{2(1-pqx)}. \end{aligned}$$

By inserting \(u=u_+\) and \(u=u_-\), one at the time, into the functional equation (3.4), we obtain a system of two equations with variables G(1) and \(\frac{\partial }{\partial u}G(u)\mid _{u=1}\). Solving this system yields

Theorem 3.2

The generating function G(1; xypq) is given by

$$\begin{aligned}&\frac{y(y-1)(1-u_+)(1-u_-)}{(1-yu_+)(1-yu_-)}\\&\quad +\frac{y^2(1-u_+)(1-u_-)}{u_+-u_-} \left( \frac{u_+^2(1-u_+)G^{bt}(u_+;x,y,p,q)}{(1-yu_+)^2} -\frac{u_-^2(1-u_-)G^{bt}(u_-;x,y,p,q)}{(1-yu_-)^2}\right) \\&\quad -\frac{yu_+(1-u_+)(1-u_-)}{(u_+-u_-)(1-yu_+)}\left( (1-p(1-u_+))G^t(u_+;x,y,p,q) +(1-q(1-u_+))G^t(u_+;x,y,q,p)\right) \\&\quad +\frac{yu_-(1-u_+)(1-u_-)}{(u_+-u_-)(1-yu_-)}\left( (1-p(1-u_-))G^t(u_-;x,y,p,q) +(1-q(1-u_-))G^t(u_-;x,y,q,p)\right) \\&\quad +\frac{y(1-u_+)(1-u_-)}{(1-yu_+)(1-yu_-)}(G^t(1;x,y,p,q)+G^b(1;x,y,q,p)), \end{aligned}$$

where \(G^{bt}(u;x,y,p,q)\), \(G^t(u;x,y,p,q)\) and \(G^t(1;x,y,p,q)\) are given by (3.1), (3.2) and (3.3), respectively.

As a corollary, the generating function G(1; xxqq) is given by

$$\begin{aligned}&\frac{x^2A}{(q^2x^2-q^2x-2qx^2+x^2-3x+1)^2(q^2x^2-q^2x-2qx^2+x^2+x+1)^2}\\&\qquad -\frac{x^4(q^3x^2-q^3x-3q^2x^2+q^2x+3qx^2-qx-x^2+q+x+1)^2}{ (q^2x^2-q^2x-2qx^2+x^2-3x+1)^{3/2}(q^2x^2-q^2x-2qx^2+x^2+x+1)^{3/2}}\\&\quad =x^2+(q^2+1)x^3+(q^4+q^2+4q+1)x^4+(q^2+1)(q^4+8q+5)x^5+\cdots , \end{aligned}$$

where

$$\begin{aligned} A&=1-3(q^2+1)x+q(3q^3+10q-2)x^2-(q^2+1)(q^4+11q^2-6q-4)x^3\\&\quad +(q-1)(6q^5+17q^3-7q^2-5q-3)x^4-(q^2+1)(q^4+11q^2-6q-4)(q-1)^2x^5\\&\quad +q(3q^3+10q-2)(q-1)^4x^6-3(q^2+1)(q-1)^6x^7+(q-1)^8x^8. \end{aligned}$$

By considering G(1; xx, 0, 0), we show that the generating function for the number of convex Carlitz polyominoes according to their perimeters is given by

$$\begin{aligned} \frac{x^4(x^{16}-3x^{14}+4x^{10}+3x^8+4x^6-3x^2+1)}{(x^4-3x^2+1)^2(x^4+x^2+1)^2}-\frac{x^8(x^4-x^2-1)^2}{(x^4-3x^2+1)^{3/2}(x^4+x^2+1)^{3/2}}. \end{aligned}$$

Next, by singularity analysis of G(1; xx, 0, 0), we get

Corollary 3.3

As n grows to infinity, the number of convex Carlitz polyominoes with the perimeter 2n is asymptotic to \(\frac{n+1}{10}\left( \frac{3+\sqrt{5}}{2}\right) ^{n-2}\).

Note that by Theorem 3.2,

$$\begin{aligned} \frac{d}{dq}G(1;x,x,q,q)\mid _{q=1}&=\frac{2x^3(16x^4-12x^3+10x^2-5x+1)}{(1-4x)^3} +\frac{4x^4(4x^2-1)}{(1-4x)^{5/2}}. \end{aligned}$$

We conclude this section by stating that singularity analysis of \(\frac{d}{dq}G(1;x,x,q,q)\mid _{q=1}\) also yields

Corollary 3.4

The total sum of \(B+U\) over all convex polyominoes with perimeter 2n is asymptotic to \(n^24^{n-4}\).