login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Positions of 0 in A283966; complement of A284015.
3

%I #6 Mar 26 2017 11:51:29

%S 2,4,8,10,14,16,19,21,24,26,30,32,36,38,41,43,46,48,52,54,58,60,63,65,

%T 69,71,75,77,80,82,86,88,92,94,97,99,102,104,108,110,114,116,119,121,

%U 124,126,130,132,136,138,141,143,147,149,153,155,158,160,164

%N Positions of 0 in A283966; complement of A284015.

%C Conjecture: -1 < n*r - a(n) < 3 for n >= 1, where r = (7+sqrt(17))/4.

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

%e The first 5 letters of the word in A282966 are 10101, in which the positions of 0 are 2,4.

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

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

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

%Y Cf. A283966, A284015.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Mar 26 2017