The number 310542 (three hundred ten thousand five hundred forty-two) is written in Roman numerals as follows: CCCXDXLII