The number 31764 (thirty-one thousand seven hundred sixty-four) is written in Roman numerals as follows: XXXIDCCLXIV