The number 31711 (thirty-one thousand seven hundred eleven) is written in Roman numerals as follows: XXXIDCCXI