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