%I A108882
%S A108882 1,0,1,1,0,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,
%T A108882 1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,
%U A108882 0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1
%N A108882 Period doubling sequence starting with '1 0 1'.
%C A108882 Start with S = 1,0,1; replace S by SS and complement the last bit; iterate.
%C A108882 Similar to A035263 but with a different start.
%t A108882 f[l_] := Block[{s = Flatten[{l, l}]}, s[[ -1]] = Mod[s[[ -1]] + 1, 2];
s]; Nest[f, {1, 0, 1}, 6] (from Robert G. Wilson v (rgwv(AT)rgwv.com),
Jul 16 2005)
%o A108882 s=[1 0 1]; loop s=concat(s,s);s(length(s))=(s(length(s))+1)modulo2 endloop
%Y A108882 Cf. A035263.
%Y A108882 Sequence in context: A132138 A141212 A137893 this_sequence A168002 A070829
A118175
%Y A108882 Adjacent sequences: A108879 A108880 A108881 this_sequence A108883 A108884
A108885
%K A108882 easy,nonn
%O A108882 1,1
%A A108882 Alexandre E. Losev (alosev(AT)svr.igic.bas.bg), Jul 14 2005
%E A108882 More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 16 2005
|