<!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>International Conference on Theoretical Computer Science, September</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>(3, 2, 1)-Labeling of Certain Planar Graphs⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Tiziana Calamoneri</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computer Science Department, Sapienza University of Rome</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>1</volume>
      <fpage>3</fpage>
      <lpage>15</lpage>
      <abstract>
        <p>Given a graph  = (, ) of maximum degree Δ, denoting by (, ) the distance in  between nodes ,  ∈  , an (3, 2, 1)-labeling of  is an assignment  from  to the set of non-negative integers such that |() − ()| ≥ 3 if  and  are adjacent, |() − ()| ≥ 2 if (, ) = 2, and |() − ()| ≥ 1 if (, ) = 3, for all  and  in  . The (3, 2, 1)-number  () is the smallest positive integer such that  admits an (3, 2, 1)-labeling with labels from {0, 1, . . . ,  ()}. In this paper, the (3, 2, 1)-number of certain planar graphs is determined, proving that it is linear in Δ, although the general upper bound for the (3, 2, 1)-number of planar graphs is quadratic in Δ.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;(ℎ</kwd>
        <kwd>)-labeling</kwd>
        <kwd>frequency assignment problems</kwd>
        <kwd>infinite grids</kwd>
        <kwd>square of cycles</kwd>
        <kwd>outerplanar graphs</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In practice, interference among frequencies could go beyond distance two so, in 2004, Liu
and Shao [17] generalized the (
        <xref ref-type="bibr" rid="ref1 ref2">2, 1</xref>
        )-labeling problem to the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling problem to
take into account even stations at a distance 3.
      </p>
      <p>
        Since its definition, the technology has changed, and the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling problem has
become outdated in practice; nevertheless, it has been considered attractive by researchers even
only from a purely theoretical point of view, and many papers have been published on this
topic, in an attempt to clarify which is the maximum necessary bandwidth; indeed, it is still
worth studying the problem due to its many implications in the world of graph theory. This
paper goes in this direction.
      </p>
      <p>
        The problem of deciding whether  () is upper bounded by a given parameter  is trivially
NP-complete because, for example, it coincides with the decisional version of the (
        <xref ref-type="bibr" rid="ref1 ref2">2, 1</xref>
        )-labeling
problem on diameter 2 graphs, which is dificult [13].
      </p>
      <p>In general, if  is a graph with maximum degree Δ, Clipperton et al. [8] proved that
 () ≤ Δ3 + Δ2 + 3Δ; later, this upper bound was improved to Δ3 + 2Δ [7].</p>
      <p>
        The (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-number of many graphs is known; for example, paths, cycles, caterpillars,
complete and complete bipartite graphs [8]; fans and wheels [18]; interval [1], permutation [2]
and trapezoid graphs [3]; power of paths [7]; the cartesian product of paths and cycles [7], of a
complete bipartite graph and a path or a cycle [12], and of a triangle and a cycle [16].
      </p>
      <p>Liu and Shao [17] showed that  () ≤ 15(Δ2 − Δ + 1) if  is a planar graph of maximum
degree Δ.</p>
      <p>
        Nevertheless, for interesting subclasses of planar graphs, better results are known:
• -length paths  and cycles ,  ≥ 8:  () = 3Δ + 1 = 7,  () = 3Δ + 1 = 7 if
 is even and = 3Δ + 2 = 8 if  odd (but also the results for small values of  are found)
[8];
• ladders  =  × 2:  () = 2Δ + 3 = 9 if  ≥ 5 (but also the results for small
values of  are found) [7];
• caterpillars :  () ≤ 2Δ + 2 [8];
• trees  : 2Δ + 1 ≤  ( ) ≤ 2Δ + 3, deciding which is the exact value for the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2,
1</xref>
        )number is NP-complete in general, while the upper bound is tight for complete (Δ− 1)-ary
