The number 838171 (eight hundred thirty-eight thousand one hundred seventy-one) is written in Roman numerals as follows: DCCCXXXVIIICLXXI