The units of a number space Z_n, are the set of elements which are invertible.

Aka $gcd(a,n) == 1$