OFFSET
0,2
COMMENTS
This sequence records the indices for the 0 values of A080843, ordered increasingly. In the W. Lang link a(n) = B(n). - Wolfdieter Lang, Dec 06 2018
Sequence gives the positions of letter a in the tribonacci word generated by a->ab, b->ac, c->a, when given offset 0. - Michel Dekking, Apr 03 2019
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 0..20000
Wolfdieter Lang, The Tribonacci and ABC Representations of Numbers are Equivalent, arXiv:1810.09787v1 [math.NT], 2018.
Bo Tan and Zhi-Ying Wen, Some properties of the Tribonacci sequence, European Journal of Combinatorics, 28 (2007) 1703-1719. See the sequence O_1(n).
FORMULA
a(n) = 2*n - (A276798(n) - 1), n >= 0. For a proof see the link, Proposition 6 B). - Wolfdieter Lang, Dec 04 2018
EXAMPLE
The tribonacci representation of 7 is 1000 (see A278038), so a(7) has tribonacci representation 10000, which is 13, so a(7) = 13.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Nov 18 2016
STATUS
approved