Next Article in Journal
Quantum Cosmology in Krylov Space: Complexity and Entropy
Previous Article in Journal
A Novel PQC-Based Image Encryption Scheme Using Seismic Wave Permutation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Topological Complexity of the Length-Constrained Systems of Finite Symbols

School of Mathematics, Jilin University, Changchun 130012, China
*
Author to whom correspondence should be addressed.
Entropy 2026, 28(7), 801; https://doi.org/10.3390/e28070801
Submission received: 15 June 2026 / Revised: 8 July 2026 / Accepted: 10 July 2026 / Published: 14 July 2026
(This article belongs to the Section Complexity)

Abstract

In this paper, we consider a class of constrained systems named n-tuple upper bound ( m 1 , , m n ) -constrained systems (n-TUB systems briefly) for 2 n < , which are subshifts of finite type. We determinate the topological entropies (Shannon capacities) C ( m 1 , , m n ) of all n-TUB systems and consequently order all n-TUB systems according to the size of the topological entropies. An algorithm is also presented to compute the transition matrix and topological entropy for n-TUB systems.

1. Introduction

Driven by the needs of the data storage industry, innovations in practical code design have evolved alongside a rigorous mathematical framework for constrained systems. Among these, run-length-limited (RLL) constraints play a key role and are widely employed in magnetic and optical recording systems.
Given any two non-negative integers d and k with d < k , a binary sequence is said to be ( d , k ) -constrained if every run of zeros has length at most k and any two successive ones are separated by a run of zeros of length at least d. A  ( d , k ) -constrained system (also called ( d , k ) -constrained code) is defined to be the set of all finite-length ( d , k ) -constrained binary sequences. The above definition can be extended to the case k = by not imposing an upper bound on the lengths of zero-runs.
The history of constrained coding dates back to 1948, when Shannon [1] represented a constrained sequence via a finite state transition diagram (FSTD) and derived the capacity under a constraint. run-length-limited (RLL) codes were introduced by Tang and Bahl [2] in 1970 to support the evolution of magnetic recording at that time. As it is well known, the Shannon capacity plays a major role in the research of ( d , k ) -RLL systems [3]; in fact, the Shannon capacity is the topological entropy of shift on a ( d , k ) -RLL system. Shannon capacity and topological entropy are usually used to characterize the topological complexity of systems. Following from [1], the Shannon capacity C of a discrete channel is given by
C = lim T log N ( T ) T ,
where N ( T ) is the number of allowed signals of duration T. In the language of symbolic dynamical systems, N ( T ) is just the number of allowed T-length codes. R. Adler, A. Konheim and M. McAndrew [4] introduced the concept of topological entropy via open covers in 1965. Later, R. Bowen [5] gave the definition of metric entropy, which coincides with the definition of topological entropy on compact metric spaces. Furthermore, the definition of entropy in symbolic dynamical systems is mathematically identical to that of Shannon entropy (see Definition 4.1.1 in [6]).
Constrained systems, or constrained codes, are widely applied and have also advanced considerably in theory. They have been extensively employed in one-dimensional ( 1 D ) magnetic recording devices, including both early peak-detection-based devices and modern sequence-detection-based devices [7,8]. S. Zheng, Y. Liu, and P. Siegel in [9] also found that the constrained codes can be combined with robust signal detection through machine learning frameworks. Driven by the increasing demand for high-density storage in smaller size and with recent developments in page-oriented storage systems, multidimensional constraints are also concerned. Numerous studies have focused on magnetic recording (e.g., [10,11]). Recently, some authors have considered the theory of RLL systems such as the convergence to the capacity as well as the lower and upper bounds on the capacity [12,13,14].
Y. Ma and B. Hou [15] considered a special kind of constrained systems named “double upper bound ( p , q ) -constrained systems”, which are similar to but different from run-length-limited constrained systems. They determinated the topological entropy (Shannon capacity) C ( p , q ) of all ( p , q ) -DUB systems and consequently ordered all ( p , q ) -DUB systems according to the size of topological entropy. The  ( , ) -DUB system is the full two-shift, a bilateral ( p , ) -DUB system is a ( 0 , p ) -RLL system for every positive integer p, a bilateral ( 1 , q ) -DUB system is a ( 1 , q ) -RLL system for every positive integer q, and other ( p , q ) -DUB systems are not RLL systems.
In this article, we consider a more general case, that is, the “n-tuple upper bound ( m 1 , , m n ) -constrained systems” for n 2 , or briefly n-TUB systems. An n-TUB system is the set of all n-tuple upper bound ( p , q ) -constrained bilateral or unilateral sequences and the shift on it. Given n positive integers (may be ∞) m 1 , , m n , we say that a bilateral or unilateral { 1 , , n } -sequence is n-tuple upper bound ( m 1 , , m n ) -constrained if the run length of k is no more than m k for k = 1 , , n . In particular, the  ( , , ) -TUB system of n symbols is the full n-shift.
Let S ( m 1 , , m n ) be a bilateral or unilateral n-TUB system, 1 m 1 m n . Denote by C ( m 1 , , m n ) the topological entropy or Shannon capacity of S ( m 1 , , m n ) . Let A p be the number of p-length codes in S ( m 1 , , m n ) . Then,
C ( m 1 , , m n ) = lim p 1 p ln A p .
Our main results are as follows.
Main Theorem
  • For n-TUB system S ( , , ) and ( n + 1 ) -TUB system S ( 1 , 1 , 1 , 1 ) , we have
    C ( , , ) = C ( 1 , 1 , 1 , 1 ) = ln n .
  • For n 1 -TUB system S ( m 1 , , m n 1 ) and n 2 -TUB system S ( m 1 , , m n 2 ) , if  n 1 < n 2 , then
    C ( m 1 , , m n 1 ) C ( m 1 , , m n 2 ) ,
    where the equality only holds in case 1.
  • C ( m 1 , , n ) = C ( m 1 + 1 , , m 1 + 1 n + 1 ) .
  • For two n-TUB systems S ( m 1 , , m n ) and S ( m 1 , , m n ) , if  m j = m j for 1 j k and m k + 1 < m k + 1 , then
    C ( m 1 , , m n ) C ( m 1 , , m n ) ,
    where the equality only holds in case 3.
