login
Positions of 1 in A284772; complement of A284773.
3

%I #4 Apr 15 2017 09:12:27

%S 2,5,8,10,13,16,18,21,24,27,30,32,35,38,40,43,46,49,52,54,57,60,62,65,

%T 68,70,73,76,78,81,84,87,90,92,95,98,100,103,106,109,112,114,117,120,

%U 122,125,128,130,133,136,138,141,144,147,150,152,155,158,160

%N Positions of 1 in A284772; complement of A284773.

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

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

%e As a word, A284772 = 010010..., in which 1 is in positions 2,5,...

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

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

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

%Y Cf. A284772, A284773.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Apr 14 2017