The number 51717 (fifty-one thousand seven hundred seventeen) is written in Roman numerals as follows: LIDCCXVII