<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>ICTCS</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Setting the Path to the Combinatorial Characterization of Prime Double Square Polyominoes</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Michela Ascolese</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Frosini</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dipartimento di Matematica e Informatica, Università di Firenze</institution>
          ,
          <addr-line>Firenze</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>24</volume>
      <fpage>13</fpage>
      <lpage>15</lpage>
      <abstract>
        <p>Moving from the seminal work of Beauquier and Nivat (1991) about the characterization of polyominoes that tile the plane by translation, Blondin Massé et al. (2013) found that their boundary words, encoded by the Freeman chain coding on a four letters alphabet, have interesting combinatorial properties. In particular, they considered the specific class of double square polyominoes, and they defined two operators that allow to generate them starting from the basic class of the so called prime double squares. However, the proposed algorithm sufers few drawbacks due to repetitions and outliers generation. Here a diferent combinatorial approach to the double square characterization is proposed. In particular we provide a series of properties for the boundary words of prime double square tiles, that lead to detect some factors of them where a specific letter of the alphabet never occurs. The possibility of extending this property to the whole boundary word of a prime double square, as it seems, would naturally provide a valuable characterization and a tool for their generation and enumeration.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Discrete Geometry</kwd>
        <kwd>Combinatorics on words</kwd>
        <kwd>Tiling of the plane</kwd>
        <kwd>Exact tile</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <sec id="sec-1-1">
        <title>A polyomino is defined as a connected finite subset of points in the integer lattice, commonly</title>
        <p>represented as a set of cells on a squared surface, each square being associated to an integer point.</p>
      </sec>
      <sec id="sec-1-2">
        <title>In [2], Beauquier and Nivat characterized the polyominoes that tile the plane by translation</title>
        <p>through properties of the Freeman chain coding on a four letters alphabet of their boundary. In
particular, the boundary word  of an exact polyomino, say tile, can be factorized according
to the equation  = 123̂︀1̂︀2̂︀3, where ̂︀ refers to the word  considered as a path
and travelled in the opposite direction. We will refer to such decomposition as BN-factorization.</p>
        <sec id="sec-1-2-1">
          <title>According to [2], at most one among 1, 2 and 3 can be empty, and we refer to pseudo</title>
          <p>squares in this case, pseudo hexagons otherwise.</p>
        </sec>
      </sec>
      <sec id="sec-1-3">
        <title>The names pseudo square and pseudo hexagon refer to the behavior of a tile of being surrounded,</title>
        <p>in a tiling, with four or six copies of itself, respectively, see Fig. 1() and (). It is easy to verify
that some tiles also show these two behaviours at the same time in a tiling, as witnessed in</p>
        <p>(a)
(b)
(c)</p>
      </sec>
      <sec id="sec-1-4">
        <title>Focusing on pseudo square tiles, in [3] it was proved that an exact polyomino tiles the plane</title>
        <p>as a pseudo square in at most two distinct ways. Furthermore, if two diferent pseudo square
factorizations of  exist, then no decomposition as a pseudo hexagon does. The authors refer
to these exact polyominoes as double squares.</p>
      </sec>
      <sec id="sec-1-5">
        <title>Double squares have been studied under diferent aspects, some of them leading to the possibility</title>
        <p>of their exhaustive generation. To hit this target, in [5] two operators have been defined and
recursively applied to a basic subclass, say prime double squares, defined throughout the notion
of homologous morphism. Unfortunately, those operators sufer from some drawbacks: in
particular, as observed by the authors, their iterative application may not generate a double
square polyomino, or may generate more copies of the same double square (see Fig. 12 in [5]).</p>
      </sec>
      <sec id="sec-1-6">
        <title>Also from a combinatorial point of view, these drawbacks are undesirable in view of the characterization and the enumeration of the whole class.</title>
      </sec>
      <sec id="sec-1-7">
        <title>Focusing on prime double squares, still in [5] the following conjecture, recently proved in [1], was proposed</title>
        <sec id="sec-1-7-1">
          <title>Conjecture 35. Let  be the boundary word of a prime double square tile in a four letters</title>
          <p>alphabet Σ. Then, for any letter  ∈ Σ,  is not a factor of .</p>
          <p>In this article we move from the results in [1] and we show that the boundary word of a prime
