login
Inverse of A304755: if A304755(k) = n, a(n) = k, or 0 if n does not occur in A304755.
1

%I #5 May 21 2018 11:28:36

%S 1,2,4,6,19,3,32,12,9,18,62,5,488,31,23,87,1449,8,5505,20,36,61,14658,

%T 11,96,487,15,33,50871,22,190668,198,66,1448,44,7,736226,5504,492,25,

%U 3482516,35

%N Inverse of A304755: if A304755(k) = n, a(n) = k, or 0 if n does not occur in A304755.

%C This is a left inverse of A304755, and also the right inverse if A304755 is a permutation of natural numbers, in which case the fallback clause is unnecessary.

%F For n >= 1, a(A304755(n)) = n.

%o (PARI) \\ Use the program given in A304755.

%Y Cf. A304755 (inverse).

%K nonn

%O 1,2

%A _Antti Karttunen_, May 20 2018