<!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 />
    <article-meta>
      <title-group>
        <article-title>Some Properties of the Rate Functions of Large Deviations for Symbol Statistics</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Massimiliano Goldwurm</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marco Vignati</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dipartimento di Matematica “Federigo Enriques”, Università degli Studi di Milano</institution>
          ,
          <addr-line>via Cesare Saldini 50, 20133 Milano</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>We present some results concerning the rate functions of large deviations for symbol statistics define d in primitive rational models. In our context these functions are always define d over an open interval (,  ) ⊆ (0, 1). We first prove certain properties of symmetry for such rate functions that allow us to simplify subsequent investigation. Then we show that the limits of these functions at the endpoints  and  are always finite and we prove that, under rather mild conditions, the same  and  are rational numbers of the form / such that ,  ∈ {0, 1, . . . , }, where  is the number of states of the generalized automaton defining the rational model. Under the same hypotheses we yield a precise value for the corresponding limits.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;automata and formal languages</kwd>
        <kwd>large deviations</kwd>
        <kwd>pattern statistics</kwd>
        <kwd>rational series</kwd>
        <kwd>regular languages</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>In this work we study the properties of large deviations for symbol statistics in rational models.
Such statistics represent the number of occurrences of a letter in a word generated at random
among all strings of length , over a binary alphabet, with a probability proportional to the
values of a given rational formal power series in non-commutative variables [2, 9, 3, 17]. These
probabilistic models can be completely define d by a generalized automaton equipped with
positive weights [27]. The study of symbol statistics in rational models is related to classical
research topics in the areas of formal languages, descriptional complexity, random generation
and analysis of combinatorial structures [13, 4, 6, 20, 8, 15]. Moreover, they are naturally related
to the analysis of pattern statistics. Symbol statistics in rational models can represent a large
variety of pattern statistics on words in several probabilistic contexts, this occurs for instance
when the set of patterns is given by a regular language and the random text is generated by
a Markovian source [2, 23, 18]. Typical results on pattern statistics concern the asymptotic
evaluation of the moments, the limit distributions and also the properties of large deviations
[24, 16, 15, 22]. In particular large deviations estimates are studied in order to evaluate the
probability of rare events, when one or more patterns are over- or under-represented in a
random text [5, 12, 22].</p>
      <p>
        In the present contribution we continue the investigation started in [19], where we proved a
property of large deviations for any symbol statistics defined in a rational model assuming that
the overall matrix of the weights of transitions is primitive. Here, we first prove as an auxiliary
tool some properties of symmetry of the rate functions occurring in these large deviations
estimates. It is known that these functions are well defined in an open interval (,  ) included
in (
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ). Then, we show that the limits of the rate functions at the endpoints  and  are
always finite. Moreover, under a rather mild condition, we prove that such extremes are rational
numbers of the form / such that  ≤  and ,  ∈ {0, 1, . . . , }, where  is the size of the
model, i.e. the number of states of the generalized automaton defining the model. Under the
same hypotheses we also determine the above limits, depending on the coeficients of the
characteristic polynomial of the matrix of weights. We conjecture that these results can be
extended to all rational models having a primitive matrix of weights.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Large deviation properties</title>
      <p>The large deviations are typical properties of a sequence of random variables, say {}, that
have increasing mean values. They consist of a bound exponentially decreasing to 0 over the
probability that  deviates from () by an amount greater or equal to (), for any
 &gt; 0. The main situations occur when () ∼  for a constant  &gt; 0, and since this
occurs in the contexts considered in this work, here we refer to the following formal definition,
inspired by [11, 15], which is rather restrictive with respect to the usual general setting [10].
Definition 1. Consider a sequence of random variables {} such that () =  + () for
a constant  &gt; 0, and let (0, 1) be a real interval including  . Assume  () is a function defined
over (0, 1) taking values in R, such that  () &gt; 0 for  ̸=  . We say that {} satisfies a
large deviation property in the interval (0, 1) with rate function  () if the following limits
hold:</p>
      <p>1
lim
→∞</p>
      <p>1
lim
→∞ 
log Pr( ≤ ) = −  ()
log Pr( ≥ ) = −  ()
for 0 &lt;  ≤ 
for  ≤  &lt; 1
This property is equivalent to require that Pr( ≤ ) = −  ()+(), for 0 &lt;  ≤  , and
Pr( ≥ ) = −  ()+(), for  ≤  &lt; 1. Such a property holds for several quantities of
interest in the analysis of various combinatorial structures [14, 7, 15, 21].</p>
      <p>The rate functions we encounter in this work are convex over their interval of definition and
enjoy the following property, which often occurs in the study of large deviations [10]. For any
open interval (, ) ⊆ R, we say that a convex function  : (, ) →− R is essentially smooth if
 is diferentiable in (, ), lim→+  ′() = −∞ and lim→−  ′() = +∞.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Symbol statistics in rational models</title>
      <p>In order to define the rational stochastic models, consider a formal series in the non-commutative
variables , , that is a function  : {, }* → R+, where R+ = [0, +∞) and {, }* is the free
monoid of all words in the alphabet {, }. As usual, we denote by (, ) the value of  at a word
 ∈ {, }* . Such a series  is said to be rational if for some integer  &gt; 0 there exists a monoid
