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