The number 20582 (twenty thousand five hundred eighty-two) is written in Roman numerals as follows: XXDLXXXII