double square has a peculiar form that involves factors that are repeated in diferent parts of
both the BN-factorizations. We also prove that some of these factors are characterized by the
absence of specific letters of the coding alphabet. This result opens a promising way both to
the enumeration and to the generation of prime double squares (lately, of all the double square
polyominoes), since it allows to generate parts of their boundary words whose path does not
self intersect. So, in the next section we recall some basic definitions on combinatorics on words
and few preliminary results to approach the study of prime double square polyominoes. Then</p>
        </sec>
      </sec>
      <sec id="sec-1-8">
        <title>Section 3 provides a series of properties of the boundary word of a prime double square polyomino that lead to state that in some of its parts one specific letter never occurs (consequently, since horizontal and vertical steps always alternate, as shown in [1], no self intersections of the related paths are possible).</title>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Basic notions and preliminaries</title>
      <p>Let us consider the lattice grid Z2. A polyomino is defined as a 4-connected finite subset of
points of Z2. Each polyomino can be represented as a finite set of cells on a squared surface,
each cell representing a lattice point (see Fig. 2). It is commonly required that polyominoes have
no holes, i.e., the boundary of their representation as a set of cells is considered as a continuous,
closed and non-intersecting path. We adopt this assumption here. Relying on that, we naturally
code the boundary of a polyomino through a word, say boundary word, on an alphabet of four
letters, Σ = {0, 0, 1, 1}. Each letter of the word represents a step in one of the four directions
of the discrete grid, {→, ← , ↑, ↓} respectively. Due to the correspondence between letters of Σ
and directions, we indicate 0 and 0, resp. 1 and 1, as opposite. Figure 2 shows an example of the
coding.</p>
      <p>Obviously, choosing diferent starting points and moving along the border clockwise or
counterclockwise lead to diferent boundary words for the same polyomino. So we need to introduce the
following definitions to overcome these ambiguities. Using the standard notation, we indicate
with Σ* the free-monoid on Σ, i.e., the set of all words defined on Σ, where  is the empty one,
and with Σ+ the set Σ* ∖ {}. Given  ∈ Σ* , || denotes its length, while || is the number
of occurrences of the letter  in the word . The notation  indicates the concatenation of 
copies of the word . Finally,  is a factor of  if there exist ,  ∈ Σ* such that  = . If
 =  [resp.  = ], then  is a prefix [resp. sufix ] of , while if || = || then  is the center
of . The notation  ∈/  points out that  is not a factor of .</p>
      <p>Two words  and  are conjugate, say  ≡ , if there exist two words  and  such that  = 
and  = . The conjugacy is an equivalence relation, and the conjugacy class of a word 
contains all its cyclic shifts, i.e., all the possible coding of a polyomino when fixing a travelling
direction and moving all over the possible starting points. We decide to describe the boundary
of a polyomino by travelling it clockwise, in order to identify it with any word of the class
(see again Fig. 2 for an example). The unit square turns out to be  = 1010. Moreover, if 
is the boundary word of a polyomino, the following conditions hold: for all  ∈ Σ we have
| | = | | (this ensures the closeness of the boundary), and there exists  ∈ Σ such that
|| ̸= || for any  proper factor of  (this ensures that the polyomino is 4-connected).
We define three operators on a word  = 12 . . .  ∈ Σ* :</p>
      <sec id="sec-2-1">
        <title>1. the opposite of , indicated with , is the word obtained by replacing each letter of</title>
        <p>with its opposite;
2. the reversal of , indicated with ˜, is defined as ˜ = − 1 . . . 1. A palindrome is a
word s.t.  = ˜;
3. the hat of w, indicated with , is the composition of the previous operations,  = ˜.</p>
        <p>̂︀ ̂︀</p>
      </sec>
      <sec id="sec-2-2">
        <title>We now introduce a particular subclass of polyominoes, the so called prime double squares, in</title>
        <p>
          which we are interested. A polyomino is called exact if it tiles the plane by translation. Beauquier
and Nivat characterized exact polyominoes in relation to their boundary word, providing the
following
Theorem 1 ([2]). A polyomino  is exact if and only if there exist 1, 2, 3 ∈ Σ* such that
 = 123̂︀1̂︀2̂︀3,
where at most one of the words is empty. This factorization may be not unique.
We will refer to this decomposition as a BN-factorization, and call BN-factors the words  and
̂︀ provided by the decomposition. Starting from this result, exact polyominoes can be further
divided in classes; we will focus on pseudo squares, that are the exact polyominoes where one of
the BN-factors is empty. Among them, we specify the double square polyominoes, that admit
two diferent (in terms of BN-factors) BN-factorizations as a square, ̂︀̂︀ ≡  ̂︀ ̂︀ . Due
to the presence of two BN-factorizations, double squares’ boundary words can be written in the
general form obtained from Corollary 6 in [6],
 = 12345678,
(
          <xref ref-type="bibr" rid="ref1">1</xref>
          )
