login
Positions of 0 in A285530; complement of A285532.
6

%I #8 Nov 04 2019 14:59:24

%S 1,3,4,5,7,8,11,13,14,19,21,22,23,25,26,27,29,30,31,33,34,35,37,38,39,

%T 41,42,45,47,48,53,55,56,57,59,60,61,63,64,65,67,68,71,73,74,81,83,84,

%U 89,91,92,93,95,96,99,101,102,107,109,110,111,113,114,115

%N Positions of 0 in A285530; complement of A285532.

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

%H Robert Israel, <a href="/A285531/b285531.txt">Table of n, a(n) for n = 1..10000</a>

%e As a word, A285530 = 01000100..., in which 0 is in positions 1,3,4,5,7,...

%p f:= proc(i) if i=0 then (1,1) else (0,1,0,0) fi end proc:

%p S:= [0]:

%p while numboccur(0,S) < 10000 do

%p S:= map(f,map(f,S))

%p od:

%p ListTools:-SearchAll(0,S); # _Robert Israel_, Nov 04 2019

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

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

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

%Y Cf. A285530, A285532, A285533.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Apr 30 2017