login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A285979 Positions of 0 in A285978; complement of A285980. 3

%I #4 May 06 2017 19:55:47

%S 1,4,11,14,18,24,31,37,41,44,51,54,58,64,68,71,78,84,91,94,98,104,111,

%T 117,121,124,131,137,144,147,151,157,161,164,171,174,178,184,191,197,

%U 201,204,211,214,218,224,228,231,238,244,251,254,258,264,268,271

%N Positions of 0 in A285978; complement of A285980.

%C Conjecture: a(n)/n -> 5.

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

%e As a word, A285978 = 0110111111011011101111101..., in which 0 is in positions 1,4,11,14,18,...

%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* Thue-Morse, A010060 *)

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

%t w1 = StringReplace[w, {"00" -> "1"}]

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

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

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

%Y Cf. A010060, A285978, A285980.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 06 2017

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 12 17:11 EDT 2024. Contains 375113 sequences. (Running on oeis4.)