Next Article in Journal
Local Sensitivity of Failure Probability through Polynomial Regression and Importance Sampling
Next Article in Special Issue
From Quantum Automorphism of (Directed) Graphs to the Associated Multiplier Hopf Algebras
Previous Article in Journal
VaR Estimation with Quantum Computing Noise Correction Using Neural Networks
Previous Article in Special Issue
Graded Rings Associated with Factorizable Finite Groups
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Kernel Words and Gap Sequences of the Tribonacci Word on an Infinite Alphabet

School of Mathematics and Physics, Wuhan Institute of Technology, Wuhan 430205, China
Mathematics 2023, 11(20), 4356; https://doi.org/10.3390/math11204356
Submission received: 24 September 2023 / Revised: 12 October 2023 / Accepted: 19 October 2023 / Published: 20 October 2023
(This article belongs to the Special Issue Combinatorial Algebra, Computation, and Logic, 2nd Edition)

Abstract

:
In this paper, we propose a nuanced variation in the kernel words of the tribonacci sequence. Our primary objective is to investigate the intrinsic properties of the kernel words and associated gap sequences when the tribonacci sequence is expanded over an infinite alphabet.

1. Introduction

Let t = { t n } n 0 be the tribonacci sequence that is the fixed point of the Rauzy substitution σ defined by 0 01 , 1 02 , 2 0 . The tribonacci sequence, as a natural progression from the well-known Fibonacci sequence, has garnered considerable scholarly attention as evident from works [1,2,3,4,5]. Rauzy’s contributions [2] to the domain encompass the dynamical and geometrical nuances of the tribonacci sequence. Further enriching this area, Tan and Wen [6] provided insights into the singular factorization and the Lyndon factorization, while concurrently exploring factor powers and calculating the free index. Pioneering works by Huang and Wen [7,8] delved into understanding the kernel words, gap sequences, and the numbers of repeated palindromes in the tribonacci sequence.
It is recognized that the tribonacci sequence augments the classical Fibonacci sequence from its binary form to a three-letter configuration. Beyond this, extensions involving k letters gave birth to the k-bonacci sequence, a topic that has witnessed rigorous explorations [9,10,11]. Notably, recent contributions by Ghareghani, Mohammad-Noori, and Sharifani [12,13] presented a broadened scope by generalizing the k-bonacci sequence to an infinite alphabet. Their studies shed light on intriguing aspects such as palindrome complexity, square factors, and critical factors.
In this paper, we are interested in the kernel words when k = 3 . More precisely, we will consider this problem for a certain infinite tribonacci word defined on the infinite alphabet { 0 , 1 , 2 , 3 , } . This sequence can be comprehended as the fixed point of the morphism ϕ of 0, characterized by: ϕ ( 3 i ) = ( 3 i ) ( 3 i + 1 ) , ϕ ( 3 i + 1 ) = ( 3 i ) ( 3 i + 2 ) , ϕ ( 3 i + 2 ) = ( 3 i + 3 ) , for all i 0 , i.e., T = ϕ ( 0 ) = 0 1 0 2 0 1 3 0 1 0 2 3 4 . We will show more details in Section 1.2.
The concept of kernel words within the tribonacci sequence, introduced by Huang and Wen [8], emerged as a potent tool for scrutinizing its gap sequence. Building on similar lines, Ammar and Sellami [14] probed the kernel words inherent to the k-bonacci sequence. In subsequent sections, we shall delineate our findings on the kernel words and gap sequences particular to the infinite tribonacci sequence T .
First of all, we start by recalling the basic definitions and notations.

1.1. Basic Notations

Let A = { a 0 , a 1 , , a n , } be an (infinite) alphabet. A k denotes the set of all words of length k on A , and A * = k 0 A k is the set of all words of any length on A , where A 0 = { ϵ } . We denote by | w | the length of a finite word w A * . For any V , W A * , we write V W when the finite word V is a factor of the word W; that is, when there exist words U , U A * , such that W = U V U . We say that V is a prefix (resp. suffix) of a word W, and we write V W (resp. V W ) if there exists a word U A * , such that W = V U (resp. W = U V ).
Let u = u 0 u 1 u 2 u n be a finite word (or u = u 0 u 1 u 2 u n be a sequence). For any i j n , we define u [ i , j ] : = u i u i + 1 u j 1 u j , which means u [ i , j ] is the factor of u of length j i + 1 , starting from the i-th letter and ending at the j-th letter.
We denote by W 1 the inverse of W; that is, W 1 = w p 1 w 2 1 w 1 1 where W = w 1 w 2 w p . If V is a suffix of W, we can write W V 1 = U , with W = U V . This makes sense in A * , since the reduced word associated with W V 1 belongs to A * . Let ( u 0 u 1 u n 1 u n ) * = u 0 u 1 u n 1 , which deletes the last digit, and * ( u 0 u 1 u n 1 u n ) = u 1 u 2 u n , which deletes the first digit.
Next, we give the extension of the tribonacci sequence to an infinite alphabet, which could be found in the much more general case in [12,13].

