The number 2587 (two thousand five hundred eighty-seven) is written in Roman numerals as follows: MMDLXXXVII