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!)
A288228 Positions of 1 in A288226; complement of A288227. 3

%I #4 Jun 23 2017 08:48:02

%S 3,4,5,6,7,9,10,11,12,14,15,16,21,22,23,24,25,26,27,28,29,31,32,33,34,

%T 35,36,37,38,40,41,42,43,44,45,46,48,49,50,51,52,53,55,56,57,58,59,61,

%U 62,63,64,66,67,68,73,74,75,76,78,79,80,81,82,83,84,85

%N Positions of 1 in A288226; complement of A288227.

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

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

%t w[n_] := StringReplace[w[n - 1], {"00" -> "1000", "10" -> "011"}]

%t Table[w[n], {n, 0, 8}]

%t st = ToCharacterCode[w[50]] - 48 (* A288226 *)

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

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

%Y Cf. A288226, A288227.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 22 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 April 19 18:00 EDT 2024. Contains 371797 sequences. (Running on oeis4.)