Characterization of multiplicative group of integers modulo n