Show that Zn is a field if and only if n is a prime.

Please show steps. Thanks!

do you know what a field is? go through and prove that when is prime fulfills all the conditions. note that if n is not prime you will have zero divisors (you must show this), which of course, is bad, and would make the group not a field.