OFFSET
1,1
COMMENTS
Conjecture: -1 < n*r - a(n) < 1 for n>=1, where r = (3 + sqrt(3))/3.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
EXAMPLE
As a word, A285142 = 1010001010..., in which 0 is in positions 2,4,5,6,8,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {0, 0, 1, 0}}] &, {0}, 11]; (* A285142 *)
Flatten[Position[s, 0]]; (* A285143 *)
Flatten[Position[s, 1]]; (* A285144 *)
Position[SubstitutionSystem[{0->{1, 0}, 1->{0, 0, 1, 0}}, {0}, {5}][[1]], 0]// Flatten (* Harvey P. Dale, Jan 27 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 20 2017
STATUS
approved