The number 28842 (twenty-eight thousand eight hundred forty-two) is written in Roman numerals as follows: XXVIIIDCCCXLII