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