Characteristic of a ring