The number 31651 (thirty-one thousand six hundred fifty-one) is written in Roman numerals as follows: XXXIDCLI