O número 40838 (quarenta mil e oitocentos e trinta e oito) é escrito em algarismos romanos da seguinte maneira: XLDCCCXXXVIII