The number 6842 (six thousand eight hundred forty-two) is written in Roman numerals as follows: VIDCCCXLII