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