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