where  = 12,  = 34, ̂︀ = 56, ̂︀ = 78 and  = 23,  = 45, ̂︀ = 67,
̂︀ = 81, with 1, . . . , 8 non empty.
        </p>
        <p>
          We introduce the notion of homologous morphism. A morphism, in our framework, is a function
 : Σ* → Σ* s.t.  ( ) =  ( ) ( ) with ,  ∈ Σ, i.e., it preserves concatenation, and it is
said to be homologous if, for all  ∈ Σ* ,  (̂︀) =  ˆ(︁), i.e., it preserves the hat operation. From
now on, we will refer to homologous morphisms only. For each exact polyomino  = ̂︀̂︀,
we can define the trivial morphism that maps the unit square in  as   (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) = ,   (0) = ,
  (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) = ̂︀ and   (0) = ̂︀. In general, the boundary word of an exact polyomino can also
be obtained starting from the unit square through the composition of two or more morphisms
(see Example 1). In [5] the authors defined the class of prime double squares, briefly , as the
double squares whose boundary word  is such that, for any homologous morphism  , the
equality  =  () implies that either  =  or  is the boundary word of the unit square.
        </p>
        <sec id="sec-2-2-1">
          <title>This property can be rephrased saying that a double square is prime if its trivial morphism can</title>
          <p>not be obtained by composing two or more diferent morphisms. This last class, that constitutes
the basis for the generation of double squares through homologous morphisms, will be the focus
of our work. In particular, we will provide some properties of their boundary words setting the
path for a suitable characterization to generate and then enumerate them.</p>
          <p>. . . . . .</p>
          <p>
            Example 1. The double square  = 11 .. 01011 .. 010 .. 11010|11 .. 01011 .. 010 .. 11010 is not
prime, since it can be obtained applying to the unit square, in this order, the morphisms  (0) = 010,
 (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ) = 101 and  (0) = 010,  (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ) = 11.
          </p>
          <p>.</p>
          <p>The notation .. separates the factors  in  , while | denotes half of the word.</p>
          <p>On the other hand, the cross polyomino in the intermediate step is clearly prime.
ϕ
ψ</p>
        </sec>
        <sec id="sec-2-2-2">
          <title>We conclude this section with some useful results from [1, 5]:</title>
          <p>Property 1 ([5]). Let  be a double square, and ̂︀̂︀ ≡  ̂︀ ̂︀ its BN-factorizations. If 
is prime, then the factors , , ,  are palindrome.</p>
          <p>
            Property 2 ([5]). Given  = 12 . . . 8 the boundary word of a double square as in (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ), for
all  = 1, . . . , 8 there exist ,  ∈ Σ* and  ≥ 0 such that
{︃ = () ,
          </p>
          <p>̂︀− 3− 1 = .</p>
          <p>Theorem 2 ([1]). If  is the boundary word of a  (prime double square), then it fits in one of
the two following forms:
a) 
b)</p>
          <p>. . . . . .</p>
          <p>= (1˜1)1 1 .. ˜1 .. (1˜1)3 3 .. ̂︀1|(1̂︀1)1 1 .. ̂︀1 .. (1̂︀1)3 3 .. ˜1,
with  and  palindrome and 1, 3 ≥ 0,</p>
          <p>. . . . . .</p>
          <p>= 1 .. (˜31)2 ˜1 .. 3 .. (̂︀13)4 ̂︀1|1 .. (̂︀31)2 ̂︀1 .. 3 .. (˜13)4 ˜1, with
2, 4 ≥ 0,
where the factors  are those ones provided by Property 2 and under the assumption that |1| ≤
|2|, |3|, |4|, so that 2 = ˜1 and 4 = ̂︀1.</p>
        </sec>
        <sec id="sec-2-2-3">
          <title>Finally, the following recent result proves Conjecture 35 in [5]</title>
          <p>Theorem 3 ([1]). Given a , its boundary word is couple-free, i.e., no two consecutive
occurrences of a same letter of Σ are present.</p>
        </sec>
        <sec id="sec-2-2-4">
          <title>The two possible forms of the boundary word of a pds provided in Theorem 2 can be merged into a single one according to the following</title>
          <p>Proposition 1. Let  be the boundary word of a pds having form b) of Theorem 2. Then, it is
always possible to rephrase  in the form a) of Theorem 2.</p>
        </sec>
        <sec id="sec-2-2-5">
          <title>From Proposition 1, it follows that the boundary word of a pds has a unique form according to</title>
          <p>the choices of 1, 3, ,  and the values 1, 3 ≥ 0.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. New properties of the factors of a pds boundary word</title>
      <p>This section is dedicated to the study of the factor 1 of a pds’ boundary word in the form a)
