Characteristic

The characteristic of a ring R is defined to be the smallest number of times one must use the ring's multiplicative identity element in a sum to get the additive identity element. The ring is said to have characteristic zero if this sum never reaches the additive identity.

characteristic(Ring)

Returns the characteristic of a ring.