login
Positions of 0 in A284905; complement of A284907.
3

%I #9 Oct 07 2020 08:03:00

%S 1,4,5,8,9,11,13,16,17,20,21,23,25,28,29,31,34,35,37,40,41,44,45,47,

%T 49,52,53,56,57,59,61,64,65,67,70,71,73,76,77,80,81,83,85,88,89,91,94,

%U 95,98,99,101,103,106,107,109,112,113,116,117,119,121,124,125

%N Positions of 0 in A284905; complement of A284907.

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

%C See the comments of A285250 for a proof of this conjecture. - _Michel Dekking_, Oct 07 2020

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

%e As a word, A284905 = 011001..., in which 0 is in positions 1,4,5,8,9,...

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

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

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

%Y Cf. A285250, A284905, A284907.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Apr 17 2017