The number 51217 (fifty-one thousand two hundred seventeen) is written in Roman numerals as follows: LICCXVII