1.2. The Tribonacci Sequence on an Infinite Alphabet

The tribonacci sequence t = { t n } n 0 is generated by the tribonacci morphism σ : 0 01 , 1 02 , 2 0 , i.e., t = σ ( 0 ) .
Consider the morphism ϕ (over N ) which is given by
ϕ : ( 3 i ) ( 3 i ) ( 3 i + 1 ) , ( 3 i + 1 ) ( 3 i ) ( 3 i + 2 ) and ( 3 i + 2 ) ( 3 i + 3 ) ,
for all i 0 . We know that ϕ ( 0 ) = 01 , ϕ 2 ( 0 ) = ϕ ( ϕ ( 0 ) ) = ϕ ( 01 ) = ϕ ( 0 ) ϕ ( 1 ) = 0102 , ϕ 3 ( 0 ) = ϕ ( ϕ 2 ( 0 ) ) = ϕ ( 0102 ) = ϕ ( 0 ) ϕ ( 1 ) ϕ ( 0 ) ϕ ( 2 ) = 0102013 , ⋯ Then, it is obvious that ϕ n ( 0 ) ϕ n + 1 ( 0 ) . So, there exists a fixed point of ϕ by iterating ϕ with letter 0. The infinite tribonacci sequence  T = { T i } i 0 is the fixed point of ϕ starting by 0. The first several terms of T and t are
T = 0 1 0 2 0 1 3 0 1 0 2 3 4 0 1 0 2 0 1 3 3 4 3 5 0 1 0 2 0 1 3 0 1 0 2 3 4 3 4 3 5 3 4 6 t = 0 1 0 2 0 1 0 0 1 0 2 0 1 0 1 0 2 0 1 0 0 1 0 2 0 1 0 2 0 1 0 0 1 0 2 0 1 0 1 0 2 0 1 0
It is easy to see that T t   ( mod 3 ) , since ϕ is reduced to σ while in modulo 3. In this sense, these two sequences are similar. Hence, the infinite tribonacci sequence T may inherit some combinatorial properties of the tribonacci sequence t , which were studied sufficiently in [12,13]. Let L n : = | ϕ n ( 0 ) | = | σ n ( 0 ) | , where L 0 = 1 , L 1 = 2 , and L 2 = 4 . It is easy to see the sequence { L n } n 0 is formed by the tribonacci numbers [15], except for the initial numbers. So, for all n 3 , we have
L n = L n 1 + L n 2 + L n 3 .
For convenience, we set L 1 = 1 .
Remark 1.
(1) It is easy to check that n ϕ n ( 0 ) for any n 0 .
(2) For any n 0 and i 0 , we have | ϕ n ( 3 i ) | = L n .
For application in Section 4, we need to introduce the following notation. We denote n : = | ϕ n ( 1 ) | , with 0 = 1 , 1 = 2 , 2 = 3 . It is easy to see that | ϕ n ( 3 i + 1 ) | = n , for any n 0 and i 0 . Next, we shall give the relationship between L n and n .
Proposition 1.
For any n 0 , we have
L n + 1 = L n + n ,
n + 2 = L n + 1 + L n .
Proof. 
Since ϕ n + 1 ( 0 ) = ϕ n ( 0 ) ϕ n ( 1 ) , L n + 1 = L n + n . Meanwhile, from ϕ n + 2 ( 1 ) = ϕ n + 1 ( 0 ) ϕ n + 1 ( 2 ) = ϕ n + 1 ( 0 ) ϕ n ( 3 ) , we have n + 2 = L n + 1 + L n .  □
Proposition 2.
For any n 3 , we have
n = n 1 + n 2 + n 3 ,
with 0 = 1 , 1 = 2 , and 3 = 3 .
Proof. 
From Equation (3) and Equation (2), we have
n = L n 1 + L n 2 = L n L n 3 = L n L n 1 + L n 1 L n 2 + L n 2 L n 3 = n 1 + n 2 + n 3 ,
Hence, Equation (4) holds.  □
Remark 2.
It is easy to see that the sequences { L n } n 0 and { n } n 0 share the same recurrence relation except for the initial values.
In this paper, we are going to focus on the Kernel words and the gap sequences of the infinite tribonacci sequence T and the related properties. So, we need the following notations.

