A permutation representation of the automorphisms of a group