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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A285405 Positions of 1 in A285403; complement of A285404. 3

%I

%S 1,2,3,4,7,8,9,10,11,14,15,16,17,18,21,22,23,24,25,28,31,34,37,40,41,

%T 42,43,44,47,48,49,50,51,54,55,56,57,58,61,62,63,64,65,68,69,70,71,72,

%U 75,78,81,84,87,88,89,90,91,94,95,96,97,98,101,102,103

%N Positions of 1 in A285403; complement of A285404.

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

%e As a word, A285403 = 1111001..., in which 0 is in positions 1,2,3,4,7,8,...

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

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

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

%Y Cf. A285401, A285403, A285404.

%K nonn,easy

%O 1,2

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 16 07:07 EDT 2021. Contains 348041 sequences. (Running on oeis4.)