The number 23742 (twenty-three thousand seven hundred forty-two) is written in Roman numerals as follows: XXIIIDCCXLII