character and modulo arithmetic 645933