Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #8 Dec 04 2016 19:46:25
%S 1,2,3,5,6,8,10,11,12,13,15,16,18,19,20,21,22,24,25,26,28,29,30,32,34,
%T 35,36,38,39,40,42,43,44,46,47,48,50,51,52,54,56,57,58,60,61,63,64,65,
%U 67,68,69,71,72,74,75,76,77,79,81,82,84,85,86,87,88,90,91,92,94,95,96,98,100,101,102,103,104,106,108,109,111,112,113,114,115,117,119,120,121,123,124,125
%N Rank transform of the sequence A159481; complement of A187898.
%C A187897 is the rank transform (see A187224) of the sequence of partial sums of the Thue-Morse sequence A010059.
%t t = Nest[Flatten[# /. {1 -> {1, 0}, 0 -> {0, 1}}] &, {1}, 8]; t
%t seqA = Table[Sum[t[[k]], {k, 1, n}], {n, 1, 256}] (* A159481 *)
%t seqB = Table[n, {n, 1, 220}]; (* A000027 *)
%t jointRank[{seqA_,
%t seqB_}] := {Flatten@Position[#1, {_, 1}],
%t Flatten@Position[#1, {_, 2}]} &[
%t Sort@Flatten[{{#1, 1} & /@ seqA, {#1, 2} & /@ seqB}, 1]];
%t limseqU =
%t FixedPoint[jointRank[{seqA, #1[[1]]}] &, jointRank[{seqA, seqB}]][[
%t 1]] (* A187897 *)
%t Complement[Range[Length[seqA]], limseqU] (* A187898 *)
%t (* by _Peter J. C. Moses_, Mar 15 2011 *)
%Y Cf. A187224, A187898, A187895.
%K nonn
%O 1,2
%A _Clark Kimberling_, Mar 15 2011