The number 904871 (nine hundred four thousand eight hundred seventy-one) is written in Roman numerals as follows: CMIVDCCCLXXI