The number 842171 (eight hundred forty-two thousand one hundred seventy-one) is written in Roman numerals as follows: DCCCXLIICLXXI