The number 31716 (thirty-one thousand seven hundred sixteen) is written in Roman numerals as follows: XXXIDCCXVI