The number 31647 (thirty-one thousand six hundred forty-seven) is written in Roman numerals as follows: XXXIDCXLVII