The number 838731 (eight hundred thirty-eight thousand seven hundred thirty-one) is written in Roman numerals as follows: DCCCXXXVIIIDCCXXXI