The number 840013 (eight hundred forty thousand thirteen) is written in Roman numerals as follows: DCCCXLXIII