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