morphism  : {, }* → R+×  and two (column) arrays ,  ∈ R+, such that (, ) =  ′ () ,
for every  ∈ {, }* [1, 25] 1. Note that in this case, if  = 12 · · ·  with  ∈ {, }
for every  = 1, 2, . . . , , then  () =  (1) (2) · · ·  (). Thus, as  is generated by the
matrices  =  () and  =  (), we say that the 4-tuple (, , ,  ) is a linear representation
of  of size . Such a 4-tuple can be considered as a generalized automaton over the alphabet
{, } as defined in [ 27], where {1, 2 . . . , } is the set of states and the weights of the transitions
are positive real, as well as the weights of the initial and final states. In particular, the matrix
 (resp. ) represents the weights of the transitions labelled by  (resp. ), while  (resp.  )
represents the weights of the initial (resp. final) states.</p>
      <p>To avoid trivial situations, denoting by {, } the family of all words of length  in {, }* ,
we assume that the set { ∈ {, } : (, ) &gt; 0} contains at least two elements, for every
 ∈ N+. As a consequence, since ∑︀∈{,} (, ) =  ′ ( + )  , we have  ̸= 0 ̸=  and
both  and  are non-null matrices (i.e., each of them has at least one positive entry). Moreover,
we can consider the probability measure Pr over the set {, } given by</p>
      <p>Pr() = ∑︀</p>
      <p>(, )
∈{,} (, )</p>
      <p>
        ′ ()
=  ′ ( + )  ,
∀  ∈ {, }
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
Note that, if  is the characteristic series of a (regular) language  ⊆ { , }* then Pr is the
uniform probability function over the set ∩{, }. Also observe that the traditional Markovian
models (to generate a word at random in {, }* ) occur when  +  is a stochastic matrix,
 is a stochastic array and  ′ = (1, 1 . . . , 1) (for a comparison between the rational models
and diferent types of Markovian models, one may refer to [ 18], while for their relations with
stochastic automata one may consider [27]).
      </p>
      <p>Then, under the previous hypotheses, we can define the integer random variable (r.v.)  =
||, where  is chosen at random in {, } with probability Pr() and || denotes the
number of occurrences of  in . By our assumptions,  is a non-degenerate random variable.
One can easily prove [2] that the probability function of  is given by
() := Pr( = ) =
[] ′( + )
 ′( + )
 ∈ {0, 1, . . . , }
where []() denotes as usual the coeficient of the monomial of degree  in an arbitrary
polynomial () ∈ R[]. For sake of brevity we say that  is defined by the linear representation
(, , ,  ). As shown in [2, 9, 3, 17], its traditional properties, as mean value, variance, limit
distributions and local limit properties, can be studied by using its moment generating function
=0 () =  ′(′(++)) ( ∈ C).
Ψ () = ∑︀</p>
    </sec>
    <sec id="sec-4">
      <title>4. Large deviations for primitive models</title>
      <p>In this section we summarize the large deviation properties of  when the matrix  +  is
primitive [19]. Here and in the subsequent sections we denote by  ,  and  the entries of
1As usual, we denote by ′ the transpose of an array  ∈ R, i.e. a row array.
defined by the equation</p>
      <p>Now (still assuming  ̸= 0 ̸= ) let  +  be primitive and let  be its Perron-Frobenius
eigenvalue. In this case it is known that the sequence {} has a Gaussian limit distribution
[2] it satisfies a large deviation property [ 19] and also has several local limit properties [3, 17].
These results are maily obtained by studying the function  = (), where  ∈ R, implicitly
det( −  − ) = 0
with initial condition (0) =  . Clearly () is analytic and well defined all over R. Since also
 +  is primitive for every  ∈ R, () is its Perron-Frobenius eigenvalue; thus, () is a
positive real function, strictly increasing all over R (by statement (i) above), which implies
′() &gt; 0 for any  ∈ R.
which enjoy the following properties [2, 19]:</p>
      <p>
        Moreover, we can define the constant  = ′(0) and the function  () = ′(()) , for  ∈ R,

indices ,  of the matrices  ,  and , respectively. Recall that a square matrix  ∈ R+× 
is primitive if there exists a positive integer  such that   &gt; 0, i.e. all entries of   are
strictly positive. It is well-known that  is primitive if and only it is irreducible and aperiodic
[26]. Its main properties are established by the well-known Perron-Frobenius Theorem (see for
 &gt;
instance [26, Sec 1.1]) stating that every primitive matrix  ∈ R+×  admits a real eigevalue
0 (called the Perron-Frobenius eigenvalue of  ) such that | | &lt;  for any eigenvalue  of
 diferent from  ,  is a simple root of the characteristic equation of  and the following
property holds:
(i) If a matrix  =∈ R+×  satisfies  ≤  (i.e.  ≤
then | | ≤  . Moreover, | | =  implies  =  .
 , ∀, ) and  is an eigenvalue of 
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
are finite:
Also, these limits imply 0 ≤  &lt;  (0) &lt;  ≤ 1.
      </p>
      <p>whenever  &lt;  ,   = 0 and   &gt; 0 when  &gt;  .
(a) 0 &lt;  &lt; 1 and E() =  +  + (), for some || &lt; 1 and some constant  ∈ R;
(b) For every  ∈ R we have 0 &lt;  () &lt; 1,  ′() &gt; 0, and hence the following limits exist and
 = lim  (),
→−∞
 = lim  ()
→+∞
(c) For every  ∈ (,  ) there exists a unique   ∈ R such that  ( ) = . Moreover,   &lt; 0
By using the properties above the following result can be proved [19].</p>
      <p>Then {} satisfies a large deviation property in the interval (,  ) with rate function
Theorem 1. Let {} be defined by a linear representation (, , ,  ) where  +  is primitive.
() = − log
︂( ( ) )︂
  
