cp's OEIS Frontend

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.

A371461 Lexicographically latest sequence of distinct nonnegative integers such that for any n >= 0, A371442(a(n)) = A371442(n).

This page as a plain text file.
%I A371461 #15 Apr 11 2024 10:37:28
%S A371461 0,3,2,1,13,15,12,14,9,8,11,10,6,4,7,5,53,55,52,54,61,63,60,62,49,51,
%T A371461 48,50,57,59,56,58,37,36,39,38,33,32,35,34,45,44,47,46,41,40,43,42,26,
%U A371461 24,27,25,18,16,19,17,30,28,31,29,22,20,23,21,213,215,212
%N A371461 Lexicographically latest sequence of distinct nonnegative integers such that for any n >= 0, A371442(a(n)) = A371442(n).
%C A371461 This sequence is a self-inverse permutation of the nonnegative integers.
%H A371461 Rémy Sigrist, <a href="/A371461/b371461.txt">Table of n, a(n) for n = 0..16383</a>
%H A371461 Rémy Sigrist, <a href="/A371461/a371461.png">Scatterplot of the terms < 2^20</a>
%H A371461 Rémy Sigrist, <a href="/A371461/a371461.gp.txt">PARI program</a>
%H A371461 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%e A371461 The first terms, in decimal and in binary, are:
%e A371461   n   a(n)  bin(n)  bin(a(n))
%e A371461   --  ----  ------  ---------
%e A371461    0     0       0          0
%e A371461    1     3       1         11
%e A371461    2     2      10         10
%e A371461    3     1      11          1
%e A371461    4    13     100       1101
%e A371461    5    15     101       1111
%e A371461    6    12     110       1100
%e A371461    7    14     111       1110
%e A371461    8     9    1000       1001
%e A371461    9     8    1001       1000
%e A371461   10    11    1010       1011
%e A371461   11    10    1011       1010
%e A371461   12     6    1100        110
%e A371461   13     4    1101        100
%e A371461   14     7    1110        111
%e A371461   15     5    1111        101
%e A371461   16    53   10000     110101
%o A371461 (PARI) \\ See Links section.
%Y A371461 Cf. A371442.
%K A371461 nonn,base
%O A371461 0,2
%A A371461 _Rémy Sigrist_, Mar 24 2024