login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A284776
Positions of 0 in A284775; complement of A284777.
6
1, 3, 4, 7, 9, 11, 12, 15, 16, 19, 21, 22, 25, 27, 28, 31, 33, 35, 36, 39, 40, 43, 45, 47, 48, 51, 52, 55, 57, 58, 61, 63, 65, 66, 69, 70, 73, 75, 76, 79, 81, 83, 84, 87, 88, 91, 93, 94, 97, 99, 100, 103, 105, 107, 108, 111, 112, 115, 117, 119, 120, 123, 124
OFFSET
1,2
COMMENTS
2n-a(n) is in {1,2} for n>=1.
LINKS
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
Sequence in context: A095043 A019990 A288634 * A047544 A272909 A035267
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 14 2017
STATUS
approved