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