The number 1642 (one thousand six hundred forty-two) is written in Roman numerals as follows: MDCXLII