The number 23842 (twenty-three thousand eight hundred forty-two) is written in Roman numerals as follows: XXIIIDCCCXLII