This Main Theorem extends the results in [15] from DUB systems to general n-TUB systems. As n grows, the algebraic derivations and analysis on the related equations required for the proof become substantially more complex than in the case of n = 2 . In addition, it is not easy to find the equality conditions for n-TUB systems from the identity C ( p , ) = C ( p + 1 , p + 1 ) in DUB systems. For example, the relationship between C ( m 1 , m 2 , , , n 1 ) and C ( m 1 , m 2 + 1 , m 1 + 1 n ) is far from obvious.
In the next section, we will give the proof of the Main Theorem which is divided into several propositions. More precisely, Item 1 is proved by Proposition 3; Item 2 is proved by Propositions 3 and 4; Item 3 is proved by Proposition 5; and Item 4 is proved by Propositions 5 and 6.

2. Proof of the Main Results

To prove the Main Theorem, let us do some preliminary work first.
For a bilateral or unilateral n-TUB system S ( m 1 , , m n ) , let Λ be the set of all M-length codes in S ( m 1 , , m n ) , where M = max { m k ; m k is finite } . Consider Λ as a finite symbol set, denoted by Λ = { β j } j J . We can define the transition matrix B = ( B i j ) i , j J as follows. For any two codes β i = z 1 z 2 z M and β j = w 1 w 2 w M in Λ , define B i j B ( β i , β j ) = 1 if z 2 z M = w 1 w M 1 and z 1 z 2 z M w M is an ( M + 1 ) -length code in S ( m 1 , , m n ) ; otherwise, define B i j B ( β i , β j ) = 0 . The transition matrix B completely describes whether β i and β j could be adjacent. Then, we obtain a subshift of finite type ( Σ B , σ ) with transition matrix B, where
Σ B = { ( x i ) Λ Z ( or Λ N ) ; B ( x i , x i + 1 ) = 1 for all i Z ( or N ) }
and σ is the shift on Σ B . As is well known in symbolic dynamic systems, ( Σ B , σ ) is topologically conjugate to the n-TUB systems ( S ( m 1 , , m n ) , σ ) . Furthermore, if  λ is the spectral radius of B, then
C ( m 1 , , m n ) = ln λ .
Remark 1. 
Let n > 2 ; define the map ϕ : { 1 , , n } { 1 , 2 } by ϕ ( 1 ) = 1 and ϕ ( k ) = 2 for any k = 2 , , n . Then ϕ induces a map h : S ( m 1 , , m n ) S ( m 1 , ) which puts each symbol k in { 1 , , n } to ϕ ( k ) . One can see h is a continuous surjective and h σ = σ h . Therefore, h is a topological semi-conjugate from ( S ( m 1 , , m n ) , σ ) to ( S ( m 1 , ) , σ ) . By [15], C ( m 1 , ) C ( m 1 , , m n ) .
By Remark 1, we have C ( m 1 , , m n ) > 0 except for C ( 1 , 1 ) = 0 .
To determinate the topological entropy of n-TUB systems, let us review some conclusions in Perron–Frobenius theory. We begin with the definition of a primitive matrix.
Definition 1 
(see [6]). Let A be a non-negative matrix. For any index i, the period of state i, denoted by per ( i ) , is defined as the greatest common divisor of those integers n 1 for which ( A n ) i i > 0 , i.e.,
per ( i ) : = gcd n 1 ; ( A n ) i i > 0 .
If per ( i ) = 1 for every index i, the matrix A is called an aperiodic matrix. If, for each ordered pair of indices ( i , j ) , there exists some integer n 1 such that ( A n ) i j > 0 , the matrix A is called an irreducible matrix. Furthermore, the matrix A is said to be primitive if A is irreducible and aperiodic.
The following characterization of primitive matrices is useful.
Lemma 1 
([16]). Let B 0 be a square matrix. Then B N > 0 for some positive integer N if and only if B is primitive.
Let A p be the number of p-length codes in S ( m 1 , , m n ) ; denote by a p k the number of p-length codes ending with k in S ( m 1 , , m n ) ; then A p = k = 1 n a p k .
Lemma 2 
([17]). Suppose that B is a primitive non-negative square matrix. Let λ be the spectral radius of B. Then
lim p B p λ p = r l ,
where r and l are the right and left eigenvectors for B normalized so that r l = 1 .
Proposition 1. 
The transition matrix B defined as above is primitive. Furthermore, the limit lim p a p k A p exists for 1 k n .
Proof. 
Since the square matrix B is a ( 0 , 1 ) -matrix, let N = M + 2 ; we will prove that B N > 0 . For any two M-length codes β i = ( z 1 , z 2 , , z M ) and β j = ( w 1 , w 2 , , w M ) , if  z M = y and w 1 = l where 1 y , l n , let 1 m n where m is equal to neither y nor l; then
C = ( z 1 , z 2 , , y , m , l , w 2 , , w M )
is an ( M + 2 ) -length code from β i to β j in Σ B and hence ( B N ) i j > 0 . Notice that A p + M is the sum of all elements in B p and a ( p + M ) k represents the sum of elements in some certain columns of B p ; then, by Lemma 2, the limits lim p a p k A p exist for 1 k n .    □
Denote lim p a p k A p = x k ; then k = 1 n x k = 1 . In addition, if  λ is the spectral radius of B, then
lim p A p + 1 A p = λ .
For 0 < m 1 m n < , we have, for each p N ,
a ( p + 1 ) k = j = 1 , j k n ( a p j + + a ( p m k + 1 ) j ) .
As p ,
λ m k x k = j = 1 , j k n q = 1 m k λ m k q x j .
By Remark 1, it is easy to see λ > 1 except for C ( 1 , 1 ) ; here we just consider the cases except for C ( 1 , 1 ) since we know C ( 1 , 1 ) = 0 . Therefore,
x k = λ m k 1 + λ m k 2 + + λ + 1 λ m k + λ m k 1 + λ m k 2 + + λ + 1 = λ m k 1 λ m k + 1 1 .
Since k = 1 n x k = 1 , we have
λ m 1 1 λ m 1 + 1 1 + + λ m n 1 λ m n + 1 1 = 1
If 0 < m 1 m 2 m n 1 < m n = , similarly we have
a ( p + 1 ) k = j = 1 , j k n 1 ( a p j + + a ( p m k + 1 ) j )
and
a ( p + 1 ) n = A p .
As p ,
λ m k x k = j = 1 , j k n 1 q = 1 m k λ m k q x j
and λ x n = 1 . Therefore,
λ m 1 1 λ m 1 + 1 1 + + λ m n 1 1 λ m n 1 + 1 1 + 1 λ = 1
In general, for  0 < m 1 < m t = = m n = , where 1 < t n 1 , λ satisfies the following equation:
λ m 1 1 λ m 1 + 1 1 + + λ m t 1 1 λ m t 1 + 1 1 + n t + 1 λ = 1 .
Proposition 2. 
For ( m 1 , , m n ) ( 1 , , 1 ) , ( , , ) , there exists one and only one root λ of the characteristic Equation (1) or (2) in the open interval ( n 1 , n ) and C ( m 1 , , m n ) = ln λ .
Proof. 
For k = 1 , , n ,
f k ( λ ) = λ m k 1 λ m k + 1 1
is a strictly decreasing function since f k ( λ ) < 0 for λ > 1 . Then
F ( λ ) = λ m 1 1 λ m 1 + 1 1 + + λ m n 1 λ m n + 1 1
is a strictly decreasing function in ( n 1 , n ) .
For a fixed λ 0 , let
g m k ( λ 0 ) = λ 0 m k 1 λ 0 m k + 1 1 , g ( λ 0 ) = 1 λ 0 ,
we have g m k + 1 ( λ 0 ) g m k ( λ 0 ) > 0 and g ( λ 0 ) g m k ( λ 0 ) > 0 (see [15], page 310). Then
F ( λ ) > n · g 1 ( λ ) = n ( λ 1 ) λ 2 1 = n λ + 1 and F ( n 1 ) > 1 .
Notice that n m k 1 n m k + 1 1 < 1 n holds for every 1 k n ; when n 2 , we have
F ( n ) = n m 1 1 n m 1 + 1 1 + + n m n 1 n m n + 1 1 < n · 1 n = 1 .
Therefore, the characteristic Equation (1) has a unique root in the open interval ( n 1 , n ) . Similarly, the characteristic Equation (2) has a unique root in the open interval ( n 1 , n ) since λ m i 1 λ m i + 1 1 < 1 λ for 1 i < t . It follows from the discussions before this theorem that the unique root is the spectral radius of B corresponding to S ( m 1 , , m n ) and hence
C ( m 1 , , m n ) = ln λ .
   □
