The number 171242 (one hundred seventy-one thousand two hundred forty-two) is written in Roman numerals as follows: CLXXICCXLII