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!)
A284914 Positions of 1 in A284912; complement of A284913. 3

%I

%S 2,3,5,7,9,12,13,15,18,19,21,24,25,27,30,32,33,35,37,39,42,43,45,48,

%T 50,51,53,55,57,60,61,63,66,68,69,71,73,75,78,79,81,84,86,87,89,92,93,

%U 95,97,99,102,103,105,108,109,111,114,115,117,120,122,123,125

%N Positions of 1 in A284912; complement of A284913.

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

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

%e As a word, A284912 = 011010101..., in which 1 is in positions 2,3,5,7,9,...

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

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

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

%Y Cf. A284912, A284913.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Apr 17 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 September 25 12:13 EDT 2020. Contains 337343 sequences. (Running on oeis4.)