The number 10542 (ten thousand five hundred forty-two) is written in Roman numerals as follows: XDXLII