OFFSET
0,2
COMMENTS
The infinite word is (ab)(abb.aab)(abbb.aabb.aaab)(abbbb.aabbb.aaabb.aaaab)... . Subword complexity is the number of distinct length-n blocks appearing in the sequence.
LINKS
Luke Schaeffer and Kaiyu Wu, Two Infinite Words with Cubic Subword Complexity, J. Integer Sequences 23 (2020), Art. 20.10.8.
FORMULA
Equal to 2^n for n <= 3, and n^3/6-2n/3+(19+(-1)^n)/4 for n >= 4.
EXAMPLE
For n=4 the only subwords omitted are {abaa, baba, bbab}.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Nov 07 2020
STATUS
approved