2016/05/15 by Yuke Huang, Zhiying Wen, Huang, Yuke +2
Computer Science · Mathematics · #Advanced Combinatorial Mathematics #Algorithms and Data Compression #math.DS #msc:11B85 #msc:68Q45 #semigroups and automata theory
paper · pdf · doi:10.48550/arxiv.1605.04505
6 pages
arxiv created 2016/05/15 · arxiv updated 2016/05/17
The Tribonacci sequence \mathbbT is the fixed point of the substitution σ(a,b,c)=(ab,ac,a). In this note, we get the explicit expressions of all squares, and then establish the tree structure of the positions of repeated squares in \mathbbT, called square trees. Using the square trees, we give a fast algorithm for counting the number of repeated squares in \mathbbT[1,n] for all n, where \mathbbT[1,n] is the prefix of \mathbbT of length n. Moreover we get explicit expressions for some special n such as n=tm (the Tribonacci number) etc.