login
Positions of 1 in A285252; complement of A285253.
3

%I #10 Oct 07 2020 08:02:16

%S 1,4,6,7,10,12,14,16,17,20,22,23,25,28,30,31,34,36,38,40,41,43,46,48,

%T 49,52,54,55,58,60,61,64,66,68,70,71,74,76,77,79,82,84,85,88,90,92,94,

%U 95,97,100,102,103,106,108,110,112,113,115,118,120,121,124

%N Positions of 1 in A285252; complement of A285253.

%C Conjecture: 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="/A285254/b285254.txt">Table of n, a(n) for n = 1..10000</a>

%e As a word, A285252 = 100101100101..., in which 1 is in positions 1,4,6,7,10,...

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

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

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

%Y Cf. A285250, A285252, A285253.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Apr 23 2017