1.3. Gaps and Gap Sequences

Let ω be a factor of the infinite tribonacci sequence T , and it occurs in the sequence T infinitely many times, which we arrange by the sequence { ω p } p 1 , where ω p denotes the p-th occurrence of ω .
Let the length of ω be n, and ω p = x i + 1 x i + n , ω p + 1 = x j + 1 x j + n . The gap between ω p and ω p + 1 , denoted by G p ( ω ) , is defined by
G p ( ω ) = ϵ , when i + n = j , ω p and ω p + 1 are adjacent , x i + n + 1 x j , when i + n < j , ω p and ω p + 1 are separated , ( x j + 1 x i + n ) 1 , when i + n > j , ω p and ω p + 1 are overlapped .
The sequence { G p ( ω ) } p 1 is called the gap sequence of the factor ω .
For instance, G 1 ( 3 ) = 0102 (separated), G 3 ( 3 ) = ϵ (adjacent), and G 2 ( 343 ) = 3 1 (overlapped). When ω p and ω p + 1 are overlapped, we take the inverse word of the overlapped part as the gap G p ( ω ) .
This paper is organized as follows. In Section 2, we give the kernel words of the infinite tribonacci sequence T and study the related properties. In Section 3, we show the expression and explore the properties of the gap sequence with respect to the kernel words. In Section 4, we give an application of the kernel words. In the last section, we present the conclusions.

2. Kernel Words of T

