The number 24587 (twenty-four thousand five hundred eighty-seven) is written in Roman numerals as follows: XXIVDLXXXVII