Now, let us consider the assertions of the Main Theorem.
Proposition 3. 
For n-TUB system S ( , , ) and ( n + 1 ) -TUB system S ( 1 , 1 , 1 , 1 ) we have
C ( , , ) = C ( 1 , 1 , 1 , 1 ) = ln n .
Proof. 
For the n-TUB system S ( , , ) , its characteristic equation is
n λ = 1 ,
then λ = n .
For the ( n + 1 ) -TUB system S ( 1 , 1 , 1 , 1 ) , its characteristic equation is
( n + 1 ) ( λ 1 ) λ 2 1 = 1 ,
then the spectral radius is λ = n . Therefore,
C ( , , ) = C ( 1 , 1 , 1 , 1 ) = ln n .
   □
Proposition 4. 
For any m 1 m 2 m n < m n , we have
C ( m 1 , , m n 1 , m n ) < C ( m 1 , , m n 1 , m n ) .
Proof. 
The proof is similar to Proposition 2.6 in [15]. Let λ 0 , λ 1 ( n 1 , n ) with C ( m 1 , , m n 1 , m n ) = ln λ 0 and C ( m 1 , , m n 1 , m n ) = ln λ 1 . Let g m n ( λ ) = λ m n 1 λ m n + 1 1 for finite positive integer m n and g ( λ ) = 1 λ . For  λ 0 ( n 1 , n ) , one can see
g m n + 1 ( λ 0 ) g m n ( λ 0 ) = λ 0 m n + 1 1 λ 0 m n + 2 1 λ 0 m n 1 λ 0 m n + 1 1 = λ 0 m n ( λ 0 1 ) 2 ( λ 0 m n + 2 1 ) ( λ 0 m n + 1 1 ) > 0 ,
and
g ( λ 0 ) g m n ( λ 0 ) = λ 0 1 λ 0 ( λ 0 m n + 1 1 ) > 0 .
Notice that λ 0 belongs to ( n 1 , n ) and satisfies Equation (1), i.e.,
λ 0 m 1 1 λ 0 m 1 + 1 1 + + λ 0 m n 1 λ 0 m n + 1 1 = 1 .
Then, if  m n < m n < ,
λ 0 m 1 1 λ 0 m 1 + 1 1 + + λ 0 m n 1 λ 0 m n + 1 1 > 1 and λ 1 m 1 1 λ 1 m 1 + 1 1 + + λ 1 m n 1 λ 1 m n + 1 1 = 1 ,
and, if m n = ,
λ 0 m 1 1 λ 0 m 1 + 1 1 + + λ 0 m n 1 1 λ 0 m n 1 + 1 1 + 1 λ 0 > 1 and λ 1 m 1 1 λ 1 m 1 + 1 1 + + λ 1 m n 1 1 λ 1 m n 1 + 1 1 + 1 λ 1 = 1 .
Since the functions λ m 1 1 λ m 1 + 1 1 + + λ m n 1 λ m n + 1 1 and λ m 1 1 λ m 1 + 1 1 + + λ m n 1 1 λ m n 1 + 1 1 + 1 λ are strictly decreasing on ( n 1 , n ) , we have λ 0 < λ 1 . In conclusion,
C ( m 1 , , m n 1 , m n ) < C ( m 1 , , m n 1 , m n ) .
   □
