The number 31859 (thirty-one thousand eight hundred fifty-nine) is written in Roman numerals as follows: XXXIDCCCLIX