OFFSET
0
COMMENTS
a(n) = 1 iff n is a member of A003145.
a(n+1) = 1 iff n is a member of A278040, for n >= 0. - Wolfdieter Lang, Dec 06 2018
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 0..10000
Wolfdieter Lang, The Tribonacci and ABC Representations of Numbers are Equivalent, arXiv preprint arXiv:1810.09787 [math.NT], 2018.
FORMULA
a(n+1) = t(n)*(2 - t(n)), where t(n) = A080843(n), for n >= 0; and a(0) = 0. - Wolfdieter Lang, Dec 06 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 28 2016
STATUS
approved