The number 31776 (thirty-one thousand seven hundred seventy-six) is written in Roman numerals as follows: XXXIDCCLXXVI