The number 7842 (seven thousand eight hundred forty-two) is written in Roman numerals as follows: VIIDCCCXLII