How can I calculate the number of zero divisors in the ring $$\mathbb Z /n\mathbb Z$$ for $n = 1.000.000$?
Asked
Active
Viewed 217 times
-1
-
Welcome to Mathematics Stack Exchange. Are you familiar with Euler's totient function? – J. W. Tanner Jun 01 '20 at 20:25
1 Answers
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