The number 254017 (two hundred fifty-four thousand seventeen) is written in Roman numerals as follows: CCLIVXVII