1. Introduction
Let
be the tribonacci sequence that is the fixed point of the Rauzy substitution
defined by
. 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
. More precisely, we will consider this problem for a certain infinite tribonacci word defined on the infinite alphabet
. This sequence can be comprehended as the fixed point of the morphism
of 0, characterized by:
, for all
, i.e.,
. 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
.
First of all, we start by recalling the basic definitions and notations.
1.1. Basic Notations
Let be an (infinite) alphabet. denotes the set of all words of length k on , and is the set of all words of any length on , where . We denote by the length of a finite word . For any , we write when the finite word V is a factor of the word W; that is, when there exist words , such that . We say that V is a prefix (resp. suffix) of a word W, and we write (resp. ) if there exists a word , such that (resp. ).
Let be a finite word (or be a sequence). For any , we define , which means is the factor of of length , starting from the i-th letter and ending at the j-th letter.
We denote by the inverse of W; that is, where . If V is a suffix of W, we can write , with . This makes sense in , since the reduced word associated with belongs to . Let , which deletes the last digit, and , 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 is generated by the tribonacci morphism : , i.e., .
Consider the morphism
(over
) which is given by
for all
. We know that
,
,
, ⋯ Then, it is obvious that
. So, there exists a fixed point of
by iterating
with letter 0. The
infinite tribonacci sequence is the fixed point of
starting by 0. The first several terms of
and
are
It is easy to see that
, since
is reduced to
while in modulo 3. In this sense, these two sequences are similar. Hence, the infinite tribonacci sequence
may inherit some combinatorial properties of the tribonacci sequence
, which were studied sufficiently in [
12,
13]. Let
, where
, and
. It is easy to see the sequence
is formed by the tribonacci numbers [
15], except for the initial numbers. So, for all
, we have
For convenience, we set
.
Remark 1. (1) It is easy to check that for any .
(2) For any and , we have .
For application in
Section 4, we need to introduce the following notation. We denote
, with
. It is easy to see that
, for any
and
. Next, we shall give the relationship between
and
.
Proof. Since , . Meanwhile, from , we have . □
Proposition 2. For any , we havewith , and . Proof. From Equation (
3) and Equation (
2), we have
Hence, Equation (
4) holds. □
Remark 2. It is easy to see that the sequences and 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 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 , and it occurs in the sequence infinitely many times, which we arrange by the sequence , where denotes the p-th occurrence of .
Let the length of
be
n, and
,
. The gap between
and
, denoted by
, is defined by
The sequence is called the gap sequence of the factor .
For instance, (separated), (adjacent), and (overlapped). When and are overlapped, we take the inverse word of the overlapped part as the gap .
This paper is organized as follows. In
Section 2, we give the kernel words of the infinite tribonacci sequence
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
In this section, we extend the definition of kernel words to the infinite tribonacci sequence 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 be the sequence of positive integers with , and for ,The number is called the m-th kernel number.
We notice that the numbers
are the same with the sequence A192804 in OEIS [
16]. For convenience, we denote
.
Remark 3. For any , we have .
Huang and Wen [
8] gave the kernel words of the classical tribonacci sequence on the letters
. We extend the kernel words of the infinite tribonacci sequence to an infinite alphabet.
Definition 2 (Kernel word)
. Let be the sequence of factors with , , and for ,We call the kernel word with order m.
Remark 4. (1) Notice that with length , is the last digit of , and So, . That is, for any , the word is a factor of .
(2) It is obvious that .
(3) for .
Proposition 3. For , .
Proof. When
,
,
, so
. Assuming that the result is true for all
, then for
, by Equation (
5), we have
Hence, the result holds. □
Remark 5. For ,Since . Proof. Since
, by Proposition 3, we have
So, by Equation (
7),
we have
□
Proposition 5. For any , with , we have Proof. We use induction on
n to prove it. We know
,
, then the result is true for
. We assume that the result is true for all positive integers less than
n. Then, for
, we have
and by induction,
.
By Equation (
7), for
,
. So,
Moreover,
. By Proposition 3, we have
. So,
Hence, . By the induction hypothesis, we know the result is true for . It is similar with the cases and . □
Remark 6. For any , we have , and . Since , , and . It is easy to see the result is true from the above Proposition 5.
Theorem 1. For , .
Proof. By the definition of
, we have
□
3. Gap Sequence with Respect to the Kernel Word
Let
be a kernel word which is a factor of
by Remark 4. We can decompose
in the following way:
where
is the gap sequence between
and
. The aim of this section is to give the expression and properties of the gap sequence
.
It is easy to see , , .
Proof. It is easy to check that the results are true for
. Assuming that the results are true for all
, then for
, we have
So the result is true for Equation (
11). Hence,
Combining Equations (
13) and (
14), we have
which implies the result is true for Equation (
12). □
Proposition 6. For any , .
Proof. By Theorem 1 and Lemma 1, we have
□
From the above propositions, we shall give the expression of the gap sequence .
Theorem 2. For any , .
Proof. According to the iteration of
, by Lemma 1 and Proposition 6, we have
Moreover, by Lemma 1, we have
. So,
since
. □
Remark 7. For any , .
Next, we shall study the length of the gap sequence
. Let
for
. It is easy to see that
,
, and
. For convenience, we set
. We notice that the numbers
are the same with the sequence A008937 in OEIS [
17]. So, for any
, we have
Remark 8. For any , we havesince from Equation (12). For any , we have Moreover, for any , Proof. By Equation (
17) and Equation (
15), we have
□