The number 31747 (thirty-one thousand seven hundred forty-seven) is written in Roman numerals as follows: XXXIDCCXLVII