where   is defined by sentence (c) above. Moreover,  is analytic in the whole interval (,  ),
where it is also convex and essentially smooth with a unique minimal value ( ) = 0.</p>
      <p>
        A natural question arising from the previous result is whether the interval (,  ) of definition
of () coincides with interval (
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ), as it occurs in the classical case of binomial random
variables [10, 11]. One may also ask what the behaviour of () is when  tends to the extremes
of the interval. In [19] it is proved that  = 0 and  = 1 when the main eigenvalues of the
matrices  and  are nonnull. A simple check of the proof allows us to strengthen the result,
making independent the two conditions that imply, respectively,  = 0 and  = 1. More
precisely, since  and  are non-zero matrices with entries in R+, both of them admit a real
non-negative eigenvalue, we denote by   and  , respectively, that are greater or equal to
the modulus of any other eigenvalue. Clearly, it may happen   = 0 or   = | | for some
eigenvalue  of  diferent from  , and the same may occur for  . However, again by
statement (i), we have   &lt;  and   &lt;  . Then, from [19] one can prove the following
property.
      </p>
      <p>Theorem 2. Under the hypotheses of Theorem 1 the following properties hold:
1) If   &gt; 0 then  = 0 and lim→0+ () = log(/ ) (whatever   is);
2) If   &gt; 0 then  = 1 and lim→1− () = log(/ ) (whatever   is).</p>
      <p>This result leaves open the problem of finding the values of  and  , respectively when
  = 0 and   = 0. In these cases, also the limits lim→+ () and lim→ − () are not
established. We only know, by Theorem 1, that 0 ≤  &lt;  ≤ 1 and that |′()| → +∞ as 
approaches  or  .</p>
    </sec>
    <sec id="sec-5">
      <title>5. Properties of symmetry</title>
      <p>In this section we present a natural property of symmetry between rate functions in our context.
Let ,  ∈ R+×  be two non-null matrices (i.e.  ̸= [0] ̸= ). Clearly, for every pair of values
 ∈ C and  ∈ R, we have det( −  − ) = 0 if and only if det(−  − −  − ) = 0.
As a consequence, if  = () and  = () are functions defined, respectively, by the equations
det( −  − ) = 0 and det( −  − ) = 0, with the same initial condition (0) =
 = (0), then () = (− ) for every  ∈ R.</p>
      <p>Theorem 3. Given two non-null matrices ,  ∈ R+× , assume that  +  is primitive. Let
() and  () be the rate functions of the symbol statistics defined, respectively, by (, , ,  )
and (, , ,  ), and suppose () defined over the interval (,  ), for some 0 ≤  &lt;  ≤ 1.
Then the following properties hold:
1.  () is defined over the interval ( ′,  ′) such that  ′ = 1 −  and  ′ = 1 −  .
2. For every  ∈ ( ′,  ′),  () = (1 − ).</p>
      <p>
        3. lim→′+  () = lim→ − () and lim→ ′−  () = lim→+ ().
Proof. Clearly the third property is consequence of the other two. To prove the first one, let
() and () be defined as above. According with the notation of Section 4, set  () = ′(())
and  () = ′(()) . As stated above, we know that () = (− ) for every  ∈ R, and hence
′() = [(− ) − ′(− )], which implies  () = 1 −  (− ). Thus, by relations (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) the
last equality shows that  ′ = lim→−∞  () = lim→−∞ 1 −  (− ) = 1 −  and, similarly,
 ′ = lim→+∞  () = lim→+∞ 1 −  (− ) = 1 −  . These equalities prove Property 1)
since, by Theorem 1,  () is defined over the interval ( ′,  ′).
      </p>
      <p>
        To prove Property 2, let  ∈ ( ′,  ′) and set  = 1 − . By sentence (c) of Section 4, there
exists a unique value   ∈ R such that  ( ) = . Analogously, there is a unique  ∈ R such
that  () =  and, since  () = 1 −  (− ), we get  = −  . Thus, by relation (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ), we have
 () = − log () + log  +  = − log  (− ) + log  + (1 − ) =
= − log ( ) + log  +   = ()
□
      </p>
    </sec>
    <sec id="sec-6">
      <title>6. On the limits of () at the endpoints  and</title>
      <p>In this section we study the behaviour of () for  tending to  or  under the assumptions
of Theorem 1, without restrictions on the matrices  and , so including the case   = 0 and
  = 0. Here we show that under these hypotheses such limits are always finite. In the next
section, under more restrictive assumptions, we yield a precise expression of their values.</p>
      <p>To present the result in detail, consider the family of real coeficients {ℎ : ℎ ∈
{1, 2 . . . , },  ∈ {0, 1, . . . , ℎ}} defined by the equality
det( −  − ) =  −</p>
      <p>ℎ
∑︁ ∑︁ ℎ  − ℎ
Since some of these coeficients may be null, we define the following sets:
ℒ :=</p>
      <p>=

ℒ :=
{(ℎ, ) : ℎ ∈ {1, 2 . . . , },  ∈ {0, 1, . . . , ℎ}, ℎ ̸= 0} ;
( ) := { ∈ R : ∃(ℎ, ) ∈ ℒ such that  =  −  ℎ} ;
{(ℎ, ) ∈ ℒ :  −  ℎ = } , for every  ∈  .</p>
      <p>
        Clearly ℒ and  are not empty, and the family {ℒ :  ∈ } is a partition of ℒ. Moreover, we
can also define  := max{ ∈ } and  := min{ ∈ }. Thus, up to a division by , equation
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) can be written in the form
1 =
      </p>
      <p>
        ∑︁ ℎ  − ℎ
