The number 31745 (thirty-one thousand seven hundred forty-five) is written in Roman numerals as follows: XXXIDCCXLV