The number 172842 (one hundred seventy-two thousand eight hundred forty-two) is written in Roman numerals as follows: CLXXIIDCCCXLII