The number 31801 (thirty-one thousand eight hundred one) is written in Roman numerals as follows: XXXIDCCCI