The number 31631 (thirty-one thousand six hundred thirty-one) is written in Roman numerals as follows: XXXIDCXXXI