of Theorem 2, providing the main result of Theorem 4. In particular, we will show that the
non-self intersection property of the boundary word of a pds implies that 1 contains three
letters only. To simplify the proofs, we will assume 1 = 3 = 0, so obtaining the boundary
word of a pds in the form</p>
      <p>
        . . . . . ..
 = 1 .. ˜1 .. 3 .. ̂︀1|1 .. ̂︀1 .. 3 . ˜1,
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
with ,  non-empty palindromes. We underline that all the steps needed for the proof of
      </p>
      <sec id="sec-3-1">
        <title>Theorem 4 can be performed setting 1 or 3 diferent from 0. From now on, we will consider</title>
        <p>the BN-factors  = 1˜1,  = 3̂︀1,  = ˜13 and  = ̂︀1 1.</p>
      </sec>
      <sec id="sec-3-2">
        <title>Moreover, we point out that the same properties of 1 that we will show in the sequel hold when the values of 1 and 3 are greater than zero, through similar arguments.</title>
        <p>Lemma 1. Let  = ̂︀̂︀ ≡  ̂︀ ̂︀ be (the boundary word of) a pds. For each factorization,
the four BN-factors begin (and end) with a diferent letter of the alphabet Σ = {0, 0, 1, 1}.</p>
        <sec id="sec-3-2-1">
          <title>It directly follows by the palindromicity of the BN-factors and the fact that no two consecutive</title>
          <p>equal letters occur in  (see [1]).</p>
        </sec>
      </sec>
      <sec id="sec-3-3">
        <title>Without loss of generality, we assume that  and  begin with the letters 1 and 0, respectively;</title>
        <p>as a consequence,  starts with 0 and  with 1, since the polyomino is travelled clockwise in
both factorizations.</p>
        <p>
          Proposition 2. Given a pds as in Eq. (
          <xref ref-type="bibr" rid="ref2">2</xref>
          ), the factor 1 begins and ends with the letter 1, while
3,  and  all begin and end with the letter 0.
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>Proof. According to the choice that  and  start with 1 and 0 (respectively), we have that</title>
        <p>and  begin with 0 and 1, respectively, so that  starts with 0 (from ) and  ends with
0 ( is palindrome). Again by palindromicity, we obtain that the last letters of 1 and 3 are
respectively 1 and 0. □</p>
        <sec id="sec-3-4-1">
          <title>Hereafter we state our main result, whose proof will be obtained through the following lemmas.</title>
          <p>
            Theorem 4. Given a pds with boundary word  expressed as in Eq. (
            <xref ref-type="bibr" rid="ref2">2</xref>
            ), the factor 1 contains
only three letters of Σ, i.e., 1 ∈ {0, 0, 1}+.
          </p>
        </sec>
        <sec id="sec-3-4-2">
          <title>The proof of Theorem 4 relies on the following lemmas where, proceeding by contradiction, it</title>
          <p>is assumed that only one occurrence of 1 is present in 1, i.e., 1 = 111 with 1 ∈/ ,  and
,  ̸= . Similarly, a contradiction is obtained if we assume that more occurrences of 1 are
present in 1.</p>
          <p>Proof of Theorem 4</p>
        </sec>
        <sec id="sec-3-4-3">
          <title>We start this section with two technical lemmas.</title>
          <p>Lemma 2 ([7]). Assume that  =  = , with  ̸= . Then, for some palindromes ,  ∈ Σ+
and some  ≥ 0, we have  = ,  = () and  = .</p>
          <p>Lemma 3. Let 1, 2, 3 ∈ Σ+ be three palindromes such that 123 is palindrome too. Then,
for some palindromes ,  ∈ Σ+, 1, 2 and 3 can be obtained as their alternate concatenations.</p>
        </sec>
        <sec id="sec-3-4-4">
          <title>The proof can be obtained from Lemma 1 in [4].</title>
          <p>Lemma 4. Let us assume 1 = 111 with 1 ∈/ , . Then, both  and  have length ||, || &gt;
1.</p>
          <p>
            Lemma 5. Let us assume that 1 = 111 is a factor of the boundary word of a pds  expressed
as in Eq. (
            <xref ref-type="bibr" rid="ref2">2</xref>
            ). The position of 1 in 1 is not the center of the BN-factor  = ˜13.
Proof. By contradiction, let  = 1˜1˜13 be such that 1 = ˜13, and let us consider
 = 3̂︀1 = 3111. Recall that both  and  are palindrome since BN-factors of a pds.
          </p>
          <p>̂︀ ̂︀
Let us suppose 1 ∈ 3 and, as a consequence, 1 ∈  too. We make the first occurrence in 3
explicit, 3 = 1 with 1 ∈/ . From  palindrome, we get 1′ = ˜1 for a suitable ′ s.t.
 = ′1; we also notice that 1 ∈/ ′. We now analyze the length of the words  and :
