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 A374789 #12 Jul 21 2024 12:48:39 %S A374789 0,1,3,2,4,9,5,6,10,7,12,11,8,13,27,14,15,18,28,16,19,30,29,17,21,20, %T A374789 31,22,36,32,33,23,24,37,34,25,39,38,35,26,40,81,41,42,45,54,82,43,46, %U A374789 55,84,83,44,48,47,57,56,85,49,58,90,86,87,50,51,63,59,60 %N A374789 Distinct values of A374560, in order of appearance, with offset 0. %C A374789 This sequence is a permutation of the nonnegative integers with inverse A374790. %C A374789 This sequence has infinitely many fixed points (A003462 among others). %H A374789 Rémy Sigrist, <a href="/A374789/b374789.txt">Table of n, a(n) for n = 0..9841</a> %H A374789 Rémy Sigrist, <a href="/A374789/a374789.gp.txt">PARI program</a> %H A374789 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a> %F A374789 a(n) <= A003462(k) for any n <= A003462(k). %e A374789 The first terms of A374560 alongside the first terms of this sequence are: %e A374789 m A374560(m) n a(n) %e A374789 -- ---------- - ---- %e A374789 0 0 0 0 %e A374789 1 1 1 1 %e A374789 2 1 %e A374789 3 3 2 3 %e A374789 4 2 3 2 %e A374789 5 3 %e A374789 6 4 4 4 %e A374789 7 4 %e A374789 8 4 %e A374789 9 4 %e A374789 10 9 5 9 %e A374789 11 5 6 5 %e A374789 12 6 7 6 %o A374789 (PARI) \\ See Links section. %Y A374789 Cf. A003462, A374560, A374790 (inverse). %K A374789 nonn,base %O A374789 0,3 %A A374789 _Rémy Sigrist_, Jul 20 2024