The number 871987 (eight hundred seventy-one thousand nine hundred eighty-seven) is written in Roman numerals as follows: DCCCLXXICMLXXXVII