RE: Finding invertible permutation functions