trees and the lower bound is tight for stars with +1 nodes [7];
• wheels  with  + 1 nodes (and of degree Δ = ):  () = 2Δ + 1 [18]; particular
star- and wheel-related graphs that turn out to be planar are studied in [11] and their
(
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-number is also linear in Δ;
• friendship graphs   = 2 + 1:  ( ) = 4 + 1 = 2Δ + 1 [18].
      </p>
      <p>It is evident that, despite the general quadratic upper bound, for some classes of planar graphs,
the upper bound on  () is linear in Δ. We will prove this is true also for other important
subclasses of planar graphs, i.e., regular grids, the square of cycles, and outerplanar graphs.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Definitions and Preliminary Results</title>
      <p>
        Given a graph  = (, ), we denote by  the number of its nodes and by  the number of its
edges. For each  ∈  , () represents the degree of , and Δ is the maximum degree of .
Definition 1. Let  = (, ) be a graph and  be a mapping  :  → N ∪ {0}.  is an
(
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling of  if, for all ,  ∈  ,
|() − ()| ≥
⎧⎪3, i (, ) = 1
⎨
      </p>
      <p>
        2, i (, ) = 2
⎪⎩1, i (, ) = 3
Definition 2. Given a graph  = (, ) and an (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling  of it, the value  (, ) =
max∈ () is called span of . The minimum value of  (, ) over all mapping functions  for 
is called the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-number of  and denoted by  () (simply  for short, where no confusion
arises).
      </p>
      <p>It is not restrictive to assume that, given a graph , there exists a node  of  such that
() = 0, otherwise it is possible to obtain a new labeling with this property by shifting the
values of all the labels from () to () − min∈ () for each  ∈  .</p>
      <p>
        This concept has been introduced in [15] concerning another labeling function, the (
        <xref ref-type="bibr" rid="ref1 ref2">2,
1</xref>
        )labeling.
      </p>
      <p>
        Given a graph , the values of (), for any  ∈  , are interchangeably called labels and
colors. Because of this name, it is common to define palette of an (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling function 
of  the set  = {0, 1, . . . ,  (, )}.
      </p>
      <p>For each graph , it holds the symmetry property of the palette: it is always possible to get a
new labeling ′ starting from a given one  by simply assigning ′() =  (, ) − (); trivially,
 (, ) =  (′, ).</p>
      <p>
        Given an (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling function  for , if () has already been determined for some
, then we will choose the colors to label the nodes at a distance ≤ 3 from  in  among the
ones in a subset obtained from the palette by temporarily eliminating () and possibly other
close colors. Some proofs in the following will exploit this concept of temporarily deleting some
colors from the palette.
      </p>
      <p>In this paper, we consider the following subclasses of planar graphs.</p>
      <p>The infinite hexagonal grid is the graph naturally derived from a tassellation of the plane with
regular hexagons. Since it is a regular graph of degree 3, we will name it 3. For the sake of
completeness, we analogously define the infinite squared and triangular grids as derived from a
tassellation of the plane with squares and equilateral triangles, respectively, which are regular
graphs of degree 4 and 6, and hence denoted 4 and 6. Finally, it is also possible to generalize
the concept of regular grid to not planar graphs and define the infinite octagonal grid , which
does not come from any tassellation but is a regular graph of degree 8, call it 8.</p>
      <p>A cycle is an ordered sequence of nodes 1, . . . ,  connected by edges {, +1},  =
1, . . . ,  − 1, and {, 1}.  denotes an  node cycle.</p>
      <p>The square of a graph  is a graph 2 that has the same set of nodes as , and two nods are
adjacent when their distance in  is at most 2. We focus on the square of cycles 2, which are
planar graphs when  is even and when  = 3.</p>
      <p>A graph is outerplanar if it can be embedded in the plane so that every node lies on the
boundary of the outer face. It follows that once the first node has been chosen, clockwise order
around this face induces a total order on the graph nodes.</p>
      <p>We now present some preliminary results that will be exploited in the following, although
are of their own interest.</p>
      <p>Theorem 1. For any graph  with maximum degree Δ ≥ 2,  () ≥ 2Δ + 1.
Proof. This lower bound trivially comes from observing that the Δ neighbors of a maximum
degree node  must be labeled with Δ labels at mutual distance 2 (so at least 2Δ − 1 colors)
and that  must receive a diferent label at a distance 3 from any one of its neighbors. So, at
least 2Δ + 2 colors are necessary. □</p>
      <p>A fan  has  + 1 nodes;  of them, called 1, . . . , , constitute a path, while one, called ,
is connected by an edge to all the other .</p>
      <p>Murugan and Surija [18] proved that, for  ≥ 5,  () = 2 + 1. Here we complete this
result also for small values of :
Lemma 1.  () = 2 + 1 if  ≥ 4 while  () = 2 + 2 if  = 2, 3.</p>
      <p>Proof. First, observe that a possible general labeling of  assigns to  label 0, and ordinately
from left to right the following sequence of labels to 1, . . . , :
it starts with color 3 and hops colors 4 by 4; when the end of the palette is reached, it begins
again from color 5 and hops again 4 colors by 4. (For example, if  = 5, 1, . . . , 5 will be
labeled by labels 3, 7, 11, 5, 9 in this order.)
If  = 2,  is a triangle, all three nodes must get labels at mutual distance 3, i.e., 0, 3, and 6.
Hence  (2) = 2 + 2 = 6.</p>
      <p>If  = 3, we prove that  (3) = 8.</p>
      <p>First we prove that  (3) &gt; 7. By contradiction, assume that the palette  = {0, 1, . . . , 7}.
If () = 0, then 1, 2 and 3 must necessarily be labeled with 3, 5, 7 in some order; but no one
among these three colors is suitable to be the label of 2, that is adjacent both to 1 and to 3. If
() = 7, similar reasonings hold. If finally,  is labeled with a color diferent both from 0 and
from 7, it is easy to see that there are not three available labels at mutual distance 2.</p>
      <p>On the other hand,  (3) ≤ 8 because a possible feasible labeling of this graph assigns 0 to
node  and the labels 6, 3, 8 to 1, 2, 3.</p>
      <p>So,  (3) = 2 + 2 = 8.</p>
      <p>If  = 4, we apply Theorem 1, deducing that  (4) ≥ 9. A possible labeling assigns 0 to node 
and the sequence 7, 3, 9, 5 to 1, . . . , 4 in this order. It follows that  (4) = 2 + 1 = 9. (Note
that the labeling procedure used for  ≥ 5 would produce for 1, . . . , 4 the sequence 3, 7, 5, 9
that is not feasible because colors 5 and 7 are assigned to adjacent nodes.) □</p>
      <p>
        Since we want to exploit a feasible (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling of a fan as a building block for more
general results, we now assume that  is pre-colored and provide a labeling algorithm in the
proof of the following result.
      </p>
      <p>
        Theorem 2. Let be given a fan  whose node  has been pre-colored with label (). Then,
the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling  of  can be completed with span  (, ) ≤ 2 + 3 if  ≥ 4 while
 (, ) ≤ 2 + 4 if  = 2, 3. If () ̸= {0, 1,  (, ) − 1,  (, )} then  () = 2 + 3 if
 ≥ 4 and  () = 2 + 4 if  = 2, 3.
      </p>
      <p>
        Proof. We provide an (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling procedure for nodes 1, . . . , ; the resulting span is
trivially obtained by considering the largest used label.
      </p>
      <p>
        Assume  ≥ 5, first. In the reasonings under the proof of the previous lemma, colors 3, 4,
. . . , 2 + 1 were available and suficient for labeling 1, . . . , . If, instead of having 2 − 1
(i.e., 2 + 1 + 1 − 3) consecutive colors, we have the same number of colors possibly not
consecutive (because the colors around () are forbidden), a fortiori they will be suficient for
(
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling 1, . . . .
      </p>
      <p>
        So, consider palette  = {0, 1, . . . , 2 + 3} and remove from it colors () − 2, () − 1, (),
() + 1, and () + 2 whenever they are in  because these are all the colors that cannot be
used to label 1, . . . . At least  + 4 − 5 colors remain available for 1, . . . , , that are all
at mutual distance 2 via . Hence, the procedure that starts from the first available color and
then hops 4 by 4 on the colors remaining in  after removing  () and the colors too close to it
produces a feasible (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling.
      </p>
      <p>The equality holds given reasonings analogous to those used to justify Lemma 1, together
with the hypothesis that () eliminates from the palette exactly 5 colors.</p>
      <p>If  ≤ 4, the reasoning is the same, but the labeling is diferent. We omit the details here not
to overburden the exposition, but they can be easily deduced from the proof of the previous
lemma. □</p>
      <p>We conclude this section by giving some general lower bounds that, besides being of interest
in itself, will be exploited when dealing with the considered subclasses of planar graphs.
Theorem 3. For any graph  with maximum degree Δ ≥ 2, if a maximum degree node with
two neighbors of degree Δ exists, then  () ≥ 2Δ + 2.</p>
      <p>Proof. Let  be the node of degree Δ, and  and  the nodes adjacent to  and of degree Δ, too.</p>
      <p>Consider a labeling function for , and particularly the label () assigned to . If () is
diferent from 0, 1,  () − 1 and  (), then the label of  excludes 5 labels from the palette
used to label all its neighbors; each one of the Δ ’s neighbors have a diferent color, and these
must be at a mutual distance of two; since () could lay between two colors assigned to two
of the ’s neighbors, the number of used colors cannot be less than Δ + Δ − 2 + 5, obtaining
 () ≥ 2Δ + 2.</p>
      <p>If, on the contrary, the label assigned to  belongs to {0, 1,  () − 1,  ()}, then consider
node . If the label assigned to  is diferent from 0, 1,  () − 1 and  (), repeat the previous
reasoning, getting  () ≥ 2Δ + 2; otherwise, since both  and  are nodes at a distance two
from  with labels in {0, 1,  () − 1,  ()}, then necessarily  has a label outside this set.
Hence, repeat the previous reasoning on . □</p>
    </sec>
    <sec id="sec-3">
      <title>3. Hexagonal Grids</title>
      <p>
        It is known that  (4) = 2Δ + 3 = 11 [7] and  (8) = 23 [4]; more recently, it has been
proved that  (6) = 19 [9]. So, in the following, we study the remaining grid 3, closing the
problem of (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling for all the infinite regular grids.
      </p>
      <p>Theorem 4.  (3) = 2Δ + 3 = 9.</p>
      <p>Proof. We first prove that  (3) ≥ 9. Preliminarily, observe that 3 satisfies the hypothesis of
Theorem 3 implying only  (3) ≥ 2Δ + 2 = 8, that is not enough, so we proceed diferently.</p>
      <p>Assume by contradiction that  (3) = 8. Consider an optimal labeling l of span  (, 3) =
 (3). Pick a  labeled () = 0. Then, in order to remain inside the palette {0, . . . , 8}, there
must be one neighbor ′ of  labeled (′) ∈ {3, 4}. We consider the two cases separately.</p>
      <p>Case 1: if (′) = 4, it is not possible to assign 3 labels at a mutual distance of at least two to
the three neighbors of ′.</p>
      <p>Case 2: if (′) = 3, the three neighbors of ′ must have labels 0, 6, and 8. So, there is a
neighbor ′′ of ′ such that (′′) = 6, but it is not possible to assign 3 labels at a mutual distance
of at least two to the three neighbors of ′′. It follows that in any case  (3) ≥ 9.</p>
      <p>
        Now, we provide a feasible (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling using  = {0, 1, . . . , 8, 9} and this will prove
that  (3) ≤ 2Δ + 3.
      </p>
      <p>We exploit the general technique introduced in [6], consisting in labeling one hexagon and
then shifting this labeling, adding a coeficient mod 2Δ + 4.</p>
      <p>bl
f
a
e
b
d
c</p>
      <p>br
bb
i(a)i
1
3
5
8
0
-2
5
7
0
2
4
+2
i(b)i
7
9
1
4
6
+4
1
3
6
8
0</p>
      <p>Refer to Fig. 1.a. To determine the labeling  of a first hexagon and the coeficients , , and
, shifting the labels toward the bottom, bottom-right and bottom-left, respectively, we call the
nodes of a hexagon , , , , , and  in this order; in view of the symmetry of the grid, it is not
restrictive to assume that () = 0; moreover, it must hold:
- () = () +  =  and () = () + ;
- ( ) = () +  and () = () + ;
- () = () +  =  and () = ( ) + ;
where the sums are mod 10.</p>
      <p>
        Adding all the constraints required by the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling, and thanks to exhaustive
reasoning we omit here for the sake of brevity, there are two possible solutions. The first one
initially labels the nodes , , , , , and  of the first hexagon with labels 0, 7, 4, 9, 2, 5 in
this order, and chooses +2, +4, and -2, as coeficients shifting the labels toward the bottom,
bottom-right and bottom-left, respectively. The second one initially labels , , , , , and 
with 0, 3, 6, 1, 8, 5, respectively, and chooses  = − 2,  = +6 and  = +2. Without loss of
generality, we focus on the first solution, leading to the labeling shown in Fig. 1.b.
      </p>
      <p>
        This method produces a labeling containing a pattern repeated along the grid; it is easy to
verify that it is a feasible (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling of 3 with span 9. □
      </p>
      <p>It is worth noting that the above proof of the lower bound provides  () ≥ 9 for every graph
of minimum degree 3, including 3-regular graphs, that is a bound better than the ones given by
Theorems 1 and 3.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Square of cycles</title>
      <p>The exact value of  for cycles is known from [8]. Namely, when  ≥ 8,  () = 7 if  is even,
while  () = 8 if  is odd.</p>
      <p>
        Here, we determine the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-number of the square of all cycles, although they are planar
graphs only when  is even or  = 3.
      </p>
      <p>Let us consider the small values of  first.</p>
      <p>If  = 3,  and 2 coincide with 3, and hence  (2) =  (3) = 3 − 3 = 6.
When  = 4 and  = 5, 2 coincide with  and again  (2) = 3 − 3.</p>
      <p>When  = 6, each node  and its neighbors induce in 2 a fan 4, from which we easily deduce
 (2) ≥  (4) = 10. Because of the generality of the choice of , we can apply Theorem 2 so
having  (62) ≥ 11. This lower bound is unfortunately not tight; indeed,  (62) = 12. We omit
the proof due to space reasons.</p>
      <p>Lemma 2.  (2) ≥ 12 when  ≥ 7.</p>
      <p>Proof. Preliminarily, observe that we can focus on 1 and its neighbors for simplicity: it is easy
to shift the same reasonings on any other node of 2.</p>
      <p>
        If  assigns a color  to 1, the same color cannot be assigned to another node  if  &lt; 8
because 1 is at a distance ≤ 3 from  for all  &lt; 8. Hence we need at least 7 diferent colors to
label the nodes of 2. Assume by contradiction that there exists a feasible (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling
 of 2 with span  (, 2) = 11. We will show that in this case some colors cannot be used
anywhere, so implying the impossibility of this assumption.
      </p>
      <p>Let (1) = 4. Then, its four neighbors (that are at a mutual distance of at least two) are forced
to receive colors 7, 9, 11, and one between 0 and 1 in some order. We list all the possibilities:
• if (2) = 9, then (3) is neither 7 nor 11 and will be either 0 or 1;  is adjacent to both
1 and 2 so also () is neither 4 nor 7 nor 11 and can only be either 0 or 1; since 3
and  are at distance 2, this configuration is unfeasible;
• if (3) = 9, then (2) is neither 7 nor 11, so it must be either 0 or 1; in this way, colors 7
and 11 will be assigned to  and − 1 in some order. In both cases, (− 2) is necessarily
equal to 2 (if (2) = 0, indeed if (− 2) = 1, no possibility remains for (− 2)); no
available colors are for (− 3).
• analogously, we discard the possibilities of assigning color 9 to either − 1 or  because
of the symmetry between 2, 3 and , − 1 w.r.t. 1.</p>
      <p>Given the possibility of shifting 1 in any position of 2, we conclude that label 4 cannot be
assigned to any node.</p>
      <p>Let now (1) = 9. Then, its four neighbors are forced to receive colors 0, 2, 4, and 6 in some
order. Nevertheless, label 4 has already been excluded, so it is impossible to conclude a feasible
labeling. Hence, label 9 cannot be assigned to any node.</p>
      <p>If (1) = 6, then its four neighbors are forced to receive colors 9, 11, one between 0 and 1,
and one between 2 and 3. But we already know that 9 cannot be assigned to any node, so also
label 6 leads to an unfeasible situation and hence cannot be assigned to any node.</p>
      <p>
        Given the symmetry of the palette, it follows that also colors  (, 2)− 9 = 2,  (, 2)− 6 = 5,
and  (, 2) − 4 = 7 cannot be assigned to any node; otherwise, we could start from a feasible
(
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling  using labels 2, 5, and 7 and get a feasible (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling ′ using labels
4, 6, and 9.
      </p>
      <p>In view of the previous reasonings, if it were  (2) ≤ 11, the remaining colors would be only
six (i.e., 0, 1, 3, 8, 10 and 11) and hence not enough, implying a contradiction, hence  (2) ≥ 12.
□</p>
      <p>The previous lower bound is tight in some cases, as shown in the following result.
Nevertheless, there are some values of n for which more colors are necessary (see Lemma 4).
Lemma 3.  (2) = 12 when  ≡ 0 mod 7.</p>
      <p>Proof. The lower bound comes from Lemma 2, while the upper bound derives from the following
labeling:</p>
      <p>(7+1) = 0, (7+2) = 4, (7+3) = 8,
(7+4) = 12, (7+5) = 2, (7+6) = 6, (7+7) = 10,
for each  = 0, . . . 7 − 1. It is immediate to check its feasibility.</p>
      <p>Lemma 4.  (121) = 15 and  (122) = 16.</p>
      <p>Proof. To prove the lower bound, observe that both 121 and 122 are diameter 3 graphs, so
every node must receive a diferent color. W.l.o.g., let (1) be a color in {0, . . . ,  (, 2) − 2},
 = 11, 12. Only 6, 7 and 8 are at distance 3 from 1 in 122, and only 6 and 7 are at
distance 3 from 1 in 121; so, if color (1) + 1 is assigned to some node, it is one of them.</p>
      <p>In all cases, it is not dificult to see that color (1) + 2 cannot be assigned to any other node
(because it is too close either to 1 or to the node labeled with (1) + 1), and hence (1) + 2 is
unused.
□</p>
      <p>For the generality of the choice of (1), we can say that for any two consecutive used colors,
the next one must remain unused; in other words, it is possible to use at most two colors out of
any three consecutive ones, so  (121) ≥ 15 and  (122) ≥ 16.</p>
      <p>The upper bounds follow by labelings the nodes of 122 with the sequence 0, 3, 6, 9, 12, 15, 1, 4,
7, 10, 13, 16 and the nodes of 121 with the sequence 0, 3, 6, 9, 12, 15, 1, 4, 7, 10, 13. □
Lemma 5. 12 ≤  (2) ≤ 14 when  = 7 +  with  ≥  ≥ 1.</p>
      <p>Proof. The lower bound still comes from Lemma 2. The upper bound on  derives from the
labeling that repeats the sequence 0, 4, 8, 12, 2, 6, 10 for exactly  times; for  times, between
two consecutive 7-long sequences, color 14 is used. It is immediate to check the feasibility of
this labeling. □</p>
      <p>We conclude this section with the following summarizing theorem, covering all large values
of n:
Theorem 5. 3Δ = 12 ≤  (2) ≤ 3Δ + 2 = 14 when  ≥ 42; moreover  (2) = 3Δ = 12
when  ≡ 0 mod 7.</p>
      <p>It is worth noting that we have got exact results for all the small values of , but we omit
them here due to space reasons.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Outerplanar graphs</title>
      <p>
        In this section, we propose an (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling algorithm for outerplanar graphs that provably
uses a linear number of colors in Δ. Due to space reasons, we omit the proof.
      </p>
      <p>Consider an embedding of an outerplanar graph  = (, ), choose a node , and induce a
total order on the nodes by walking clockwise around the external face. Compute a Breadth
First Search starting from node  so that nodes coming first in the ordering are visited first. As
in [6], in the following, such computation will be called Ordered Breadth First Search (OBFS)
while Ordered Breadth First Tree (OBFT) is the (unique) tree resulting from this special kind of
breadth first search (for an example, see Fig. 2.b). The left-to-right order on each layer  of the
OBFT induces a numbering of the nodes: we will call , a node of  lying on layer  of the
tree and occupies the -th position in the left-to-right ordering on the layer (see Fig. 2.c).</p>
      <p>In [6], an attractive property has been introduced for the OBFT of an outerplanar graph,
extending the very well-known one holding for every BFT.</p>
      <p>Lemma 6. Let (,ℎ, ′,), ′ ≤ , be a non-tree edge in an OBFT of an outerplanar graph .
Then:
• either ′ =  and (if, w.l.o.g.,  &gt; ℎ)  = ℎ + 1 – see, e.g., edges (4,1, 4,2) and (3,3, 3,4)
in Fig. 2.c;
• or ′ =  − 1 and  =  + 1, where  is the index of the parent of ,ℎ at layer  − 1; moreover,
,ℎ is the rightmost child of − 1, (see, e.g., edges (5,2, 4,2) and (3,3, 2,3) in Fig. 2.c).
the layer (see Fig. 4(c)).</p>
      <p>Before characterizing OBFTs for outerplanar graphs,
we have to recall the properties of a general breadth first
tree.
vl;k; that appear on the outer face of G in this order
clockwise for the definition of OBFT. Node vl$1;r can lie
either outside or inside this sequence. In the first case a
crossing occurs between edges ðvl$1;r; vl;hþ1Þ and
v1,1
v3,4</p>
      <p>v2,4 v2,5
11</p>
      <p>
        Given an outerplanar graph  = (, ) and a palette  , a greedy coloring algorithm able to
produce a feasible (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling for  is the following:
Algorithm GreedyLabelOuterplanarGraphs
Input: an outerplanar graph  = (, )
Output: an (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling  for 
choose a node as ;
compute an OBFS of  and generate its OBFT  ;
label the nodes of the subgraph induced by  and its children, that is,
a subgraph of a fan, according to Lemma 1;
for each layer  from the children of the root to the leaves:
for each (labeled) node , from left to right:
– let , be the set of ,’s children;
– consider the subgraph induced by , and ,;
– remove from  all the colors that cannot be used for labeling
any node of , because of a too close already labeled node;
– label set , according to the proof of Theorem 2 with the first
colors remained in  ;
– restore  with all colors;
return the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling  for .
      </p>
      <p>
        Theorem 6. Algorithm GreedyLabelOuterplanarGraphs correctly (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labels an
outerplanar graph with a span of at most 4Δ + 8 +  if Δ ≥ 9, and of at most 4Δ + 9 +  if Δ ≤ 8,
where  is a constant upper bounded by 12. The computational cost of this algorithm is Θ(Δ).
      </p>
      <p>It is worth noticing that it was not the aim of this author to determine a tight value for 
but to prove that it is linear in Δ. For this reason, we avoided making the (omitted) proof even
more intricate just to decrease the upper bound by a constant number of colors.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusions</title>
      <p>
        In this paper, the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling problem on some subclasses of planar graphs is tackled,
adding some relevant pieces to the general picture concerning this problem. Indeed, while the
general upper bound on  is quadratic in the maximum degree, it comes out to be linear in Δ
for all the considered graph classes.
      </p>
      <p>
        In particular, the exact (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-number of infinite hexagonal grids is determined in Section
3. Then, the problem on the square of  cycles is approached in Section 4, determining close
upper and lower bounds on  when  is large enough; for some special values of  the exact
value of  is determined. Finally, the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling on outerplanar graphs is studied in
Section 5, providing even in this case a linear upper bound on  .
[11] Francis Xavier D, Kins Yenoke, Preethi S, (
        <xref ref-type="bibr" rid="ref1 ref2">2, 1</xref>
        ) and (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        ) Labelling of Certain Star
and Wheel Related Graphs, Int.l J. of Innovative Research in Science, Engineering and
Technology, 9(
        <xref ref-type="bibr" rid="ref6">6</xref>
        ), 2020.
[12] S. Ghosh, P. Pogde, N.C. Debnath, A. Pal. Eficient algorithm for (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling
of cartesian product between some graphs.Proc. Int.l Conf. Computer Applications in
Industry and Enginnering. EPiC Series in Computing 63, pp. 11–120, 2019.
[13] J.R. Griggs, R.K. Yeh, Labelling Graphs with a Condition at Distance 2. SIAM Journal on
      </p>
      <p>
        Discrete Mathematics, 5, pp. 586–595, 1992.
[14] W. K. Hale, Frequency assignment, Theory and application, Proc. IEEE, 68, pp. 1497–1514,
1980,
[15] J. van den Heuvel, R.A. Leese,M.A. Shepherd. Graph labelling and radio channel
assignment. J. Graph Theory, 29, pp. 263–283, 1998.
[16] B.M. Kim, W. Hwang, B.C. Song. (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling for product of a complete graph and
cycle, Taiwanese J. Math., 849–859, 2015.
[17] J.-Z. Liu, Z.-D. Shao, The (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling problem on graphs, Mathematica Applicata,
17(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ), pp. 596–602, 2004.
[18] M. Murugan, M. Suriya. -Number of Special Family of Graphs. International J.Math.
      </p>
      <p>
        Combin., 1, pp. 77–85, 2020.
[19] F. S. Roberts, T-colorings of graphs, Discrete Math., 93, pp. 229–245, 1991.
[20] X. Zhang. Some characterization results for the (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">3, 2, 1</xref>
        )-labeling problem on trees.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Sk</given-names>
            <surname>Amanathulla</surname>
          </string-name>
          , Madhumangal Pal. (
          <issue>3</issue>
          ,
          <issue>2</issue>
          , 1)- and (
          <issue>4</issue>
          ,
          <issue>3</issue>
          ,
          <issue>2</issue>
          , 1)
          <article-title>-labeling problems on interval graphs</article-title>
          .
          <source>AKCE International Journal of Graphs and Combinatorics</source>
          ,
          <volume>14</volume>
          , pp.
          <fpage>205</fpage>
          -
          <lpage>215</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Sk</given-names>
            <surname>Amanathulla</surname>
          </string-name>
          , Madhumangal Pal. (
          <issue>3</issue>
          ,
          <issue>2</issue>
          , 1)
          <article-title>-labeling problems on permutation graphs</article-title>
          .
          <source>Transilvanian Review</source>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Sk</given-names>
            <surname>Amanathulla</surname>
          </string-name>
          , Madhumangal Pal. (
          <issue>3</issue>
          ,
          <issue>2</issue>
          , 1)
          <article-title>-labeling problems on trapezoid graphs</article-title>
          .
          <source>Discrete Mathematics, Algorithms and Applications</source>
          ,
          <volume>13</volume>
          (
          <issue>5</issue>
          ),
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T.</given-names>
            <surname>Calamoneri</surname>
          </string-name>
          . Optimal
          <article-title>( 1,  2, 1)-labeling of eight-regular grids</article-title>
          .
          <source>Information Processing Letters</source>
          ,
          <volume>113</volume>
          , pp.
          <fpage>361</fpage>
          -
          <lpage>364</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>T.</given-names>
            <surname>Calamoneri</surname>
          </string-name>
          .
          <article-title>The L(h, k)-Labelling Problem: An Updated Survey and Annotated Bibliography, the</article-title>
          <source>Computer Journal</source>
          ,
          <volume>54</volume>
          (
          <issue>8</issue>
          ), pp.
          <fpage>1344</fpage>
          -
          <lpage>1371</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>T.</given-names>
            <surname>Calamoneri</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Petreschi</surname>
          </string-name>
          .
          <article-title>(ℎ, 1)-Labeling Subclasses of Planar Graphs</article-title>
          .
          <source>Journal on Parallel and Distributed Computing</source>
          ,
          <volume>64</volume>
          (
          <issue>3</issue>
          ), pp.
          <fpage>414</fpage>
          -
          <lpage>426</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>M.-L. Chia</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Kuo</surname>
            , H.-y. Liao,
            <given-names>C.-H.</given-names>
          </string-name>
          <string-name>
            <surname>Yang</surname>
            , and
            <given-names>R. K.</given-names>
          </string-name>
          <string-name>
            <surname>Yeh</surname>
          </string-name>
          . (
          <issue>3</issue>
          ,
          <issue>2</issue>
          , 1)
          <article-title>-labeling of graphs</article-title>
          .
          <source>Taiwanese Journal of Mathematics</source>
          ,
          <volume>15</volume>
          (
          <issue>6</issue>
          ), pp.
          <fpage>2439</fpage>
          -
          <lpage>2457</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Clipperton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gehrtz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Szaniszlo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Torkornoo</surname>
          </string-name>
          . L(
          <issue>3</issue>
          ,
          <issue>2</issue>
          , 1)-Labeling of Simple Graphs. VERUM, Valparaiso University,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>Das</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.C.</given-names>
            <surname>Ghosh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Nandi</surname>
          </string-name>
          . Optimal (
          <issue>3</issue>
          ,
          <issue>2</issue>
          , 1)
          <article-title>-labeling of triangular lattice</article-title>
          .
          <source>Discrete Applied Mathematics</source>
          ,
          <volume>228</volume>
          , pp.
          <fpage>32</fpage>
          -
          <lpage>40</lpage>
          ,
          <year>2017</year>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Z.-M. Duan</surname>
          </string-name>
          , P.-l. Lv, L.-y. Miao, Z.
          <article-title>-k. Miao, Optimal channel assignment for wireless networks modelled as hexagonal and square grids</article-title>
          ,
          <source>Proc. of 2nd IEEE Int. Conf. on Network Security, Wireless Communications and Trusted Computing (NSWCTC)</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>85</fpage>
          -
          <lpage>88</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>