1. Case || &lt; ||. There exists a factor ′ such that  = ′˜ and 1′ = ˜′1. We now move
to the other BN-factor,  = 3̂︀1, to study its palindromicity.</p>
          <p>
            We have  = 111′1 palindrome and, since 1 ∈/ , || ≤ | |. As a consequence, if
̂︀ ̂︀
the inequality is strict, we can write the last palindrome as  = ′1˜. It follows from the
palindromicity of  that 1̂︀1′1′ has to be palindrome too. Even in this case, we
̂︀
can deduce || ≤ | ′| from the property 1 ∈/ . If the inequality is strict, then || &lt; |′|
and, for the same reason, the letter 1 in boldface is part of the factor . We also remind
that 1 ∈/ , then the factor  is made of one letter only,  = 0 or  = 0, in contradiction
with Lemma 4. Then || = |′|, and we get that 1′ in  is palindrome. The letter
̂︀ ̂︀
in boldface is the only occurrence of 1, so the center, and then ′ is the empty word. It
follows that  = ˜, so 1 is palindrome, and  = 3. Studying again , we immediately
argue that 3 =  too. We can now define a non-trivial morphism,  (0) = 3,  (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ) = 1,
that maps the cross in the pds  , reaching a contradiction.
          </p>
          <p>We finally have to study the case (1 ∈/) = , that gives in  the palindrome 1̂︀1′.
̂︀</p>
        </sec>
      </sec>
      <sec id="sec-3-5">
        <title>Again, we can distinguish two cases, if the letter in boldface is the unique occurrence of 1</title>
        <p>or not. If ′ = 1, then from 1′ = ˜′1 we get ′ = 1. Then  starts with ′ and 3
̂︀
ends with , that is impossible since they both start and finish with the same letter 0 (see
Proposition 2). Then, there exists ′ such that  = ′̂︀1′ and ′1 is palindrome. From
̂︀
this last condition, we argue that the second letter of  is 1, since || = 1 does not hold
by Lemma 4. We now study the palindrome ′1:
̂︀
i) |′| &lt; ||. In this case, there exists ′ such that ̂︀ = ̂︀′˜′, i.e.  = ′′, and 1 ∈/ ′.</p>
        <p>So,  = (′1)(1˜1˜1)(1) = ′1′′˜′1′1˜1˜11′′˜′1′. Since 1 ∈/ ′ and
̂︀ ̂︀
1 ∈/ ′, it must be ′ = ′ = 0 (we remind that  starts with 0 by Proposition 2).
Then,  = 01′′010 is not palindrome, contradiction. If |′| = ||, then ′ = ,
̂︀
so that 1 ∈/ ′ and the same contradiction is reached.
ii) || &lt; |′|. In this case, there exists a palindrome ′′ ̸=  such that ′ = 1′′. We get
1 = 111, 3 = 1 = 111′′ = 1′′,  = ′1 = ′111′′ = ′1′′
and ′′ palindrome, with 1 ∈/ , ′, , . The boundary word of the pds is now
. .. .</p>
        <p>= 1 .. ′1′′˜1 . 1′′ .. ̂︀1| . . . ,
and  = 1˜1 is palindrome if and only if ′1′′ = ′111′′ is palindrome.
Since 1 ∈/ ′ and || &gt; 1, we argue that ˜′ is a sufix of ′′, ′′ = ′′′˜′ palindrome,
and 1′′′ is palindrome too. Moving to  = ′1′′′˜′˜11′′′˜′, we deduce that
˜′˜1 is palindrome with one only occurrence of 1 (that one in 1). So,  = ′ and
1 are palindrome. We get</p>
        <p>. .. .</p>
        <p>= 1 .. 1′′′1 . 1′′′ .. 1| . . .
with 1′′′ and ′′′ palindromes (since center of the BN-factors  and  ,
respectively). In particular, ′′′ ends with 1 and, since 1 ∈/ , there exists a palindrome 
such that ′′′ = , with  and 1 both palindrome. By Lemma 3, there exist two
palindromes 1 and 2 such that 1,  and  can be written as their concatenation.</p>
      </sec>
      <sec id="sec-3-6">
        <title>We underline that at least one among 1 and 2 has length greater than one, since</title>
        <p>1 contains occurrences of both the letters 1 and 1.</p>
        <p>
          We finally get that 1, , 3 and  are concatenation of the palindromes 1 and 2 (or
their opposite), and then it is possible to define a non-trivial morphism,  (0) = 1,
 (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) = 2, that makes  non prime, contradiction.
