login
Positions of 0 in the infinite palindromic word at A260390.
3

%I #6 Aug 13 2015 04:05:49

%S 2,4,6,8,10,14,16,18,20,22,24,26,28,30,32,34,38,40,42,44,46,50,52,54,

%T 56,58,62,64,66,68,70,72,74,76,78,80,82,86,88,90,92,94,96,98,100,102,

%U 104,106,110,112,114,116,118,120,122,124,126,128,130,134,136

%N Positions of 0 in the infinite palindromic word at A260390.

%C Complement of A260392, the positions of 1. See A260390 for a guide to related sequences.

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

%t u[1] = {1, 0}; m[1] = {u[1][[1]]};

%t u[n_] := u[n] = Join[u[n - 1], m[n - 1], Reverse[u[n - 1]]];

%t m[k_] := {u[k - 1][[k]]}; u[8] (* A260390 *)

%t Table[Length[u[n]], {n, 1, 20}] (* A083329 *)

%t Flatten[Position[u[8], 0]] (* A260391 *)

%t Flatten[Position[u[8], 1]] (* A260392 *)

%Y Cf. A260390, A260392.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jul 31 2015