O número 40877 (quarenta mil e oitocentos e setenta e sete) é escrito em algarismos romanos da seguinte maneira: XLDCCCLXXVII