The number 31931 (thirty-one thousand nine hundred thirty-one) is written in Roman numerals as follows: XXXICMXXXI