The number 31843 (thirty-one thousand eight hundred forty-three) is written in Roman numerals as follows: XXXIDCCCXLIII