The number 977838 (nine hundred seventy-seven thousand eight hundred thirty-eight) is written in Roman numerals as follows: CMLXXVIIDCCCXXXVIII