The number 54817 (fifty-four thousand eight hundred seventeen) is written in Roman numerals as follows: LIVDCCCXVII