The number 865217 (eight hundred sixty-five thousand two hundred seventeen) is written in Roman numerals as follows: DCCCLXVCCXVII