The number 51788 (fifty-one thousand seven hundred eighty-eight) is written in Roman numerals as follows: LIDCCLXXXVIII