The number 31730 (thirty-one thousand seven hundred thirty) is written in Roman numerals as follows: XXXIDCCXXX