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 A232641 #4 Nov 30 2013 14:09:09 %S A232641 1,2,3,5,4,7,6,10,9,15,8,13,12,20,11,18,17,28,16,26,25,41,14,23,22,36, %T A232641 21,34,33,54,19,31,30,49,29,47,46,75,27,44,43,70,42,68,67,109,24,39, %U A232641 38,62,37,60,59,96,35,57,56,91,55,89,88,143,32,52,51,83 %N A232641 Inverse permutation of the sequence of positive integers at A232640. %H A232641 Clark Kimberling, <a href="/A232641/b232641.txt">Table of n, a(n) for n = 1..1000</a> %t A232641 z = 14; g[1] = {1}; g[2] = {2}; g[n_] := Riffle[g[n - 1] + 1, 2 g[n - 1] + 1]; j[2] = Join[g[1], g[2]]; j[n_] := Join[j[n - 1], g[n]]; g1[n_] := DeleteDuplicates[DeleteCases[g[n], Alternatives @@ j[n - 1]]]; %t A232641 g1[1] = g[1]; g1[2] = g[2]; t = Flatten[Table[g1[n], {n, 1, z}]] (* A232640 *) %t A232641 Table[Length[g1[n]], {n, 1, z}] (* A000045 *) %t A232641 Flatten[Table[Position[t, n], {n, 1, 200}]] (* A232641 *) %Y A232641 Cf. A232559, A232639, A232640, A000045. %K A232641 nonn,easy %O A232641 1,2 %A A232641 _Clark Kimberling_, Nov 28 2013