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 A232643 #10 Jan 15 2018 23:39:09 %S A232643 1,2,4,3,6,5,9,8,14,7,12,11,19,10,17,16,27,15,25,24,40,13,22,21,35,20, %T A232643 33,32,53,18,30,29,48,28,46,45,74,26,43,42,69,41,67,66,108,23,38,37, %U A232643 61,36,59,58,95,34,56,55,90,54,88,87,142,31,51,50,82,49 %N A232643 Inverse permutation of the sequence of positive integers at A232642. %H A232643 Clark Kimberling and Reinhard Zumkeller, <a href="/A232643/b232643.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Clark Kimberling) %t A232643 z = 14; g[1] = {1}; g[2] = {2}; g[n_] := Riffle[g[n - 1] + 1, 2 g[n - 1] + 2]; 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]]]; g1[1] = g[1]; g1[2] = g[2]; t = Flatten[Table[g1[n], {n, 1, z}]] (* A232642 *) %t A232643 Table[Length[g1[n]], {n, 1, z}] (* A000045 *) %t A232643 Flatten[Table[Position[t, n], {n, 1, 200}]] (* A232643 *) %o A232643 (Haskell) %o A232643 import Data.List (elemIndex); import Data.Maybe (fromJust) %o A232643 a232643 = (+ 1) . fromJust . (`elemIndex` a232642_list) %o A232643 -- _Reinhard Zumkeller_, May 14 2015 %Y A232643 Cf. A232559, A232639, A232642, A000045. %K A232643 nonn,easy %O A232643 1,2 %A A232643 _Clark Kimberling_, Nov 28 2013 %E A232643 b-File corrected by _Reinhard Zumkeller_, May 14 2015