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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A284776 Positions of 0 in A284775; complement of A284777. 6

%I #6 Jun 18 2022 17:51:15

%S 1,3,4,7,9,11,12,15,16,19,21,22,25,27,28,31,33,35,36,39,40,43,45,47,

%T 48,51,52,55,57,58,61,63,65,66,69,70,73,75,76,79,81,83,84,87,88,91,93,

%U 94,97,99,100,103,105,107,108,111,112,115,117,119,120,123,124

%N Positions of 0 in A284775; complement of A284777.

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

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

%e As a word, A284775 = 0100110..., in which 0 is in positions 1,3,4,7,...

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

%t Flatten[Position[s, 0]]; (* A284776 *)

%t Flatten[Position[s, 1]]; (* A284777 *)

%t Position[Flatten[SubstitutionSystem[{0->{0,1},1->{0,0,1,1}},{0},{5}]],0]//Flatten (* _Harvey P. Dale_, Jun 18 2022 *)

%Y Cf. A284775, A284777.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Apr 14 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.

Last modified July 25 09:25 EDT 2024. Contains 374587 sequences. (Running on oeis4.)