OFFSET
1,2
COMMENTS
2n-a(n) is in {1,2} for n>=1.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
EXAMPLE
As a word, A284775 = 0100110..., in which 0 is in positions 1,3,4,7,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0, 0, 1, 1}}] &, {0}, 7]; (* A284775 *)
Flatten[Position[s, 0]]; (* A284776 *)
Flatten[Position[s, 1]]; (* A284777 *)
Position[Flatten[SubstitutionSystem[{0->{0, 1}, 1->{0, 0, 1, 1}}, {0}, {5}]], 0]//Flatten (* Harvey P. Dale, Jun 18 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 14 2017
STATUS
approved