The number 42587 (forty-two thousand five hundred eighty-seven) is written in Roman numerals as follows: XLIIDLXXXVII