The number 842039 (eight hundred forty-two thousand thirty-nine) is written in Roman numerals as follows: DCCCXLIIXXXIX