The number 16842 (sixteen thousand eight hundred forty-two) is written in Roman numerals as follows: XVIDCCCXLII