The number 38506 (thirty-eight thousand five hundred six) is written in Roman numerals as follows: XXXVIIIDVI