The number 23042 (twenty-three thousand forty-two) is written in Roman numerals as follows: XXIIIXLII