# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a235048 Showing 1-1 of 1 %I A235048 #14 Dec 11 2021 04:40:43 %S A235048 0,2,1,8,18,26,60,5,3,56,37,11,280,182,10,32,100,17,4,170,28,80,1158, %T A235048 53,360,1082,7,548,121,98,156,341,21,2528,262,35,1810,14,561,512,9, %U A235048 365,58,113,525,728,408,5432,3720,842,43,302,540,23,208,1025,1090,86,57 %N A235048 Permutation of nonnegative integers: a(n) = A234840(A235199(n)+1) - 1. %C A235048 Let b(n)=a(n), but with instead of a(3)=8 and a(4)=18, define b(3)=18 and b(4)=8 (i.e. otherwise same, but the values in positions 3 and 4 are swapped). The sequence b is then the permutation induced when A234744 is restricted to primes, and the indices of the reordered primes are collected: We have A049084(A234744(A000040(n))) = b(n) for all n. Or in other words, the permutation b completely determines the permutation A234744, because the latter is multiplicative. (Please see also comments there and at A234743.) %H A235048 Antti Karttunen, Table of n, a(n) for n = 0..499 %H A235048 Index entries for sequences that are permutations of the natural numbers %F A235048 a(n) = A234840(A235199(n)+1) - 1. %o A235048 (Scheme) (define (A235048 n) (- (A234840 (+ 1 (A235199 n))) 1)) %Y A235048 Inverse: A235047. Cf. A234840, A235199, A234744. %K A235048 nonn %O A235048 0,2 %A A235048 _Antti Karttunen_, Jan 10 2014 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE