A338761 Subword complexity of a the infinite word Prod_{i>=1} Prod_{j=1..i} a^j b^(i-j+1).
1, 2, 4, 8, 13, 22, 37, 57, 85, 120, 165, 219, 285, 362, 453, 557, 677, 812, 965, 1135, 1325, 1534, 1765, 2017, 2293, 2592, 2917, 3267, 3645, 4050, 4485, 4949, 5445, 5972, 6533, 7127, 7757, 8422, 9125, 9865, 10645, 11464, 12325, 13227, 14173, 15162, 16197
Offset: 0
Keywords
Examples
For n=4 the only subwords omitted are {abaa, baba, bbab}.
Links
- Luke Schaeffer and Kaiyu Wu, Two Infinite Words with Cubic Subword Complexity, J. Integer Sequences 23 (2020), Art. 20.10.8.
Crossrefs
Cf. A338760.
Formula
Equal to 2^n for n <= 3, and n^3/6-2n/3+(19+(-1)^n)/4 for n >= 4.
Comments