The number 31585 (thirty-one thousand five hundred eighty-five) is written in Roman numerals as follows: XXXIDLXXXV