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