The number 2542 (two thousand five hundred forty-two) is written in Roman numerals as follows: MMDXLII