The number 31681 (thirty-one thousand six hundred eighty-one) is written in Roman numerals as follows: XXXIDCLXXXI