Le nombre 21787 (vingt-et-un mille sept cent quatre-vingt-sept) est écrit en chiffres romains comme suit: XXIDCCLXXXVII