The number 840049 (eight hundred forty thousand forty-nine) is written in Roman numerals as follows: DCCCXLXLIX