(ℎ,)∈ℒ
Now, let us study the properties of the previous equation when  tends to +∞ in order to
determine  and the limit lim→ − (). Consider the function  () = ′()/() introduced
in Section 4, where  ∈ R. From the second relation of (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) we deduce that, for  → +∞,
 log () =  () =  − (), where () → 0+ monotonically. This implies
log () − log  =
log () =   −
      </p>
      <p>
        () =   −  ()
∫︁  
where  () = ∫︀  (). Note that  (0) = 0 and  () &gt; 0 for any  &gt; 0; more than that,  () is
strictly increasing in R+ and one easily sees that  () = () for  → +∞. As a consequence,
 () = +∞ or lim→+∞  () = − for some  &gt; 0. Moreover, from the last
Replacing this expression in equation (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ) and using the sets defined above we get
() =   −  ()
ℎ  − ℎℎ ()
(∀  ∈ R)
Replacing it in the previous equation, we have
Now it is convenient to define the polynomial () := ∑︀(ℎ,)∈ℒ
ℎ  − ℎℎ, for every  ∈ .
and hence, for  → +∞, we obtain
1 ≡ 
( ()) +
      </p>
      <p>
        ( ())
∑︁
∈∖{}
1 =  [︁
( ()) + O(−  )]︁
(
        <xref ref-type="bibr" rid="ref8">8</xref>
        )