2. Case || &lt; ||. There exists a word ′ such that  = ˜′ and ′1′ = 1. The
palindrome BN-factor is now  = 11′11, and again  = ′1˜ for a suitable
̂︀ ̂︀
′ since 1 ∈/ . Applying the same argument as in the previous case we reach again a
contradiction.
        </p>
        <p>
          The case || = || immediately gives a contradiction through the definition of a morphism  ,
as shown before. We then conclude that no occurrences of the letter 1 appear in the factor 3.
So, from the palindromicity of , we argue that |3| ≤ | |. If 3 =  palindrome, then ˜ = 
and 1 is palindrome too. Going back to the BN-factor , we get  = 3 and a non-trivial
morphism  (0) = 3,  (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) = 1 can be defined to map the cross in  , contradiction. Then,
|3| &lt; ||.
        </p>
        <p>Being  = 3111, there exists ′ such that  = ′1˜3 and 11′ are palindrome. Since
̂︀ ̂︀ ̂︀ ̂︀
1 ∈/ 3 and  is palindrome too, we can write the factor as  = 3′′1˜3 for a suitable ′′. From
, we obtain that ̂︀113′′1˜3 is a palindrome. This leads to a last contradiction since 1 ∈/ 3
̂︀
and |1| ≤ | 3| by hypothesis. □</p>
      </sec>
      <sec id="sec-3-7">
        <title>Then, the only occurrence of 1 in 1 is in the first or second half of .</title>
        <p>Corollary 1. Since 1 ∈ 1 is unique and it is not the center of , it follows that |3| ̸= ||.
We continue the analysis of the position of 1 ∈ 1 in the BN-factor  = ˜13. As final result,
we will obtain that there are no available positions for it in .</p>
        <p>
          Lemma 6. Let us assume that 1 = 111 is a factor of the boundary word  of a pds expressed
as in Eq. (
          <xref ref-type="bibr" rid="ref2">2</xref>
          ), and 1 ∈ 1 is in the first half of . Then, the BN-factor  is palindrome if and only if
i) the center of  is ′′1, for a proper ′′ ∈ Σ+, or
ii) the center of  is ̂︀1′′, for a proper ′′ ∈ Σ+.
        </p>
        <p>Proof. Since 1 is in the first half of  = ˜13, we have that || &lt; |3|, and 3 = 11 for a
proper non-empty  such that ˜1 is palindrome. We now distinguish two cases.
1. || &lt; ||, and  = 1 for a proper palindrome  ∈ Σ+. Replacing in the factor, we
get 3 = 1, where we remark that  ̸=  since 3 starts with 0 and 1 with 1 (see</p>
        <sec id="sec-3-7-1">
          <title>Proposition 2). We now move to the palindrome</title>
          <p>
            = 3̂︀1 = 1̂︀1 = 1111̂︀1̂︀1.
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
If  = 0, by the palindromicity of  and the property 1 ∈/  we have that  has ˜10 as a
sufix and then, being  palindrome, 01 as a prefix. Then in  we find the word ̂︀101,
that intersects itself for any starting letter of , contradiction. It follows that || &gt; 1, and
also || ̸= || to have  palindrome. Again we have to distinguish two cases:
i) || &lt; ||. Now the palindrome  is written as  = 1′ for a proper ′ ∈ Σ+,
and  is palindrome if and only if ′11111 is palindrome, see Equation (
            <xref ref-type="bibr" rid="ref3">3</xref>
            ).
̂︀ ̂︀
If ′ = , then the palindromicity can be obtained only with || = || = 1, in
contradiction with Lemma 4. Then, being 1 ∈/ 1, we deduce that 11 is a prefix of
′, so that ′ = 11′′ for a proper ′′ ∈ Σ+. Replacing in , we get the palindrome
 = 1′′. Now, the study of the palindromicity of  is reduced to the study of its
center, ′′1, and the thesis of case ) is reached.
ii) || &lt; ||. We have  = ′1 for a proper ′ ∈ Σ+, and  is palindrome if and only
if 11111′ is. As seen in the previous case, |′| ̸= || and 1 ∈/ ,  allow to
̂︀ ̂︀
write ′ = ′′11˜1, and then  = ′′1 for a proper non-empty word ′′. The
center of  is now the palindrome ̂︀1′′, and the thesis of case ) is reached.
2. || &lt; ||, and  = ′1 for a proper ′ ∈ Σ* , in particular 1 ∈/ . Moving to , we have
 = 11111 palindrome, and || &lt; || since 1 ∈/  and they can not have the
̂︀ ̂︀
same length, according to Lemma 4. Then, there exists ′ ∈ Σ+ such that  = ′1˜, and
 = 111̂︀1̂︀1′1˜. (
            <xref ref-type="bibr" rid="ref4">4</xref>
            )
