The number 126842 (one hundred twenty-six thousand eight hundred forty-two) is written in Roman numerals as follows: CXXVIDCCCXLII