The number 87042 (eighty-seven thousand forty-two) is written in Roman numerals as follows: LXXXVIIXLII