The number 10142 (ten thousand one hundred forty-two) is written in Roman numerals as follows: XCXLII