Totient permutation.