login
Positions of 0 in A284364; complement of A284366.
3

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

%S 2,4,6,9,11,13,16,18,20,23,25,27,29,31,33,36,38,40,43,45,47,50,52,54,

%T 56,58,60,63,65,67,70,72,74,77,79,81,83,85,87,90,92,94,97,99,101,104,

%U 106,108,111,113,115,118,120,122,125,127,129,131,133,135,138

%N Positions of 0 in A284364; complement of A284366.

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

%H Clark Kimberling, <a href="/A284365/b284365.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 0 are 2,4,6.

%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, A284366.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Mar 26 2017