Again, 1 ∈/  guarantees that there exists a word ′′ to express  = ′′1˜1˜, and the
center of  becomes ̂︀1′′, as stated in case ).
          </p>
          <p>The case  =  can be studied similarly to case 2, due to 1 ∈/ .</p>
        </sec>
        <sec id="sec-3-7-2">
          <title>So all possible cases have been analyzed, and the thesis follows.</title>
          <p>□</p>
        </sec>
      </sec>
      <sec id="sec-3-8">
        <title>We underline a relevant symmetrical result: the study of the BN-factor , properly of its center,</title>
        <p>in both cases of Lemma 6 can be performed similarly to the study of the palindromicity of
 = ˜13 with 1 ∈ 1, where 3 is replaced with ′′ or ′′.</p>
        <p>
          Lemma 7. Let us assume that 1 = 111 is a factor of the boundary word  of a pds expressed
as in Eq. (
          <xref ref-type="bibr" rid="ref2">2</xref>
          ), and 1 ∈ 1 is in the second half of . Then
i) the factor  can be expressed as  = ˜31′′ for a proper palindrome ′′, or
ii) there exist ′,  ∈ Σ+ such that  = ˜311′, 3 = 1′ and ˜1 palindrome.
Proof. Since 1 ∈ 1 is in the second half of , we have |3| &lt; ||, and there exists ′ ∈ Σ+
such that  = ˜311′ and ′1˜ is palindrome. We distinguish two cases: if || &lt; |′|, we
have ′ = 1′′ for a proper palindrome ′′ and  = ˜31′′. The thesis of case ) is obtained.
On the other hand, let be |′| &lt; ||. Then,  = ′1′ for a proper ′ ∈ Σ* , and 1 ∈/ ′. We
have that  = ˜311′ is palindrome.
        </p>
        <p>If ′ = ˜13, then |3| &lt; |′| &lt; || &lt; |1|, in contradiction with the assumption on the mutual
lengths of the factors . So, 3 = 1′ for a proper  such that ˜1 is palindrome, and we get
the thesis of case ). The same occurs if ′ = . □</p>
        <sec id="sec-3-8-1">
          <title>Again we underline the following symmetrical result: in both cases of Lemma 7 the study of the</title>
          <p>palindromicity of  can be performed as the study of  = ˜13. In case ), just replacing 
with ′′; in case ) we are in the same case of Lemma 6, where ′ replaces the sufix 1 of 3
and 1 ∈ 1 is in the first half of .</p>
        </sec>
      </sec>
      <sec id="sec-3-9">
        <title>Such symmetrical results allow to iteratively apply Lemma 6 and 7 to the BN-factors  and , thus crumbling them into two diferent common parts that alternate all over  .</title>
        <p>Theorem 5. If 1 = 111, there exist , ,  ≥ 0 and a palindrome  ∈ Σ+ such that
 = (1) , 3 = (1)  and  = (1) . Moreover, 1 is palindrome.</p>
      </sec>
      <sec id="sec-3-10">
        <title>Proof. The palindromicity of the BN-factors  and , and of the factor , allows to iteratively</title>
        <p>apply Lemma 6 and Lemma 7, according to the length of the involved factors, and to finally
obtain that 3,  and  are concatenation of 1, ˜1,  and ˜ for some  ∈ Σ+. The palindromicity
of 1 and  is deduced by the fact that both  and  are palindrome at the same time, up to the
parity of  .</p>
      </sec>
      <sec id="sec-3-11">
        <title>We underline that 1 is not a factor of , as shown in the proofs of Lemma 6 and Lemma 7.</title>
        <p>If Lemma 6 is never applied during the iterative proof, then  = 3. Indeed, in this case we
have that 1 is palindrome,  = (1)  and 3 = (1)  for a non-empty palindrome  and
,  ≥ 0. Since  is a pds, its BN-factor  = 3̂︀1 is palindrome, that is  = (1) 1
palindrome. We can apply Lemma 3 with 1 = 3, 2 = 1 and 3 = . Since 1 is not a factor
of , the possible case is 1 = 3, i.e.  = 3 = (1) . □
Hereafter we provide an example where one only iteration of Lemma 6, case 1, ) in the proof,
is suficient to express the BN-factors  and  in terms of 1 and . In this case we get
 =  = ′′ =  and, as a consequence,
3 = 11 ||&lt;|| 1 ||&lt;|| 1′′1,</p>
        <p>
          = =
and ′′ =  since  is palindrome and, by hypothesis, the proof stops here after one single
iteration. Then, the boundary word  can be obtained applying the non-trivial morphism
. . . . . .
 (0) = ,  (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) = 1 to the double square  = 1 .. 01 .. 01010 .. 10|1 .. 01 .. 01010 .. 10, and  is
