O número 31771 (trinta e um mil setecentos e setenta e um) é escrito em algarismos romanos da seguinte maneira: XXXIDCCLXXI