The number 15842 (fifteen thousand eight hundred forty-two) is written in Roman numerals as follows: XVDCCCXLII