The number 872045 (eight hundred seventy-two thousand forty-five) is written in Roman numerals as follows: DCCCLXXIIXLV