The number 38931 (thirty-eight thousand nine hundred thirty-one) is written in Roman numerals as follows: XXXVIIICMXXXI