The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A286753 Positions of 0 in A286752; complement of A286753. 3

%I

%S 2,4,5,7,9,12,14,15,17,19,22,24,26,27,29,32,34,36,37,39,42,44,46,47,

%T 49,51,54,56,57,59,61,64,66,68,69,71,74,76,78,79,81,84,86,88,89,91,93,

%U 96,98,99,101,103,106,108,109,111,113,116,118,120,121,123,126

%N Positions of 0 in A286752; complement of A286753.

%C 2n - a(n) is in {0,1} for n>=1.

%H Clark Kimberling, <a href="/A286753/b286753.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = 1 - A286754(n) for n >= 1.

%e As a word, A286752 = 10100101011010010101101001001..., in which 0 is in positions 2,4,5,7,9,12,...

%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 12]; (* A003849 *)

%t w = StringJoin[Map[ToString, s]];

%t w1 = StringReplace[w, {"010010" -> ""}];

%t st = ToCharacterCode[w1] - 48; (* A286752 *)

%t Flatten[Position[st, 0]]; (* A286753 *)

%t Flatten[Position[st, 1]]; (* A286754 *)

%Y Cf. A003849, A286752, A286754.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 14 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 28 13:13 EST 2020. Contains 331321 sequences. (Running on oeis4.)