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 A377440 #8 Oct 31 2024 01:29:00 %S A377440 0,1,3,2,6,5,4,7,12,10,9,13,8,11,15,14,24,20,18,25,17,21,27,26,16,19, %T A377440 23,22,30,29,28,31,48,40,36,49,34,41,51,50,33,37,43,42,54,53,52,55,32, %U A377440 35,39,38,46,45,44,47,60,58,57,61,56,59,63,62,96,80,72,97 %N A377440 Lexicographically latest sequence of nonnegative integers such that for any n >= 0, A265263(n) = A265263(a(n)). %C A377440 This sequence is a self-inverse permutation of the nonnegative integers that preserves the binary length. %H A377440 Rémy Sigrist, <a href="/A377440/b377440.txt">Table of n, a(n) for n = 0..8191</a> %H A377440 Rémy Sigrist, <a href="/A377440/a377440.gp.txt">PARI program</a> %H A377440 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a> %e A377440 The first terms are: %e A377440 n a(n) A265263(n) A265263(a(n)) %e A377440 -- ---- ---------- ------------- %e A377440 0 0 0 0 %e A377440 1 1 1 1 %e A377440 2 3 2 2 %e A377440 3 2 2 2 %e A377440 4 6 4 4 %e A377440 5 5 4 4 %e A377440 6 4 4 4 %e A377440 7 7 5 5 %e A377440 8 12 8 8 %e A377440 9 10 8 8 %e A377440 10 9 8 8 %e A377440 11 13 9 9 %e A377440 12 8 8 8 %e A377440 13 11 9 9 %e A377440 14 15 10 10 %e A377440 15 14 10 10 %o A377440 (PARI) \\ See Links section. %Y A377440 Cf. A265263, A367307. %K A377440 nonn,base %O A377440 0,3 %A A377440 _Rémy Sigrist_, Oct 28 2024