The number 842054 (eight hundred forty-two thousand fifty-four) is written in Roman numerals as follows: DCCCXLIILIV