The number 865871 (eight hundred sixty-five thousand eight hundred seventy-one) is written in Roman numerals as follows: DCCCLXVDCCCLXXI