Proposition 5. 
For 1 m 1 , C ( m 1 , , n ) = C ( m 1 + 1 , , m 1 + 1 n + 1 ) .
Proof. 
Denote ln λ 1 = C ( m 1 , , n ) and ln λ 2 = C ( m 1 + 1 , , m 1 + 1 n + 1 ) . Then, λ 1 satisfies the following equation:
λ m 1 1 λ m 1 + 1 1 + n 1 λ = 1 ,
which is equivalent to
λ m 1 + 2 n λ m 1 + 1 + n 1 λ ( λ m 1 + 1 1 ) = 0 .
Similarly, λ 2 satisfies the following equation:
λ m 1 + 1 1 λ m 1 + 2 1 = 1 n ,
which is equivalent to
λ m 1 + 2 n λ m 1 + 1 + n 1 n ( λ m 1 + 2 1 ) = 0 .
Then, both λ 1 and λ 2 satisfy the equation λ m 1 + 2 n λ m 1 + 1 + n 1 = 0 . Notice that λ 1 , λ 2 ( n , n + 1 ) . It follows from Proposition 2 that λ 1 = λ 2 and hence
C ( m 1 , , n ) = C ( m 1 + 1 , , m 1 + 1 n + 1 ) .
   □
Proposition 6. 
For any integer n > 2 and 2 s n satisfying
m 1 m 2 m s < ,
we have
C ( m 1 , , m s 1 , m s , , n s ) < C ( m 1 , , m s 1 , m s + 1 , , m s + 1 n s + 1 ) .
Proof. 
For S ( m 1 , , m s 1 , m s , , ) , we have
M ( λ ) = λ m 1 1 λ m 1 + 1 1 + + λ m s 1 λ m s + 1 1 + n s λ = 1 ,
which is equivalent to  
k = 1 s 1 j k s 1 ( λ m j + 1 1 ) ( λ m k 1 ) i = 1 s 1 ( λ m i + 1 1 ) + λ m s 1 λ m s + 1 1 + n s λ = 1 ,
and, furthermore, is equivalent to
k = 1 s 1 j k s 1 ( λ m j + 1 1 ) ( λ m k 1 ) ( λ m s + 1 1 ) λ + i = 1 s 1 ( λ m i + 1 1 ) ( λ m s 1 ) λ + ( n s ) i = 1 s ( λ m i + 1 1 ) λ i = 1 s ( λ m i + 1 1 ) = 0 .
For S ( m 1 , , m s 1 , m s + 1 , , m s + 1 ) , we have
N ( λ ) = λ m 1 1 λ m 1 + 1 1 + + λ m s 1 1 λ m s 1 + 1 1 + ( n s + 1 ) ( λ m s + 1 1 ) λ m s + 2 1 = 1 ,
which is equivalent to
k = 1 s 1 j k s 1 ( λ m j + 1 1 ) ( λ m k 1 ) i = 1 s 1 ( λ m i + 1 1 ) + ( λ m s + 1 1 ) ( n s + 1 ) λ m s + 2 1 = 1
and, furthermore, is equivalent to
k = 1 s 1 j k s 1 ( λ m j + 1 1 ) ( λ m k 1 ) ( λ m s + 2 1 ) + i = 1 s 1 ( λ m i + 1 1 ) · ( λ m s + 1 1 ) ( n s + 1 ) i = 1 s 1 ( λ m i + 1 1 ) ( λ m s + 2 1 ) = 0 .
Let f ( λ ) and g ( λ ) denote the functions of the left side in Equations (5) and (6), respectively. Then,
h ( λ ) = f ( λ ) g ( λ ) = k = 1 s 1 j k s 1 ( λ m j + 1 1 ) ( λ m k 1 ) ( λ 1 ) .
Assume that λ 0 is the only solution of Equation (5) in the interval ( n 1 , n ) , that is, f ( λ 0 ) = 0 . Then
h ( λ 0 ) = g ( λ 0 ) = k = 1 s 1 j k s 1 ( λ 0 m j + 1 1 ) ( λ 0 m k 1 ) ( λ 0 1 ) > 0 .
Consequently, we have g ( λ 0 ) < 0 ; this implies N ( λ 0 ) > 1 . Therefore, the only root λ 1 of (5) is bigger than λ 0 .    □
Proof 
(Proof of the Main Theorem). By Propositions 2, 3, 4, 5 and 6, we complete the proof of the Main Theorem. Actually, we can order all the n-TUB systems by their topology entropy as follows:  
ln ( n 1 ) = C ( 1 , , 1 , 1 ) < C ( 1 , , 1 , 2 ) < < C ( 1 , , 1 , ) < C ( 1 , , 2 , 2 ) < < C ( 1 , , 1 , , ) < C ( 1 , , 1 , 2 , 2 , 2 ) < < C ( 1 , , , ) = C ( 2 , 2 , , 2 , 2 ) < < C ( , , ) = ln n .
   □

