The number 965031 (nine hundred sixty-five thousand thirty-one) is written in Roman numerals as follows: CMLXVXXXI