The number 38531 (thirty-eight thousand five hundred thirty-one) is written in Roman numerals as follows: XXXVIIIDXXXI