The number 187042 (one hundred eighty-seven thousand forty-two) is written in Roman numerals as follows: CLXXXVIIXLII