3. Experimental Validation

We present an algorithm to compute the transition matrices and eigenvalues of the n-TUB systems. Numerical examples are then provided to validate the derived theorems. Our code is available at https://github.com/HeJiaxing-hjx/N_tuple_UB.git (accessed on 30 December 2025).
To compute the topological entropy, we employ the power iteration method to find the spectral radius ρ ( B ) of the transition matrix. Since B is non-negative, the Perron–Frobenius theorem guarantees that the largest eigenvalue is real and positive, representing the exponential growth rate of the number of admissible words.
Let n denote the cardinality of the alphabet and L be the target sequence length. The total number of generated admissible sequences is denoted by N B = | P | . During the sequence generation stage, the backtracking tree contains O ( n L ) nodes, with each node requiring O ( L ) time, thus leading to a time complexity of O ( n L · L ) for this step. In the primitive matrix construction stage, initializing the primitive matrix B takes O ( N B 2 ) time, while the string matching and constraint verification within the loop require O ( L · n ) time. Consequently, the time complexity of this stage is O ( N B 2 · L · n ) . Let I denote the number of iterations required by the power iteration method. When using the power iteration method to calculate the maximum eigenvalue λ of the N B × N B matrix B, each dense matrix–vector multiplication requires O ( N B 2 ) time. Therefore, the total time required is O ( I · N B 2 ) . The overall time complexity is O ( n L · L + N B 2 · L · n + I · N B 2 ) .
By applying Algorithms 1 and 2, the topological entropy for the following example is computed as follows.
Example 1. 
C ( , , ) = C ( 1 , 1 , 1 , 1 ) 1.0986 , C ( 1 , 3 , 3 , 4 ) 1.3240 , C ( 2 , 2 , 2 , 3 ) 1.3437 , C ( 2 , 2 , 2 , ) 1.3474 , C ( 2 , 2 , 3 , 3 ) 1.3542 , C ( 2 , , , ) = C ( 3 , 3 , 3 , 3 ) 1.3741 .
Then we have
C ( , , ) = C ( 1 , 1 , 1 , 1 ) < C ( 1 , 3 , 3 , 4 ) < C ( 2 , 2 , 2 , 3 ) < C ( 2 , 2 , 2 , ) < C ( 2 , 2 , 3 , 3 ) < C ( 2 , , , ) = C ( 3 , 3 , 3 , 3 ) ,
which validates our Main Theorem.
In Example 1, the computation time for C ( , , ) with a length of 3 is 9 ms, whereas that for C ( , , , ) with a length of 4 is approximately 365 ms. It can be observed that, when the length of code equals the alphabet cardinality, the computation time increases significantly as the alphabet cardinality grows. Furthermore, the computation times for C ( , , ) are 13 ms at a length of 4 and 409 ms at a length of 5. This indicates that, given the same alphabet cardinality, a longer length of code leads to a longer computation time.
Algorithm 1: Generate Admissible Sequences
Entropy 28 00801 i001
Algorithm 2: Construction of the Transition Matrix B and Calculating Its Topological Entropy
Entropy 28 00801 i002

