The number 51822 (fifty-one thousand eight hundred twenty-two) is written in Roman numerals as follows: LIDCCCXXII