login
Positions of 1 in A285159; complement of A285160.
6

%I #4 Apr 22 2017 23:04:50

%S 3,4,5,9,10,11,13,15,19,20,23,24,25,27,31,32,35,36,37,39,43,44,47,48,

%T 51,52,53,57,58,59,63,64,65,67,69,73,74,77,78,79,81,85,86,89,90,91,93,

%U 97,98,101,102,105,106,107,109,111,115,116,119,120,123,124

%N Positions of 1 in A285159; complement of A285160.

%C Conjecture: a(n)/n -> 2.

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

%e As a word, A285142 = 001110..., in which 1 is in positions 3,4,5,9,...

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

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

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

%Y Cf. A285159, A285160, A285162.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Apr 21 2017