login
Positions of 1 in A284364; complement of A284365.
3

%I #4 Mar 28 2017 15:09:28

%S 1,3,5,7,8,10,12,14,15,17,19,21,22,24,26,28,30,32,34,35,37,39,41,42,

%T 44,46,48,49,51,53,55,57,59,61,62,64,66,68,69,71,73,75,76,78,80,82,84,

%U 86,88,89,91,93,95,96,98,100,102,103,105,107,109,110,112,114

%N Positions of 1 in A284364; complement of A284365.

%C Conjecture: -1 < n*s - a(n) < 2 for n >= 1, where s = (-1+sqrt(21))/2.

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

%e The first 6 letters of the word in A284364 are 101010, in which the positions of 1 are 1,3,5.

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

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

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

%Y Cf. A284364, A284365.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Mar 26 2017