(
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
(
        <xref ref-type="bibr" rid="ref10">10</xref>
        )
(
        <xref ref-type="bibr" rid="ref11">11</xref>
        )
(
        <xref ref-type="bibr" rid="ref12">12</xref>
        )
(
        <xref ref-type="bibr" rid="ref13">13</xref>
        )
(
        <xref ref-type="bibr" rid="ref14">14</xref>
        )
equality above would go to 0 for  → +∞. As a consequence, whatever the value of  ≥
for some  &gt; 0. This proves  ≥ 0, otherwise since  () = o() the right hand side of the
0 is,
 () cannot tend to +∞ for  → +∞, otherwise the right hand side of the previous equality
would not tend to 1. This implies lim→+∞
integrable at +∞, that is ∫︀0+∞ () ∈ R, which yields the relation
      </p>
      <p>
        () = − for some  &gt; 0, and hence () is
() = o(− 1)
for  → +∞
Moreover, setting the constant  ∈ (
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ) by
we can write the identity (
        <xref ref-type="bibr" rid="ref8">8</xref>
        ) in the form
 := −  = lim
      </p>
      <p>
        −  ()
→+∞
() =   ( +  ())
for some positive function  () such that lim→+∞  () = 0+. Thus, relation (
        <xref ref-type="bibr" rid="ref9">9</xref>
        ) becomes
1 =  [︀ (− 1) + o(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )]︀
Note that this does not necessarily imply  = 0 because − 1 could be a root of  and, in that
case, the equality above would prove  &gt; 0.
from equality (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ), by relations (
        <xref ref-type="bibr" rid="ref12">12</xref>
        ) and (
        <xref ref-type="bibr" rid="ref10">10</xref>
        ), letting  →  − we get
      </p>
      <p>
        However, these equalities allow us to evaluate the limit of () for  →  − . Recall that
 () =  − () and, by property c of Section 4,  =  ( ) and lim→ −   = +∞. Thus,
() = − log ( ) + log  +   = − log(    ( +  ( ))) + log  +  ( )  =
= − log  − log (︀ 1 + − 1 ( ) − ( )  = − log  + o(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
      </p>
      <p>︀)
As a consequence lim→ − () is always finite. By applying Theorem 3 it is easy to verify an
analogous property for  . Therefore we have proved the following result, which extends to the
cases   = 0 and   = 0 the properties presented in Theorem 2.</p>
      <p>Theorem 4. Under the hypotheses of Theorem 1 both limits of () for  →  + and for  →  −
are finite.</p>
      <p>The previous result is not taken for granted since, from Theorem 2, in case   = 0 one might
expect that the limit of () at  − is +∞, while we have just proved it is finite. The same
holds for the limit at  + in case   = 0.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Graphs, matrices and characteristic polynomials</title>
      <p>
        In order to continue the analysis of the extremes  and  of the domain of (), we present some
properties of the coeficients ℎ introduced in (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ). We first recall the traditional correspondence
between non-negative matrices and weighted graphs.
      </p>
      <p>For every matrix  ∈ R+× , let ( ) be the weighted oriented graph with set of nodes
 = {1, 2, . . . , }, set of edges  = {(, ) ∈  ×  |  &gt; 0} and weight  for every
(, ) ∈ . Further, for any cycle  in ( ), the weight of  is defined as the product of the
weights of its edges and is denoted by (), while the length of  is just the number of its
edges. A cycle is said to be simple if it does not cross any node twice. We denote by  the
family of all simple cycles of length  in ( ). Note that det( −  ) =  if and only if
( ) has no cycles.</p>
      <p>A further key property is that the determinant of  is a sum of products (with sign) of
weights of simple cycles in ( ). More precisely, let us denote by ♯ the cardinality of a set
 ⊆  . For every ℎ ∈ {1, 2, . . . , }, define ℎ := { ⊆  : ♯ = ℎ}. Moreover, for every
 ∈ ℎ, set the submatrix  := [ ],∈ and denote by  the family of all permutations
of . Note that any cyclic permutation of a subset  ⊆  can be interpreted as a simple cycle
that crosses every node in  once. In general, any arbitrary permutation  of a subset  ⊆ 
can be represented by a family  ( ) of disjoint simple cycles over , where every vertex in
 just belongs to one cycle of  ( ). Also observe that the sign of a permutation  turns out
to be sgn( ) = (− 1), where  is the number of (simple) cycles of even length in  ( ). Thus,
for every  ∈ ℎ, if  ∈  is a cyclic permutation then sgn( ) = (− 1)ℎ− 1. Moreover, for
every permutation  ∈ , the value ∏︀∈  () is diferent from 0 if and only if all cycles in
 ( ) are subgraphs of ( ) and, in this case, ∏︀∈  () = ∏︀∈( ) (). Thus, for every
ℎ ∈ {1, 2, . . . , } and  ∈ ℎ, we may write
det() = ∑︁ sgn( ) ∏︁  () = ∑︁ sgn( )
 ∈ ∈  ∈</p>
      <p>∏︁
∈( )
()
Then, from the same definition of determinant, one can deduce the following property:
Proposition 1. Given a matrix  ∈ R+×  having a non-null eigenvalue, define the coeficients
1, 2, . . . ,  by the equality
Then, for every ℎ ∈ {1, 2, . . . , }, we have
det( −  ) =  −</p>
      <p>∑︁ ℎ− ℎ
ℎ=1
ℎ = (− 1)ℎ− 1 ∑︁ det()
Moreover, setting ℎ˘ := min{ℎ ∈ {1, 2, . . . , } : ℎ ̸= 0}, it turns out that ℎ˘ is the smallest length
of a cycle in ( ), ℎ˘ &gt; 0 and ℎ˘ = ∑︀∈ℎ˘ ().</p>
      <p>Note in particular that 1 = tr( ), i.e. the trace of  , and  = (− 1)− 1 det( ).</p>
      <p>The previous correspondence between matrices and graphs can be extended to pairs of
non-negative matrices. Given two arbitrary matrices ,  ∈ R+× , let (, ) be the labelled
oriented graph having set of vertices  = {1, 2, . . . , } and, for every pair ,  ∈  , an edge
from  to  of weight  , labelled by , whenever  &gt; 0, and an edge from  to  of weight  ,
labelled by , whenever  &gt; 0. Any path (or cycle) in (, ) consists of consecutive edges,
each of them labelled by either  or . The weight of a cycle in (, ) is the product of the
weights of its edges.</p>
      <p>By applying Proposition 1 to the matrix  + , for an arbitrary variable , we obtain
det( −  − ) =  −</p>
      <p>
        ∑︁(− 1)ℎ− 1 ∑︁ det( + ) − ℎ
ℎ=1
∈ℎ
(
        <xref ref-type="bibr" rid="ref17">17</xref>
        )
Moreover, for every  ∈ ℎ, setting  () := { ⊆  : ♯ = } for any  = 0, 1, . . . , ℎ, by
relation (
        <xref ref-type="bibr" rid="ref15">15</xref>
        ) and the previous arguments we have
det( + ) =
=
∑︁ sgn( ) ∏︁( () +  ())
 ∈ ∈
      </p>
      <p>
        ℎ ⎛ ⎞
∑︁ sgn( ) ∑︁ ⎝ ∑︁ ∏︁  () ∏︁  ()⎠ 
 ∈ =0 ∈() ∈ ∈∖
∈ℎ  ∈
ℎ = (− 1)ℎ− 1 ∑︁ ∑︁ sgn( )
Note that, for  = 0, the sum included in round brackets of the last expression reduces to
∏︀∈  (), while for  = ℎ it becomes ∏︀∈  (). Thus, from equalities (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) and (
        <xref ref-type="bibr" rid="ref17">17</xref>
        ), we get
∑︁
      </p>
      <p>
        (
        <xref ref-type="bibr" rid="ref18">18</xref>
        )
∏︁  () ∏︁  ()
∈() ∈ ∈∖
      </p>
      <p>For our purposes it is relevant here to show that ℎ &gt; 0 for certain pairs of indices (ℎ, ) ∈ ℒ
that have maximum or minimum ratio /ℎ. To prove a property of this kind we introduce a
(possibly) diferent partition of the coeficients set ℒ, i.e. let us define
ℛ :=
ℒ :=
 :=
{ ∈ Q : ∃(ℎ, ) ∈ ℒ such that  = /ℎ} ,
{(ℎ, ) ∈ ℒ : /ℎ = } , for every  ∈ ℛ ,
max{ ∈ ℛ} ,  := min{ ∈ ℛ} .</p>
      <p>Observe that, if  +  has a non-null eigenvalue then ℒ is not empty, 0 ≤  ≤ 1 for every
 ∈ ℛ, the family of sets {ℒ :  ∈ ℛ} forms a partition of ℒ, and also ℒ and ℒ are not empty.
As in the previous sections, we denote by   and   the largest real non-negative eigenvalue
of  and , respectively. Then, we can prove the following property.</p>
      <p>
        Proposition 2. Given two matrices ,  ∈ R+×  such that  +  has a non-null eigenvalue,
assume   = 0 and let (ℎ¯, ¯) be the element in ℒ with smallest value ℎ¯. Then  &lt; 1 and ℎ¯¯ &gt; 0.
Proof. First observe that, since   = 0, by relation (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) ℎℎ = 0 for all ℎ ∈ {1, . . . , } and hence
 &lt; 1. The positive sign of ℎ¯¯ follows from an analysis of identity (
        <xref ref-type="bibr" rid="ref18">18</xref>
        ). Note that, just by (
        <xref ref-type="bibr" rid="ref18">18</xref>
        ),
the value of each non-null coeficient
      </p>
      <p>ℎ is given by the weights of permutations of sets of
ℎ nodes whose cycles in (, ) have  many edges labelled by  and ℎ −  edges labelled
by . Since  is the maximum value in ℛ</p>
      <p>
        , all (possible) simple cycles in (, ) of length
sgn( ) = (− 1)ℎ¯− 1, which implies ℎ¯¯ &gt; 0 by the same identity (
        <xref ref-type="bibr" rid="ref18">18</xref>
        ).
ℎ &lt; ℎ¯ have a number of occurrences of  striclty smaller than ¯: hence they cannot contribute
to determine the value ℎ¯¯ . As a consequence, the only permutations  that contribute to
ℎ¯¯ are cyclic permutations of ℎ¯ nodes whose corresponding cycle in (, ) has exactly ¯
many edges labelled by  (and the others by ). Thus, the sign of these permutations always is
□
      </p>
      <p>An analogous symmetric reasoning (exchanging  and ,  and ) allows us to state a similar
result for ℒ. Note that, also in this case, if (ℎ˘, ˘) is the element of ℒ with smallest value ℎ˘
then all permutations that contribute to ℎ˘˘ are cyclic, and hence reasoning as above ℎ˘˘ &gt; 0.
Proposition 3. Given two matrices ,  ∈ R+×  such that  +  has a non-null eigenvalue,
assume   = 0 and let (ℎ˘, ˘) be the element in ℒ with smallest value ℎ˘. Then  &gt; 0 and ℎ˘˘ &gt; 0.</p>
    </sec>
    <sec id="sec-8">
      <title>8. On the endpoints of the domain of ()</title>
      <p>The results of Section 6 are obtained under the assumptions of Theorem 1, i.e.  +  primitive
and both  and  non-null. Now we introduce further hypotheses in our analysis. Our goal is
to prove that, under a mild condition, the endpoints of the domain of () are of the form /ℎ
for some integers , ℎ ∈ {0, 1, . . . , } such that  ≤
ℎ (ℎ ̸= 0) and, under the same hypothesis,
we determine a precise value for the limits of () at these extremes when   = 0 or   = 0.
The proofs are based on the properties of characteristic polynomials presented in Section 7, and
here we use the notions introduced therein.
defined by ℒ = {(ℎ¯, ¯)} for a given (ℎ¯, ¯) ∈ ℒ. Then  =  &lt; 1,  ℎ¯¯ &gt; 0 and
Theorem 5. Under the hypotheses of Theorem 1, let   = 0 and assume that ℒ is a singleton
→ −
lim () = log √ℎ¯ ℎ¯¯

from  and every (ℎ, ) ∈ ℒ, one has  − ℎ &lt; 0. Now, let us define the function
Proof. First note that, by Proposition 2,  &lt; 1 and  ℎ¯¯ &gt; 0. Moreover, for every  ∈ ℛ diferent
 (, ) := 1 − ℎ¯¯ 
¯ − ℎ¯
−</p>
      <p>
        ∑︁
(ℎ,)∈ℒ∖{(ℎ¯,¯)}
ℎ 
 − ℎ
Under our hypotheses, equation (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ) reduces to  (, ) = 0. Thus, for any constant  &gt;
0 and
for  → +∞, the value  (,  ) satisfies the relation
 (,  ) = 1 − ℎ¯¯  − ℎ¯
−
      </p>
      <p>
        ℎ  ℎ(− ℎ) = 1 − ℎ¯¯  − ℎ¯ + o(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
∑︁
(ℎ,)∈ℒ∖{(ℎ¯,¯)}
() = log
      </p>
      <p>
        + o(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
︃(
      </p>
      <p>
        √ℎ¯ ℎ¯¯
)︃
□
Then, for  large enough,  (,  ) is greater or smaller than 0 according to whether  is
greater or smaller than √ℎ¯ ℎ¯¯ . Since  = () is solution of equation  (, ) = 0, this implies
the following relation for every  &gt; 0 and every  large enough:
︁( √ℎ¯︀ ℎ¯¯ −   ≤ () ≤
︁)
︁( √ℎ¯︀ ℎ¯¯ +  
︁)
Since () has the form (
        <xref ref-type="bibr" rid="ref12">12</xref>
        ), the inequalities above prove  =  = ¯/ℎ¯. Clearly, ¯ &gt; 0 because
 = √ℎ¯ ℎ¯¯ / . Replacing this value in (
        <xref ref-type="bibr" rid="ref14">14</xref>
        ) one gets
      </p>
      <p>
        At last, let us consider the behaviour of () for  tending to  − . Since  =  we have
 = 0 and equality (
        <xref ref-type="bibr" rid="ref13">13</xref>
        ) in our hypotheses becomes 1 =  ℎ¯¯ ( )− ℎ¯ + o(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ), which implies
      </p>
      <p>Again, applying Theorem 3 to the previous result, a similar property can be proved for  .
defined by ℒ = {(ℎ˘, ˘)} for a given (ℎ˘, ˘) ∈ ℒ. Then  =  &gt; 0,  ℎ˘˘ &gt; 0 and
Theorem 6. Under the hypotheses of Theorem 1, let   = 0 and assume that ℒ is a singleton
→+
lim () = log</p>
      <p>√ℎ˘︀ ℎ˘˘
Clearly, under the hypotheses of the last two theorems, both  and  turn out to be of the
form /ℎ for some (ℎ, ) ∈ ℒ</p>
      <p>. Moreover, it is easy to verify that if the size  of the linear
Theorems 6 and 5 apply in case   = 0 and   = 0, respectively.
representation of the rational model belongs to {2, 3} then all sets ℒ are singleton, and hence
Example 1. Consider the linear representation defined by the finite automaton of Figure 1,
where all transitions have weight 1. In this case 
= 2, 
= 2/3,   = 1 while   = 0,
2
det( −
 (︀ 1 + √
 −
) = 3 −
2 −</p>
      <p>2 and () can be computed explicitly as () =
1 + 8− )︀ . Moreover, the non-null coeficients
ℎ are 11 = 1 and 21 = 2, and
graphic of which is plotted at the right hand side of the figure.
hence  = 1/2, which implies  = 1/2 by Theorem 6. By the same theorem we have
lim→1/2+ () = (1/2) log 2. Since   &gt; 0 the behaviour of () near  is established by
Theorem 2:  = 1 and lim→1− () = log 2. These evaluations are confirmed by analysis of
the rate function () = log 2 +  − log (), where  satisfies the relation ′() = (), the
similar way, it is easy to produce examples with 4 states where also ℒ is not singleton.</p>
      <p>Here is an example of size  = 4 where a set ℒ is not singleton, but ℒ is. However, in a
Example 2. Consider the linear representation defined by the automaton in the left hand side
of Figure 2. Clearly  +  is primitive and a direct computation shows that its Perron-Frobenius
eigenvalue is a constant  = 3.38.... Moreover, here we have   = 0,   = 2 and
det( −  − ) = 4 − 33 − 52 + 22 + 7 − 63 + 22
and lim→3/4− () = log(/</p>
      <p>√46).
showing the values of non-null coeficients</p>
      <p>
        ℎ ’s. Note that here ℒ1/2 = {(
        <xref ref-type="bibr" rid="ref1 ref2">2, 1</xref>
        ), (
        <xref ref-type="bibr" rid="ref2 ref4">4, 2</xref>
        )} is not
singleton, while  = 3/4, ℒ = {(
        <xref ref-type="bibr" rid="ref3 ref4">4, 3</xref>
        )} and ℎ¯¯ = 6. Then, by Theorems 6, we have  = 3/4
♢
♢
- 1




2
⊵
?
J
J^J
      </p>
      <p>3</p>
    </sec>
    <sec id="sec-9">
      <title>9. Future work</title>
      <p>A natural goal for possible subsequent investigations concerns the extension of the results
presented in Theorems 5 and 6 to all rational models (, , ,  ) having primitive matrix  + 
(with both  and  not null). In fact, we think that analogous results can be obtained also when
ℒ and ℒ are not singleton. In these cases, the limits of () at  and  should be related to
the roots of the polynomials () and () (defined as in Section 6) which can be studied by
using the properties of the primitive matrices.</p>
    </sec>
    <sec id="sec-10">
      <title>Acknowledgments</title>
      <p>This work has been supported by Università degli Studi di Milano, under project PSR 2023.
[21] H.-K. Hwang. Large deviations for combinatorial distributions. I: Central limit theorems.</p>
      <p>
        The Annal of Applied Probability, 6(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ):297–319, 1996.
[22] P. Jacquet and W. Szpankowski. Analytic Pattern Matching: From DNA to Twitter. Cambridge
      </p>
      <p>
        University Press, 2015.
[23] P. Nicodeme, B. Salvy, and P. Flajolet. Motif statistics. Theoret. Comput. Sci., 287(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ): 593–617,
2002.
[24] M. Régnier and W. Szpankowski. On pattern frequency occurrences in a Markovian
sequence. Algorithmica, 22 (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ):621–649, 1998.
[25] A. Salomaa and M. Soittola. Automata-Theoretic Aspects of Formal Power Series. Springer–
      </p>
      <p>Verlag, 1978.
[26] E. Seneta. Non-negative matrices and Markov chains. Springer–Verlag, New York Heidelberg</p>
      <p>Berlin, 1981.
[27] P. Turakainen. Generalized automata and stochastic languages. Proc. Amer. Math. Soc., 21:
303–309, 1969.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Berstel</surname>
          </string-name>
          and
          <string-name>
            <given-names>C.</given-names>
            <surname>Reutenauer</surname>
          </string-name>
          .
          <source>Rational series and their languages</source>
          , Springer-Verlag, New York - Heidelberg - Berlin,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bertoni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Chofrut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Goldwurm</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Lonati</surname>
          </string-name>
          .
          <article-title>On the number of occurrences of a symbol in words of regular languages</article-title>
          .
          <source>Theoret. Comput. Sci.</source>
          ,
          <volume>302</volume>
          :
          <fpage>431</fpage>
          -
          <lpage>456</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bertoni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Chofrut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Goldwurm</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.</given-names>
            <surname>Lonati</surname>
          </string-name>
          .
          <article-title>Local limit properties for pattern statistics and rational models</article-title>
          .
          <source>Theory Comput. Systems</source>
          ,
          <volume>39</volume>
          :
          <fpage>209</fpage>
          -
          <lpage>235</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bertoni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Massazza</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Radicioni</surname>
          </string-name>
          .
          <article-title>Random generation of words in regular languages with fixed occurrences of symbols</article-title>
          .
          <source>Proc. WORDS'03</source>
          ,
          <string-name>
            <given-names>Fourth</given-names>
            <surname>Intern</surname>
          </string-name>
          .
          <source>Conf. on Combinatorics of Words</source>
          ,
          <source>Turku (Finland)</source>
          ,
          <fpage>332</fpage>
          -
          <lpage>343</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Bourdon</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Régnier</surname>
          </string-name>
          .
          <article-title>Large deviation properties for patterns</article-title>
          .
          <source>J. of Discrete Algorithms</source>
          ,
          <volume>24</volume>
          :
          <fpage>2</fpage>
          -
          <lpage>11</lpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Broda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Machiavelo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Moreira</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Reis</surname>
          </string-name>
          .
          <article-title>A hitchhiker's guide to descriptional complexity through analytic combinatorics</article-title>
          .
          <source>Theoret. Comput. Sci.</source>
          ,
          <volume>528</volume>
          :
          <fpage>85</fpage>
          -
          <lpage>100</lpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>N.</given-names>
            <surname>Broutin</surname>
          </string-name>
          and
          <string-name>
            <given-names>L.</given-names>
            <surname>Devroye</surname>
          </string-name>
          .
          <article-title>Large deviations for the weighted heigth of an extended class of trees</article-title>
          .
          <source>Algorithmica</source>
          ,
          <volume>46</volume>
          :
          <fpage>271</fpage>
          -
          <lpage>297</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>C.</given-names>
            <surname>Chofrut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Goldwurm</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.</given-names>
            <surname>Lonati</surname>
          </string-name>
          .
          <article-title>On the maximum coeficients of rational formal series in commuting variables</article-title>
          .
          <source>Proc. 8th DLT Conference, Lecture Notes in Computer Science</source>
          vol.
          <volume>3340</volume>
          , pp.
          <fpage>114</fpage>
          -
          <lpage>126</lpage>
          , Springer,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>D. de Falco</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Goldwurm</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Lonati</surname>
          </string-name>
          .
          <article-title>Frequency of symbol occurrences in bicomponent stochastic models</article-title>
          .
          <source>Theoret. Comput. Sci.</source>
          ,
          <volume>327</volume>
          (
          <issue>3</issue>
          ):
          <fpage>269</fpage>
          -
          <lpage>300</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Dembo</surname>
          </string-name>
          and
          <string-name>
            <given-names>O.</given-names>
            <surname>Zeitouni</surname>
          </string-name>
          .
          <article-title>Large Deviation Techinques and Applications. Corrected reprint of the second (1998) edition</article-title>
          . Springer-Verlag,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>F. den Hollander. Large</given-names>
            <surname>Deviations</surname>
          </string-name>
          .
          <source>American Mathematical Society</source>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Denise</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Régnier</surname>
          </string-name>
          .
          <article-title>Rare events and conditional events on random strings</article-title>
          .
          <source>Discrete Math. Theor. Comput. Sci.</source>
          ,
          <volume>6</volume>
          :
          <fpage>191</fpage>
          -
          <lpage>214</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Denise</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Roques</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Termier</surname>
          </string-name>
          .
          <article-title>Random generation of words of context-free languages according to the frequency of letters</article-title>
          . In D. Gardy,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Mokkadem (eds),
          <source>Mathematics and computer Science</source>
          , Trends in Mathematics,
          <volume>113</volume>
          -
          <fpage>125</fpage>
          , Birkäuser,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>L.</given-names>
            <surname>Devroye</surname>
          </string-name>
          .
          <article-title>Universal limit laws for depths in random trees</article-title>
          .
          <source>SIAM Journal on Computing</source>
          ,
          <volume>28</volume>
          :
          <fpage>409</fpage>
          -
          <lpage>432</lpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>P.</given-names>
            <surname>Flajolet</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Sedgewick</surname>
          </string-name>
          . Analytic Combinatorics. Cambridge Univ. Press,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>P.</given-names>
            <surname>Flajolet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Szpankowski</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Vallée</surname>
          </string-name>
          .
          <article-title>Hidden word statistics</article-title>
          .
          <source>Journal of the ACM</source>
          ,
          <volume>53</volume>
          :
          <fpage>147</fpage>
          -
          <lpage>183</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>M.</given-names>
            <surname>Goldwurm</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Vignati</surname>
          </string-name>
          .
          <article-title>Local limit laws for symbol statistics in bicomponent rational models</article-title>
          .
          <source>Theoret. Comput. Sci.</source>
          ,
          <volume>970</volume>
          :
          <fpage>114051</fpage>
          ,
          <year>2023</year>
          , https://doi.org/10.1016/j.tcs.
          <year>2023</year>
          .
          <volume>114051</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M.</given-names>
            <surname>Goldwurm</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Radicioni</surname>
          </string-name>
          .
          <article-title>Probabilistic models for pattern statistics</article-title>
          .
          <source>RAIRO Theoretical Informatics and Applications</source>
          ,
          <volume>40</volume>
          :
          <fpage>207</fpage>
          -
          <lpage>225</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>M.</given-names>
            <surname>Goldwurm</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Vignati</surname>
          </string-name>
          .
          <article-title>Large deviation properties for pattern statistics in primitive rational models</article-title>
          .
          <source>Proc. 24th ICTCS, CEUR-WS.ORG</source>
          , vol.
          <volume>3587</volume>
          , pp.
          <fpage>192</fpage>
          -
          <lpage>205</lpage>
          ,
          <year>2023</year>
          (available at https://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>3587</volume>
          /
          <year>1908</year>
          .pdf).
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>P.</given-names>
            <surname>Grabner</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Rigo</surname>
          </string-name>
          .
          <article-title>Distribution of additive functions with respect to numeration systems on regular languages</article-title>
          .
          <source>Theory Comput. Systems</source>
          ,
          <volume>40</volume>
          :
          <fpage>205</fpage>
          -
          <lpage>223</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>