The number 166842 (one hundred sixty-six thousand eight hundred forty-two) is written in Roman numerals as follows: CLXVIDCCCXLII