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