[go: up one dir, main page]

login
A286492
Positions of 1 in A286490; complement of A286491.
3
2, 3, 5, 8, 9, 12, 14, 17, 20, 21, 23, 26, 27, 30, 33, 34, 36, 39, 41, 44, 45, 48, 50, 53, 56, 57, 59, 62, 64, 67, 68, 71, 74, 75, 77, 80, 81, 84, 86, 89, 92, 93, 95, 98, 99, 102, 105, 106, 108, 111, 113, 116, 117, 120, 123, 124, 126, 129, 130, 133, 135, 138
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {1,2,3} for n>=2. Conjecture: a(n)/n -> 9/4.
LINKS
EXAMPLE
As a word, A286490 = 011010011001010010011..., in which 1 is in positions 2,3,5,8,9,12,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"0101" -> "0"}]
st = ToCharacterCode[w1] - 48 (* A286490 *)
Flatten[Position[st, 0]] (* A286491 *)
Flatten[Position[st, 1]] (* A286492 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 11 2017
STATUS
approved