In this section, we extend the definition of kernel words to the infinite tribonacci sequence T in a natural manner and delve into their combinatorial characteristics.
For introducing the kernel words, we need the kernel number as follows.
Definition 1
(Kernel number) Huang and Wen [8]). (Let { k m } m 1 be the sequence of positive integers with k 1 = k 2 = k 3 = 1 , and for m 4 ,
k m = k m 1 + k m 2 + k m 3 1 .
The number k m is called the m-th kernel number.
We notice that the numbers k m are the same with the sequence A192804 in OEIS [16]. For convenience, we denote k 0 = 0 .
Remark 3.
For any m 4 , we have L m 3 > k m 1 .
Huang and Wen [8] gave the kernel words of the classical tribonacci sequence on the letters 0 , 1 , 2 . We extend the kernel words of the infinite tribonacci sequence to an infinite alphabet.
Definition 2
(Kernel word). Let { K m } m 1 be the sequence of factors with K 1 = 0 ,   K 2 = 1 ,   K 3 = 2 , and for m 4 ,
K m = ( m 1 ) ϕ m 3 ( 0 ) [ 1 , k m 1 ] .
We call K m the kernel word with order m.
Remark 4.
(1) Notice that ϕ m 3 ( 0 ) [ 1 , k m 1 ] ϕ m 2 ( 0 ) with length k m 1 , ( m 1 ) is the last digit of ϕ m 1 ( 0 ) , and
ϕ m ( 0 ) = ϕ m 1 ( 01 ) = ϕ m 1 ( 0 ) ϕ m 2 ( 02 ) = ϕ m 1 ( 0 ) ϕ m 2 ( 0 ) ϕ m 3 ( 3 ) .
So, K m = ( m 1 ) ϕ m 3 ( 0 ) [ 1 , k m 1 ] ϕ m 1 ( 0 ) ϕ m 2 ( 0 ) [ 1 , k m 1 ] ϕ m ( 0 ) T . That is, for any m N , the word K m is a factor of T .
(2) It is obvious that | K m | = k m .
(3) k m + 4 > L m > k m + 2 for m 1 .
Proposition 3.
For n 0 , L n + 1 = k n + 2 + k n + 3 .
Proof. 
When n = 0 , L 0 = 1 , k 2 = k 3 = 1 , so L 0 + 1 = k 2 + k 3 . Assuming that the result is true for all m n , then for m = n + 1 , by Equation (5), we have
L n + 1 + 1 = L n + L n 1 + L n 2 + 1 = ( k n + 2 + k n + 3 1 ) + ( k n + 1 + k n + 2 1 ) + ( k n + k n + 1 1 ) + 1 = ( k n + 3 + k n + 2 + k n + 1 1 ) + ( k n + 2 + k n + 1 + k n 1 ) = k n + 4 + k n + 3 .
Hence, the result holds.  □
Remark 5.
For n 1 ,
L n = k n + 4 k n + 1 .
Since k n + 4 k n + 1 = k n + 3 + k n + 2 + k n + 1 1 k n + 1 = k n + 3 + k n + 2 1 = L n .
Proposition 4.
For any n 1 ,
k n + 4 k n + 3 = L n 1 ;
k n + 4 = 2 k n + 3 k n .
Proof. 
Since k n + 4 = k n + 3 + k n + 2 + k n + 1 1 , by Proposition 3, we have
k n + 4 k n + 3 = k n + 2 + k n + 1 1 = L n 1 .
So, by Equation (7),
k n + 4 k n + 3 = L n 1 = k n + 3 k n ,
we have k n + 4 = 2 k n + 3 k n .  □
Proposition 5.
For any n m 1 , with n m   ( mod 3 ) , we have
K m K n .
Proof. 
We use induction on n to prove it. We know K 1 = 0 , K 4 = 30 , then the result is true for n = 4 . We assume that the result is true for all positive integers less than n. Then, for n = 3 i + 1 , we have
K 3 i + 1 = ( 3 i ) ϕ 3 i 2 ( 0 ) [ 1 , k 3 i + 1 1 ] = ( 3 i ) ϕ 3 i 3 ( 01 ) [ 1 , k 3 i + 1 1 ] = ( 3 i ) ϕ 3 i 3 ( 0 ) ϕ 3 i 3 ( 1 ) [ 1 , k 3 i + 1 1 L 3 i 3 ] = ( 3 i ) ϕ 3 i 3 ( 0 ) * ( 3 i 3 ) ϕ 3 i 3 ( 1 ) [ 1 , k 3 i + 1 L 3 i 3 1 ] ,
and by induction, K 3 ( i 1 ) + 1 = ( 3 i 3 ) ϕ 3 i 5 ( 0 ) [ 1 , k 3 i 2 1 ] .
By Equation (7), for n 1 , L n = k n + 4 k n + 1 . So,
ϕ 3 i 5 ( 0 ) [ 1 , k 3 i 2 1 ] = ϕ 3 i 3 ( 1 ) [ 1 , k 3 i + 1 L 3 i 3 1 ] .
Moreover, ϕ 3 i 3 ( 1 ) = ϕ 3 i 4 ( 02 ) = ϕ 3 i 4 ( 0 ) ϕ 3 i 4 ( 2 ) = ϕ 3 i 5 ( 0 ) ϕ 3 i 5 ( 1 ) ϕ 3 i 4 ( 2 ) . By Proposition 3, we have k 3 i 2 1 L 3 i 5 . So,
ϕ 3 i 3 ( 1 ) [ 1 , k 3 i + 1 L 3 i 3 1 ] = ϕ 3 i 5 ( 0 ) [ 1 , k 3 i 2 1 ] .
Hence, K 3 i 2 K 3 i + 1 . By the induction hypothesis, we know the result is true for n = 3 i + 1 . It is similar with the cases n = 3 i and n = 3 i + 2 .  □
Remark 6.
For any n 0 , we have 0 K 3 n + 1 , 1 K 3 n + 2 , and 2 K 3 n + 3 . Since K 0 = 0 , K 1 = 1 , and K 2 = 2 . It is easy to see the result is true from the above Proposition 5.
Theorem 1.
For m 4 , K m = ( m 1 ) ϕ m 4 ( 0 ) * K m 3 .
Proof. 
By the definition of K m , we have
K m = ( m 1 ) ϕ m 3 ( 0 ) [ 1 , k m 1 ] = ( m 1 ) ϕ m 4 ( 0 ) ϕ m 4 ( 1 ) [ 1 , k m 1 ] = ( m 1 ) ϕ m 4 ( 0 ) ϕ m 4 ( 1 ) [ 1 , k m L m 4 1 ] ( sin ce k m > L m 4 ) = ( m 1 ) ϕ m 4 ( 0 ) * ( m 4 ) ϕ m 5 ( 0 ) ϕ m 5 ( 2 ) [ 1 , k m L m 4 1 ] = ( m 1 ) ϕ m 4 ( 0 ) * ( m 4 ) ϕ m 5 ( 0 ) ϕ m 5 ( 2 ) [ 1 , k m 3 1 ] = ( m 1 ) ϕ m 4 ( 0 ) * ( m 4 ) ϕ m 5 ( 0 ) [ 1 , k m 3 1 ] ( sin ce L m 5 > k m 3 ) = ( m 1 ) ϕ m 4 ( 0 ) * ( m 4 ) ϕ m 6 ( 0 ) ϕ m 6 ( 1 ) [ 1 , k m 3 1 ] = ( m 1 ) ϕ m 4 ( 0 ) * ( m 4 ) ϕ m 6 ( 0 ) [ 1 , k m 3 1 ] ( sin ce L m 6 > k m 3 ) = ( m 1 ) ϕ m 4 ( 0 ) * K m 3 .

3. Gap Sequence with Respect to the Kernel Word K n

Let K n be a kernel word which is a factor of T by Remark 4. We can decompose T in the following way:
T = 0 ̲ 1 ̲ 0 ̲ 2 ̲ 01 ̲ 30 ̲ 1023 ̲ 401 ̲ 02013343 ̲ = K 1 G 1 K 2 G 2 K 3 G 3 K 4 G 4 K 5 G 5 K n G n ,
where G n is the gap sequence between K n and K n + 1 . The aim of this section is to give the expression and properties of the gap sequence { G n } n 1 .
It is easy to see G 1 = ϵ , G 2 = 0 , G 3 = 01 .
Lemma 1.
For any n 1 ,
ϕ n ( 0 ) = K 1 G 1 K 2 G 2 K n G n ( n ) ,
and
ϕ n ( 1 ) = * K n + 1 G n + 1 ( n + 1 ) .
Proof. 
It is easy to check that the results are true for n = 1 . Assuming that the results are true for all m n , then for m = n + 1 , we have
ϕ n + 1 ( 0 ) = ϕ n ( 01 ) = ϕ n ( 0 ) ϕ n ( 1 ) = K 1 G 1 K 2 G 2 K n G n ( n ) * K n + 1 G n + 1 ( n + 1 ) = K 1 G 1 K 2 G 2 K n G n ( n ) * K n + 1 G n + 1 ( n + 1 ) = K 1 G 1 K 2 G 2 K n G n K n + 1 G n + 1 ( n + 1 ) .
So the result is true for Equation (11). Hence,
ϕ n + 2 ( 0 ) = K 1 G 1 K 2 G 2 K n + 1 G n + 1 K n + 2 G n + 2 ( n + 2 ) = K 1 G 1 K 2 G 2 K n + 1 G n + 1 ( n + 1 ) * K n + 2 G n + 2 ( n + 2 ) .
Meanwhile, we know
ϕ n + 2 ( 0 ) = ϕ n + 1 ( 01 ) = ϕ n + 1 ( 0 ) ϕ n + 1 ( 1 ) = K 1 G 1 K 2 G 2 K n + 1 G n + 1 ( n + 1 ) ϕ n + 1 ( 1 ) .
Combining Equations (13) and (14), we have
ϕ n + 1 ( 1 ) = * K n + 2 G n + 2 ( n + 2 ) ,
which implies the result is true for Equation (12).  □
Proposition 6.
For any n 4 , K n = ( n 1 ) K 1 G 1 K 2 G 2 K n 4 G n 4 K n 3 .
Proof. 
By Theorem 1 and Lemma 1, we have
K n = ( n 1 ) ϕ n 4 ( 0 ) * K n 3 = ( n 1 ) K 1 G 1 K 2 G 2 K n 4 G n 4 ( n 4 ) * K n 3 = ( n 1 ) K 1 G 1 K 2 G 2 K n 4 G n 4 K n 3 .
From the above propositions, we shall give the expression of the gap sequence { G n } n 1 .
Theorem 2.
For any n 4 , G n = G n 3 K n 2 G n 2 ( n 2 ) ϕ n 3 ( 3 ) * .
Proof. 
According to the iteration of ϕ , by Lemma 1 and Proposition 6, we have
ϕ n ( 0 ) = ϕ n 1 ( 01 ) = ϕ n 1 ( 0 ) ϕ n 2 ( 02 ) = ϕ n 1 ( 0 ) ϕ n 2 ( 0 ) ϕ n 3 ( 3 ) = K 1 G 1 K n 1 G n 1 ( n 1 ) K 1 G 1 K n 3 G n 3 K n 2 G n 2 ( n 2 ) ϕ n 3 ( 3 ) = K 1 G 1 K n 1 G n 1 ( n 1 ) K 1 G 1 K n 3 G n 3 K n 2 G n 2 ( n 2 ) ϕ n 3 ( 3 ) = K 1 G 1 K n 1 G n 1 K n G n 3 K n 2 G n 2 ( n 2 ) ϕ n 3 ( 3 ) .
Moreover, by Lemma 1, we have ϕ n ( 0 ) = K 1 G 1 K 2 G 2 K n G n ( n ) . So,
G n = G n 3 K n 2 G n 2 ( n 2 ) ϕ n 3 ( 3 ) * ,
since n ϕ n 3 ( 3 ) .  □
Remark 7.
For any n 4 , G n 3 G n .
Next, we shall study the length of the gap sequence { G n } n 1 . Let g n : = | G n | for n 1 . It is easy to see that g 1 = 0 , g 2 = 1 , and g 3 = 2 . For convenience, we set g 0 = 0 . We notice that the numbers g n are the same with the sequence A008937 in OEIS [17]. So, for any n 4 , we have
g n = k = 1 n 3 L k .
Corollary 1.
For any n 4 , we have
g n = g n 3 + k n 2 + g n 2 + L n 3 .
Remark 8.
( 1 ) For any n 1 , we have
L n = L n 1 + k n + g n ,
since ϕ n ( 0 ) = ϕ n 1 ( 01 ) = ϕ n 1 ( 0 ) * K n G n ( n ) from Equation (12).
( 2 ) For any n 2 , we have
g n + 1 g n = L n 2 .
Moreover, for any n 1 ,
g n + 4 = 2 g n + 3 g n .
Proposition 7.
For any n 1 , we have
k n = g n + 1 g n g n 1 .
Proof. 
By Equation (17) and Equation (15), we have
k n = L n L n 1 g n = L n 2 + L n 3 g n = k = 1 n 2 L k k = 1 n 4 L k g n = g n + 1 g n 1 g n .

4. Application

In this section, as an application of our main results, we mainly use the properties of the kernel words to decompose the infinite tribonacci sequence T and study the related factor properties.
Theorem 3.
T = 0 ̲ 1 ̲ 02 ̲ ϕ 2 ( 1 ) * K 4 ̲ i = 0 ϕ i ( 0 ) ϕ i 3 ( 0 ) ϕ i 6 ( 0 ) ϕ i ( 0 ) 1 ϕ i + 3 ( 1 ) * K i + 5 ,
where i i ( mod 3 ) , i { 0 , 1 , 2 } .
To prove Theorem 3, we need the following lemmas.
Lemma 2.
For any n 3 ,
| ϕ n + 3 ( 1 ) | 1 | ϕ n ( 0 ) | + | ϕ n 3 ( 0 ) | + | ϕ n 6 ( 0 ) | + + | ϕ n ( 0 ) | + k n + 5 = L n + 3 .
Proof. 
It is easy to check that Equation (18) holds for n = 3 . Assuming that Equation (18) holds for all m < n , we shall check it for m = n . If m = 3 i , then m = 0 . By the induction hypothesis, we know Equation (18) holds for n 3 , i.e.,
n 1 L n 3 + L n 6 + + L 0 + k n + 2 = L n .
From Equation (3), we have n = L n 1 + L n 2 . So,
L n 1 + L n 2 1 L n 3 + L n 6 + + L 0 + k n + 2 = L n .
Hence, by Proposition 3,
L n 3 + L n 6 + + L 0 = L n 1 + L n 2 1 + k n + 2 L n = L n 1 + L n 2 1 + k n + 2 L n 1 + L n 2 + L n 3 = k n + 2 L n 3 + 1 = k n + 2 k n + k n 1 = k n + 1 + k n + k n 1 1 k n + k n 1 = k n + 1 1 .
By Equation (8), we have
k n + 5 = k n + 4 + L n .
Then, by Equation (3), Equation (19), Equation (20) and Equation (7), we have
| ϕ n + 3 ( 1 ) | 1 | ϕ n ( 0 ) | + | ϕ n 3 ( 0 ) | + | ϕ n 6 ( 0 ) | + + | ϕ n ( 0 ) | + k n + 5 = n + 3 1 L n + L n 3 + + L 0 + k n + 5 = L n + 2 + L n + 1 1 L n + L n 3 + + L 0 + k n + 5 = L n + 2 + L n + 1 1 L n k n + 1 1 + k n + 5 = L n + 2 + L n + 1 L n k n + 1 + k n + 5 = L n + 2 + L n + 1 + k n + 4 k n + 1 = L n + 2 + L n + 1 + L n = L n + 3 .
The case n = 3 i + 1 and n = 3 i + 2 are similar with the case n = 3 i for any i 0 . Therefore, Equation (18) holds.  □
Lemma 3.
For any n 3 ,
ϕ n ( 0 ) ϕ n 3 ( 0 ) ϕ n 6 ( 0 ) ϕ n ( 0 ) ϕ n + 1 ( 0 ) ϕ n + 3 ( 1 ) ,
where n n ( mod 3 ) , n { 0 , 1 , 2 } .
Proof. 
It is easy to check that Equation (21) holds for n = 3 . Assume that Equation (21) holds for all m < n . We shall check it for m = n . If m = 3 i , then m = 0 . By the induction hypothesis, we have ϕ n 3 ( 0 ) ϕ n 6 ( 0 ) ϕ 0 ( 0 ) ϕ n ( 1 ) . Hence,
ϕ n ( 0 ) ϕ n 3 ( 0 ) ϕ n 6 ( 0 ) ϕ 0 ( 0 ) ϕ n ( 0 ) ϕ n ( 1 ) = ϕ n + 1 ( 0 ) .
We know ϕ n + 1 ( 0 ) ϕ n + 3 ( 1 ) , since
ϕ n + 3 ( 1 ) = ϕ n + 2 ( 0 ) ϕ n + 2 ( 2 ) = ϕ n + 1 ( 0 ) ϕ n + 1 ( 1 ) ϕ n + 2 ( 2 ) .
Hence, Equation (21) holds.The case n = 3 i + 1 and n = 3 i + 2 are similar with the case n = 3 i for any i 0 . Therefore, Equation (21) holds.  □
Lemma 4.
For any n 3 ,
ϕ n + 1 ( 0 ) [ 1 , k n + 4 1 ] = ϕ n ( 0 ) ϕ n 3 ( 0 ) ϕ n 6 ( 0 ) ϕ n ( 0 ) ,
where n n ( mod 3 ) , n { 0 , 1 , 2 } .
Proof. 
By Lemma 3, we only need to show | ϕ n ( 0 ) | + | ϕ n 3 ( 0 ) | + + | ϕ n ( 0 ) | = k n + 4 1 , i.e.,
L n + L n 3 + + L n = k n + 4 1 .
It is direct from Equation (19).  □
Lemma 5.
For any n 0 ,
ϕ n + 4 ( 0 ) ϕ n + 1 ( 0 ) ϕ ( n + 4 ) ( 0 ) = 0 ̲ 1 ̲ 02 ̲ ϕ 2 ( 1 ) * K 4 ̲ i = 0 n ϕ i ( 0 ) ϕ i 3 ( 0 ) ϕ i 6 ( 0 ) ϕ i ( 0 ) 1 ϕ i + 3 ( 1 ) * K i + 5 ,
where i i ( mod 3 ) , i { 0 , 1 , 2 } .
Proof. 
When n = 0 , it is easy to check that the result holds. Now, supposing the result holds for all m < n , we shall prove it for n. By Lemma 4, we have
0 ̲ 1 ̲ 02 ̲ ϕ 2 ( 1 ) * K 4 ̲ i = 0 n ϕ i ( 0 ) ϕ i 3 ( 0 ) ϕ i 6 ( 0 ) ϕ i ( 0 ) 1 ϕ i + 3 ( 1 ) * K i + 5 = 0 ̲ 1 ̲ 02 ̲ ϕ 2 ( 1 ) * K 4 ̲ i = 0 n 1 ϕ i ( 0 ) ϕ i 3 ( 0 ) ϕ i 6 ( 0 ) ϕ i ( 0 ) 1 ϕ i + 3 ( 1 ) * K i + 5 ϕ n ( 0 ) ϕ n 3 ( 0 ) ϕ n 6 ( 0 ) ϕ n ( 0 ) 1 ϕ n + 3 ( 1 ) * K n + 5 = ϕ n + 3 ( 0 ) ϕ n ( 0 ) ϕ n ( 0 ) ϕ n ( 0 ) ϕ n 3 ( 0 ) ϕ n ( 0 ) 1 ϕ n + 3 ( 1 ) * K n + 5 = ϕ n + 3 ( 0 ) ϕ n + 3 ( 1 ) ϕ n + 2 ( 0 ) [ 1 , k n + 5 1 ] ( by the definition of K n + 5 ) = ϕ n + 4 ( 0 ) ϕ n + 2 ( 0 ) [ 1 , k n + 5 1 ] = ϕ n + 4 ( 0 ) ϕ n + 1 ( 0 ) ϕ ( n + 4 ) ( 0 ) .
Therefore, the result holds.  □
Proof 
(Proof of Theorem 3). It is directly from the above lemmas.  □

5. Conclusions

In this work, we presented a comprehensive study of the kernel words and their associated gap sequences within the infinite tribonacci sequence T . By delving into the combinatorial attributes of these kernel words and gap sequences, we were able to shed light on the local isomorphism and overlap characteristics of factors embedded in the sequence. Furthermore, we showcased how kernel words can be effectively applied to reconstruct the infinite tribonacci sequence T . This method of factorization facilitates a detailed analysis of the sequence, highlighting repetitive patterns and its intrinsic structural characteristics. Such insights not only deepen our understanding of the sequence’s internal architecture but also hint at potential intersections with other mathematical domains. These connections and further extrapolations will be the focal point of our subsequent investigations.

Author Contributions

Writing—original draft, J.Z.; writing—review and editing, J.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China grant number 12101469.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank the anonymous referees for their useful suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mousavi, H.; Shallit, J. Mechanical Proofs of Properties of the Tribonacci Word. In Combinatorics on Words. WORDS 2015; Lecture Notes in Computer, Science; Manea, F., Nowotka, D., Eds.; Springer: Cham, Switzerland, 2015; Volume 9304. [Google Scholar]
  2. Rauzy, G. Nombres algébriques et substitutions (French). Bull. Soc. Math. Fr. 1982, 110, 147–178. [Google Scholar] [CrossRef]
  3. Richomme, G.; Saari, K.; Zamboni, L.Q. Balance and Abelian complexity of the Tribonacci word. Adv. Appl. Math. 2010, 45, 212–231. [Google Scholar] [CrossRef]
  4. Rosema, S.W.; Tijdeman, R. The Tribonacci substitution. Integers Elect. J. Combin. Number Theory. 2005, 5, A13. [Google Scholar]
  5. Sirvent, V.F. Semigroups and the self-similar structure of the flipped Tribonacci substitution. Appl. Math. Lett. 1999, 12, 25–29. [Google Scholar] [CrossRef]
  6. Tan, B.; Wen, Z. Some properties of the Tribonacci sequence. Eur. J. Combin. 2007, 28, 1703–1719. [Google Scholar] [CrossRef]
  7. Huang, Y.; Wen, Z. The numbers of repeated palindromes in the Fibonacci and Tribonacci words. Discret. Appl. Math. 2017, 230, 78–90. [Google Scholar] [CrossRef]
  8. Huang, Y.; Wen, Z. Kernel words and gap sequence of the tribonacci sequence. Acta Math. Sci. 2016, 36, 173–194. [Google Scholar] [CrossRef]
  9. Jahannia, M.; Mohammad-Noori, M.; Rampersad, N.; Stipulanti, M. Palindromic Ziv-Lempel and Crochemore factorizations of m-bonacci infinite words. Theoret. Comput. Sci. 2019, 790, 16–40. [Google Scholar] [CrossRef]
  10. Jahannia, M.; Mohammad-Noori, M.; Rampersad, N.; Stipulanti, M. Closed Ziv-Lempel factorization of the m-bonacci words. Theoret. Comput. Sci. 2022, 918, 32–47. [Google Scholar] [CrossRef]
  11. Břinda, K.; Pelantová, E.; Turek, O. Balances of m-bonacci Words. Fundam. Inform. 2014, 132, 33–61. [Google Scholar] [CrossRef]
  12. Chareghani, N.; Mohammad-Noori, M.; Sharifani, P. Some properties of the k-bonacci words on the infinite alphabet. Electron. J. Comb. 2020, 27, #P3.59. [Google Scholar]
  13. Chareghani, N.; Sharifani, P. On square factors and critical factors of k-bonacci words on infinite alphabet. Theoret. Comput. Sci. 2021, 865, 34–43. [Google Scholar] [CrossRef]
  14. Ammar, H.; Sellami, T. Kernel words and factorization of the k-bonacci sequence. Indian J. Pure Appl. Math. 2023, 54, 816–823. [Google Scholar] [CrossRef]
  15. Sloane, N.; Guy, R. Entry A000073 in The On-Line Encyclopedia of Integer Sequences. Available online: https://oeis.org/A000073 (accessed on 20 September 2023).
  16. Sloane, N.; Guy, R. Entry A192804 in The On-Line Encyclopedia of Integer Sequences. Available online: https://oeis.org/A192804 (accessed on 20 September 2023).
  17. Sloane, N.; Guy, R. Entry A008937 in The On-Line Encyclopedia of Integer Sequences. Available online: https://oeis.org/A008937 (accessed on 20 September 2023).
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

Zhang, J. Kernel Words and Gap Sequences of the Tribonacci Word on an Infinite Alphabet. Mathematics 2023, 11, 4356. https://doi.org/10.3390/math11204356

AMA Style

Zhang J. Kernel Words and Gap Sequences of the Tribonacci Word on an Infinite Alphabet. Mathematics. 2023; 11(20):4356. https://doi.org/10.3390/math11204356

Chicago/Turabian Style

Zhang, Jiemeng. 2023. "Kernel Words and Gap Sequences of the Tribonacci Word on an Infinite Alphabet" Mathematics 11, no. 20: 4356. https://doi.org/10.3390/math11204356

APA Style

Zhang, J. (2023). Kernel Words and Gap Sequences of the Tribonacci Word on an Infinite Alphabet. Mathematics, 11(20), 4356. https://doi.org/10.3390/math11204356

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