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