The number 31523 (thirty-one thousand five hundred twenty-three) is written in Roman numerals as follows: XXXIDXXIII