The number 874017 (eight hundred seventy-four thousand seventeen) is written in Roman numerals as follows: DCCCLXXIVXVII