The number 38511 (thirty-eight thousand five hundred eleven) is written in Roman numerals as follows: XXXVIIIDXI