OFFSET
0,2
COMMENTS
From Michel Dekking, Oct 06 2019: (Start)
If w is a binary vector not containing 111, then w00 and w01 are also binary vectors not containing 111. So a(n) = A278040(n) - 1.
This sequence gives the positions of the word ab in the tribonacci word t, when t is given offset 0.
FORMULA
From Michel Dekking, Oct 06 2019: (Start)
a(n) = Sum_{k=1..n-1} d(k), where d is the tribonacci word on the alphabet {4,3,2}.
EXAMPLE
u = abacabaabacaba.., then u(0)u(1) = ab, u(4)u(5) = ab, u(7)u(8) = ab, u(11)u(12) = ab.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Jun 23 2019
STATUS
approved