The number 31509 (thirty-one thousand five hundred nine) is written in Roman numerals as follows: XXXIDIX