O número 31887 (trinta e um mil oitocentos e oitenta e sete) é escrito em algarismos romanos da seguinte maneira: XXXIDCCCLXXXVII