The number 871823 (eight hundred seventy-one thousand eight hundred twenty-three) is written in Roman numerals as follows: DCCCLXXIDCCCXXIII