The number 2742 (two thousand seven hundred forty-two) is written in Roman numerals as follows: MMDCCXLII