The number 5931 (five thousand nine hundred thirty-one) is written in Roman numerals as follows: VCMXXXI