# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a334998 Showing 1-1 of 1 %I A334998 #23 Sep 04 2020 19:46:38 %S A334998 1,3,2,7,4,5,6,11,8,13,10,15,12,9,14,19,16,29,18,23,20,17,22,27,24,21, %T A334998 26,31,28,25,30,35,32,45,34,39,36,33,38,43,40,53,42,47,44,41,46,51,48, %U A334998 61,50,55,52,49,54,59,56,37,58,63,60,57,62 %N A334998 Permutation of nonnegative integers that converts A162912 into A162911. %C A334998 For n > 0, A162912(a(n)) = A162911(n), as well as A162912(A054429(n)) = A162911(n). There is a self-inverse permutation, b, such that a(b(n)) = A054429(n), and a(n) = A054429(b(n)). %H A334998 Yosu Yurramendi, Table of n, a(n) for n = 1..4095 %H A334998 Index entries for sequences that are permutations of the natural numbers %o A334998 (R) %o A334998 # %o A334998 nmax <- 31 %o A334998 A334998 <- 1; A334999 <- 1 %o A334998 for(n in 1:31) { %o A334998 A334998[2*n ] <- 2*A334999[n]+1 %o A334998 A334998[2*n+1] <- 2*n %o A334998 A334999[2*n ] <- 2*n+1 %o A334998 A334999[2*n+1] <- 2*A334998[n] %o A334998 } %o A334998 A334998; A334999 %Y A334998 Cf. A334999 (inverse), A054429, A162911, A162912. %K A334998 nonn %O A334998 1,2 %A A334998 _Yosu Yurramendi_, May 19 2020 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE