The number 31594 (thirty-one thousand five hundred ninety-four) is written in Roman numerals as follows: XXXIDXCIV