O número 31797 (trinta e um mil setecentos e noventa e sete) é escrito em algarismos romanos da seguinte maneira: XXXIDCCXCVII