%I #16 Apr 25 2016 12:00:14
%S 1,3,2,9,7,10,5,27,4,6,13,18,11,15,14,81,19,12,17,28,22,21,29,40,49,
%T 33,8,20,23,42,37,243,26,35,34,100,31,39,38,24,43,30,41,45,44,51,53,
%U 80,25,52,46,50,47,56,57,54,55,62,61,84,59,58,68,729,69,70,71,63,65,66,67,108
%N Except for a(1) = 1, rearrangement of natural numbers such that a(n) is not equal to n, but the prime signature of a(n) is the same as that of n.
%C a(a(n)) = n. - _Amarnath Murthy_ and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jun 20 2003
%H Paul Tek, <a href="/A084398/b084398.txt">Table of n, a(n) for n = 1..10000</a>
%H Paul Tek, <a href="/A084398/a084398.txt">PERL program for this sequence</a>
%e The first 4 numbers with the prime signature p*q are 6, 10, 14 and 15, so a(6) = 10, a(10) = 6, a(14) = 15 and a(15) = 14.
%o (Perl) See Links section.
%Y Cf. A046523.
%K easy,nonn
%O 1,2
%A _Amarnath Murthy_, May 31 2003
%E More terms from _David Wasserman_, Dec 21 2004