Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
4949521 | Discrete Applied Mathematics | 2017 | 13 Pages |
Abstract
The Fibonacci word F is the fixed point beginning with a of morphism Ï(a)=ab and Ï(b)=a. Since F is uniformly recurrent, each factor Ï appears infinitely many times in the sequence which is arranged as Ïp (the pth occurrence of Ï, pâ¥1). Here we distinguish Ïpâ Ïq if pâ q. In this paper, we give an algorithm for counting the number of repeated palindromes in F[1,n] (the prefix of F of length n). That is the number of the pairs (Ï,p), where Ï is a palindrome and ÏpâºF[1,n]. We also get explicit expressions for some special n such as n=fm (the mth Fibonacci number). Similar results are also given for the Tribonacci word, the fixed point beginning with a of morphism Ï(a)=ab, Ï(b)=ac and Ï(c)=a.
Keywords
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Yuke Huang, Zhiying Wen,