The number 10587 (ten thousand five hundred eighty-seven) is written in Roman numerals as follows: XDLXXXVII