The number 51823 (fifty-one thousand eight hundred twenty-three) is written in Roman numerals as follows: LIDCCCXXIII