This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A187897 #8 Dec 04 2016 19:46:25 %S A187897 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 A187897 35,36,38,39,40,42,43,44,46,47,48,50,51,52,54,56,57,58,60,61,63,64,65, %U A187897 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 A187897 Rank transform of the sequence A159481; complement of A187898. %C A187897 A187897 is the rank transform (see A187224) of the sequence of partial sums of the Thue-Morse sequence A010059. %t A187897 t = Nest[Flatten[# /. {1 -> {1, 0}, 0 -> {0, 1}}] &, {1}, 8]; t %t A187897 seqA = Table[Sum[t[[k]], {k, 1, n}], {n, 1, 256}] (* A159481 *) %t A187897 seqB = Table[n, {n, 1, 220}]; (* A000027 *) %t A187897 jointRank[{seqA_, %t A187897 seqB_}] := {Flatten@Position[#1, {_, 1}], %t A187897 Flatten@Position[#1, {_, 2}]} &[ %t A187897 Sort@Flatten[{{#1, 1} & /@ seqA, {#1, 2} & /@ seqB}, 1]]; %t A187897 limseqU = %t A187897 FixedPoint[jointRank[{seqA, #1[[1]]}] &, jointRank[{seqA, seqB}]][[ %t A187897 1]] (* A187897 *) %t A187897 Complement[Range[Length[seqA]], limseqU] (* A187898 *) %t A187897 (* by _Peter J. C. Moses_, Mar 15 2011 *) %Y A187897 Cf. A187224, A187898, A187895. %K A187897 nonn %O A187897 1,2 %A A187897 _Clark Kimberling_, Mar 15 2011