login
A284685
Positions of 1 in A284627; complement of A284684.
3
2, 3, 5, 6, 9, 11, 12, 14, 17, 19, 20, 21, 23, 24, 27, 29, 30, 31, 33, 36, 38, 39, 41, 42, 45, 47, 48, 50, 53, 55, 56, 57, 59, 62, 64, 65, 67, 68, 71, 73, 74, 75, 77, 78, 81, 83, 84, 86, 89, 91, 92, 93, 95, 96, 99, 101, 102, 103, 105, 108, 110, 111, 113, 114
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {1,2,3} for n>=2. Conjecture: a(n)/n -> 9/5.
LINKS
EXAMPLE
As a word, A284627 = 0110110010110100101110..., in which 1 is in positions 2,3,5,6,9,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"0011" -> "1"}]
st = ToCharacterCode[w1] - 48 (* A284627 *)
Flatten[Position[st, 0]] (* A284684 *)
Flatten[Position[st, 1]] (* A284685 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 10 2017
STATUS
approved