If R is a commutative ring with identity that has exactly three ideals 0, I and R. Show that if a does not belong to the I then a is unit R.
Every element outside the maximal ideal of a local ring is a unit