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