The number 271842 (two hundred seventy-one thousand eight hundred forty-two) is written in Roman numerals as follows: CCLXXIDCCCXLII