login
Positions of 1 in A285467; complement of A285468.
3

%I #4 Apr 30 2017 07:51:26

%S 1,2,3,4,5,6,10,11,12,13,14,15,16,20,21,22,23,24,25,26,30,31,32,33,34,

%T 35,36,40,41,42,43,44,45,46,50,51,52,53,54,55,56,60,64,68,72,76,80,84,

%U 85,86,87,88,89,90,94,95,96,97,98,99,100,104,105,106,107

%N Positions of 1 in A285467; complement of A285468.

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

%e As a word, A285467 = 11111100011..., in which 1 is in positions 1,2,3,4,5,6,10,...

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

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

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

%Y Cf. A285464, A285467, A285468.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Apr 29 2017