-1

How can I calculate the number of zero divisors in the ring $$\mathbb Z /n\mathbb Z$$ for $n = 1.000.000$?

J. W. Tanner
  • 60,406

1 Answers1

1

Hint:

Every nonzero element in a finite ring with unity is either a unit or a zero divisor.

Can you calculate the number of units in the ring $\mathbb Z/1000000\mathbb Z$?

J. W. Tanner
  • 60,406