The number 51839 (fifty-one thousand eight hundred thirty-nine) is written in Roman numerals as follows: LIDCCCXXXIX