The number 840142 (eight hundred forty thousand one hundred forty-two) is written in Roman numerals as follows: DCCCXLCXLII