The number 20512 (twenty thousand five hundred twelve) is written in Roman numerals as follows: XXDXII