The number 49817 (forty-nine thousand eight hundred seventeen) is written in Roman numerals as follows: XLIXDCCCXVII