not prime.
        </p>
        <p>
          Corollary 2. 1 = 111 can not be a factor of the boundary word  of a pds expressed as in
Eq. (
          <xref ref-type="bibr" rid="ref2">2</xref>
          ).
        </p>
        <p>
          Proof. If 1 = 111, from Theorem 5 we know that 1 is palindrome,  = (1) , 3 =
(1)  and  = (1)  for some palindrome  and , ,  ≥ 0. Then, it is possible to
define an homologous morphism,  (0) =  and  (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) = 1, that maps the double square
 = 1(01) 01(01) 01(01) 0| . . . in  . We underline that: if  =  =  = 0, the morphism 
maps the cross in  , so it is not trivial. On the other hand, in case  is a single letter, 1 always
has length greater than five, so  is not the identity. It follows that  is not prime. □
We analyzed all the possible positions of 1 ∈ 1 in the BN-factor , each time reaching a
contradiction. A similar argument can be used if more occurrences of 1 are present in 1, so
leading to the proof of Theorem 4, as desired. □
        </p>
        <sec id="sec-3-11-1">
          <title>We conclude this section providing examples of the two possible contradictions reached when</title>
          <p>we include 1 in 1: in the first, the boundary of the pds self intersects, while, in the former, the
polyomino can be obtained from the unit square through the composition of more than one
non-trivial homologous morphism.</p>
          <p>Example 2. Let us consider 1 = 101010101010101. We can choose  = 010 and 3 =
010101010101010 to construct the (palindrome) BN-factors  = 1˜1 and  = ˜13. The
boundary word we get is
and self intersects (boldface letters), so it does not define a polyomino.</p>
          <p>On the other hand, choosing 1 = 101010101,  = 01010 and  = 3 = 1 we get the double
square 2 = (10101010101010)410101010101010| . . . .</p>
          <p>The polyomino is well defined and the boundary does not self intersect. However, it is not prime
since a non-trivial morphism can be easily defined.</p>
        </sec>
        <sec id="sec-3-11-2">
          <title>Coming to an end, our results indicate a new way of investigating double square polyominoes</title>
          <p>starting from the basic class of prime ones. By a combinatorial approach, we started to
characterize their boundary words in terms of one single letter’s absence. The obtained results
suggest the possibility of extending such property to the other factors of the boundary word,
so providing a valuable tool (alternative to [5]) to characterize and successively generate and
enumerate them.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgments</title>
      <sec id="sec-4-1">
        <title>The authors acknowledge support by the INdAM-GNCS Project 2023 (cod.</title>
        <p>CUP_E53C22001930001) "Combinatorial and enumerative aspects of discrete structures:
strings, hypergraphs and permutations".</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Ascolese</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Frosini</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <article-title>On a conjecture on prime double square tiles</article-title>
          ,
          <source>arXiv:2305.04626</source>
          (
          <year>2023</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Beauquier</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nivat</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <article-title>On translating One Polyomino To Tile the Plane, Discrete Comput</article-title>
          .
          <source>Geom</source>
          .
          <volume>6</volume>
          :
          <fpage>575</fpage>
          -
          <lpage>592</lpage>
          (
          <year>1991</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Blondin</given-names>
            <surname>Massé</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Brlek</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Labbé</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.,</surname>
          </string-name>
          <article-title>A parallelogram tile fills the plane by translation in at most two distinct ways</article-title>
          ,
          <source>Discrete Appl. Math</source>
          .
          <volume>160</volume>
          (
          <issue>7-8</issue>
          ):
          <fpage>1011</fpage>
          -
          <lpage>1018</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Blondin</given-names>
            <surname>Massé</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Brlek</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Labbé</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          ,
          <article-title>Palindromic lacunas of the Thue-Morse word</article-title>
          , in: GASCom,
          <source>Int. Conf. on Random Generation of Combinatorial Structures</source>
          <volume>53</volume>
          -
          <fpage>67</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Blondin</given-names>
            <surname>Massé</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Garon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Labbé</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          ,
          <article-title>Combinatorial properties of double square tiles</article-title>
          ,
          <source>Theor. Comput. Sci</source>
          .
          <volume>502</volume>
          :
          <fpage>98</fpage>
          -
          <lpage>117</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Brlek</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Provençal</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fédou</surname>
            ,
            <given-names>J.M.</given-names>
          </string-name>
          ,
          <article-title>On the tiling by translation problem</article-title>
          ,
          <source>Discrete Appl. Math</source>
          .
          <volume>157</volume>
          :
          <fpage>464</fpage>
          -
          <lpage>475</lpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Lothaire</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Combinatorics on Words, Cambridge University Press, Cambridge (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>