The number 51831 (fifty-one thousand eight hundred thirty-one) is written in Roman numerals as follows: LIDCCCXXXI