The number 842021 (eight hundred forty-two thousand twenty-one) is written in Roman numerals as follows: DCCCXLIIXXI