The number 12531 (twelve thousand five hundred thirty-one) is written in Roman numerals as follows: XIIDXXXI