A286686 Positions of 0 in A286685; complement of A286687.
1, 3, 6, 7, 9, 12, 13, 15, 17, 20, 21, 23, 26, 27, 29, 31, 34, 35, 37, 40, 41, 43, 46, 47, 49, 51, 54, 55, 57, 60, 61, 63, 65, 68, 69, 71, 74, 75, 77, 80, 81, 83, 85, 88, 89, 91, 94, 95, 97, 99, 102, 103, 105, 108, 109, 111, 113, 116, 117, 119, 122, 123, 125
Offset: 1
Examples
As a word, A286685 = 01011001011001010110010110..., in which 0 is in positions 1,3,6,7,9,12,...
Links
- Clark Kimberling, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
s = Nest[Flatten[# /. {0 -> {0, 0, 1}, 1 -> {0}}] &, {0}, 6] (* A171588 *) w = StringJoin[Map[ToString, s]] w1 = StringReplace[w, {"0" -> "01", "1"->"10"}] st = ToCharacterCode[w1] - 48 ; (* A286685 *) p0 = Flatten[Position[st, 0]]; (* A286686 *) p1 = Flatten[Position[st, 1]]; (* A286687 *)
Comments