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 A347758 #17 Sep 18 2021 10:13:50 %S A347758 1,2,3,4,5,7,6,8,9,10,11,13,12,14,15,19,18,17,16,21,20,23,22,24,25,28, %T A347758 29,26,27,30,31,32,33,34,35,39,38,37,36,42,41,40,46,44,48,43,47,45,53, %U A347758 54,55,52,49,50,51,58,61,56,60,59,57,63,62,65,64,66,68 %N A347758 Let s(k) be the finite permutation associated to A109299(k); s(a(n)) is the inverse of s(n). %C A347758 This sequence is a self-inverse permutation of the positive integers. %H A347758 Rémy Sigrist, <a href="/A347758/b347758.txt">Table of n, a(n) for n = 1..10000</a> %H A347758 Rémy Sigrist, <a href="/A347758/a347758.gp.txt">PARI program for A347758</a> %H A347758 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a> %e A347758 For n = 42: %e A347758 - A109299(42) = 2^5 * 3^3 * 5^4 * 7^1 * 11^2, %e A347758 - so s(42) = [5, 3, 4, 1, 2], %e A347758 - and s(a(42)) = [4, 5, 2, 3, 1], %e A347758 - and A347752(a(42)) = 2^4 * 3^5 * 5^2 * 7^3 * 11^1 = A109299(40), %e A347758 - hence a(42) = 40. %o A347758 (PARI) See Links section. %Y A347758 Cf. A109299, A347759. %K A347758 nonn,look %O A347758 1,2 %A A347758 _Rémy Sigrist_, Sep 12 2021