The number 20587 (twenty thousand five hundred eighty-seven) is written in Roman numerals as follows: XXDLXXXVII