The number 871864 (eight hundred seventy-one thousand eight hundred sixty-four) is written in Roman numerals as follows: DCCCLXXIDCCCLXIV