login
4

%I #8 May 13 2017 00:09:22

%S 1,3,4,6,8,10,11,13,14,16,18,20,21,23,25,27,28,30,32,34,35,37,38,40,

%T 42,44,45,47,48,50,52,54,55,57,59,61,62,64,66,68,69,71,72,74,76,78,79,

%U 81,83,85,86,88,90,92,93,95,96,98,100,102,103,105,107,109

%N (A285342)/2.

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

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

%t u = Flatten[Position[s, 0]] (* A285342 *)

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

%t u/2 (* A285344)

%Y Cf. A284341, A285342, A285343.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Apr 25 2017