Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #7 Dec 12 2016 09:12:15
%S 1,2,3,5,4,6,7,9,8,15,11,10,12,14,25,27,16,35,13,18,20,21,45,22,33,49,
%T 24,26,28,30,125,81,32,77,17,34,36,75,63,38,55,175,40,42,44,39,65,46,
%U 121,135,48,50,51,99,52,105,343,54,56,58,60,62,625,243,64,143,19,66,68,57,225,70,245,275,72,74,76,69,91,78,539,189,80
%N Permutation of natural numbers: a(1) = 1; for n > 1, if A079559(n) = 0, a(n) = 2*A234016(n), otherwise a(n) = A003961(a(A213714(n))).
%C For n > 1, a(n) = the number which is in the same position of array A246278 where n is located in array A256997.
%H Antti Karttunen, <a href="/A279336/b279336.txt">Table of n, a(n) for n = 1..10000</a>
%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%F a(1) = 1, for n > 1, if A079559(n) = 0 [when n is a term of A055938], a(n) = 2*A234016(n), otherwise a(n) = A003961(a(A213714(n))).
%F Other identities:
%F For all n >= 2, a(n) = A246278(A256998(n)).
%o (Scheme)
%o (definec (A279336 n) (cond ((= 1 n) n) ((zero? (A079559 n)) (* 2 (A234016 n))) (else (A003961 (A279336 (A213714 n))))))
%Y Inverse permutation: A279337.
%Y Cf. A003961, A005187, A079559, A213714, A234016, A246278, A256997, A256998.
%Y Cf. also A278501, A279338 (a variant).
%K nonn
%O 1,2
%A _Antti Karttunen_, Dec 10 2016