1

As far as I know, in order to calculate Nil(Z_n) I need to calculate each number raised to different values and see if I get 0. That is a very slow and inefficient way, in my opinion.

Is there any other faster way to do this?

For example, U(Z_n) is equal with the numbers with the property (number, n) = 1.

Is there any similar thing for Nil(Z_n)?

Thanks.

J. W. Tanner
  • 60,406

1 Answers1

1

For any integer $n$,

the nilpotent elements of the finite ring $ \mathbb {Z} /n\mathbb {Z}$ are all of the multiples of the radical of $n$,

which is the product of the distinct prime numbers dividing $ n$.

For example, rad$(12)=$rad$(2^2\cdot3)=2\cdot3=6$,

so the nilpotent elements of $\mathbb Z/12\mathbb Z$ are multiples of $6$.

J. W. Tanner
  • 60,406