The number 845871 (eight hundred forty-five thousand eight hundred seventy-one) is written in Roman numerals as follows: DCCCXLVDCCCLXXI