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”).

A284791
Positions of 1 in A284789; complement of A284790.
3
2, 3, 8, 9, 13, 15, 20, 22, 26, 27, 32, 33, 37, 39, 43, 44, 49, 51, 56, 57, 61, 63, 68, 70, 74, 75, 80, 82, 87, 88, 92, 94, 98, 99, 104, 105, 109, 111, 116, 118, 122, 123, 128, 129, 133, 135, 139, 140, 145, 147, 152, 153, 157, 159, 163, 164, 169, 170, 174
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {1,2,4,5} for n>=2. Conjecture: a(n)/n -> 3.
LINKS
EXAMPLE
As a word, A284789 = 0110000110001010..., in which 1 is in positions 2,3,8,9,13,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"1001" -> "0"}]
st = ToCharacterCode[w1] - 48 (* A284789 *)
Flatten[Position[st, 0]] (* A284790 *)
Flatten[Position[st, 1]] (* A284791 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 10 2017
STATUS
approved