The number 31511 (thirty-one thousand five hundred eleven) is written in Roman numerals as follows: XXXIDXI