The number 87842 (eighty-seven thousand eight hundred forty-two) is written in Roman numerals as follows: LXXXVIIDCCCXLII