Author Contributions

Conceptualization, Q.W. and B.H.; methodology, C.Y. and J.H.; software, J.H.; writing—original draft preparation, Q.W. and C.Y.; writing—review and editing, J.H. and B.H.; supervision, B.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Our code is available at https://github.com/HeJiaxing-hjx/N_tuple_UB.git (accessed on 30 December 2025).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Shannon, C. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef]
  2. Tang, D.; Bahl, L. Block codes for a class of constrained noiseless channels. Inf. Control 1970, 17, 436–461. [Google Scholar] [CrossRef]
  3. Immink, K.; Siegel, P.; Wolf, J. Codes for digital recorders. IEEE Trans. Inf. Theory 1998, 44, 2260–2299. [Google Scholar] [CrossRef]
  4. Adler, R.; Konheim, A.; McAndrew, M. Topological entropy. Trans. Am. Math. Soc. 1965, 114, 309–319. [Google Scholar] [CrossRef]
  5. Bowen, R. Entropy for group endomorphisms and homogeneous spaces. Trans. Am. Math. Soc. 1971, 153, 401–414. [Google Scholar] [CrossRef]
  6. Douglas, L.; Brian, M. An Introduction to Symbolic Dynamics and Coding; Cambridge University Press: Cambridge, UK, 1995; pp. xvi+495. [Google Scholar]
  7. Hareedy, A.; Calderbank, R. LOCO codes: Lexicographically-ordered constrained codes. IEEE Trans. Inf. Theory 2019, 66, 3572–3589. [Google Scholar] [CrossRef]
  8. Vasic, B.; Kurtas, E. Coding and Signal Processing for Magnetic Recording Systems; CRC Press: Boca Raton, FL, USA, 2004. [Google Scholar]
  9. Zheng, S.; Liu, Y.; Siegel, P. PR-NN: RNN-based detection for coded partial-response channels. IEEE J. Sel. Areas Commun. 2020, 39, 1967–1982. [Google Scholar]
  10. Dabak, B.; Hareedy, A.; Calderbank, R. Non-binary constrained codes for two-dimensional magnetic recording. IEEE Trans. Magn. 2020, 56, 3100410. [Google Scholar] [CrossRef]
  11. Wood, R.; Williams, M.; Kavcic, A.; Miles, J. The feasibility of magnetic recording at 10 terabits per square inch on conventional media. IEEE Trans. Magn. 2009, 45, 917–923. [Google Scholar] [CrossRef]
  12. Sabato, G.; Molkaraie, M. Generalized belief propagation for the noiseless capacity and information rates of run-length limited constraints. IEEE Trans. Commun. 2012, 60, 669–675. [Google Scholar] [CrossRef][Green Version]
  13. Schwartz, M.; Vardy, A. New bounds on the capacity of multi-dimensional RLL-constrained systems. In Proceedings of the International Symposium on Applied Algebra, Algebraic Algorithms, and Error-Correcting Codes; Springer: Berlin/Heidelberg, Germany, 2006; pp. 225–234. [Google Scholar]
  14. Elishco, O.; Meyerovitch, T.; Schwartz, M. On independence and capacity of multidimensional semiconstrained systems. IEEE Trans. Inf. Theory 2018, 64, 6461–6483. [Google Scholar] [CrossRef]
  15. Ma, Y.; Hou, B. Topological entropies of a class of constrained systems. Turk. J. Math. 2017, 41, 305–311. [Google Scholar] [CrossRef]
  16. Varga, R. Matrix Iterative Analysis, 2nd ed.; Springer Series in Computational Mathematics; Springer: Berlin, Germany, 2000; Volume 27, pp. x+358. [Google Scholar]
  17. Kitchens, B. Symbolic Dynamics: One-Sided, Two-Sided and Countable State Markov Shifts; Universitext; Springer: Berlin, Germany, 1998; pp. x+252. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, Q.; Yao, C.; He, J.; Hou, B. Topological Complexity of the Length-Constrained Systems of Finite Symbols. Entropy 2026, 28, 801. https://doi.org/10.3390/e28070801

AMA Style

Wang Q, Yao C, He J, Hou B. Topological Complexity of the Length-Constrained Systems of Finite Symbols. Entropy. 2026; 28(7):801. https://doi.org/10.3390/e28070801

Chicago/Turabian Style

Wang, Qingsong, Cailing Yao, Jiaxing He, and Bingzhe Hou. 2026. "Topological Complexity of the Length-Constrained Systems of Finite Symbols" Entropy 28, no. 7: 801. https://doi.org/10.3390/e28070801

APA Style

Wang, Q., Yao, C., He, J., & Hou, B. (2026). Topological Complexity of the Length-Constrained Systems of Finite Symbols. Entropy, 28(7), 801. https://doi.org/10.3390/e28070801

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop