The number 840506 (eight hundred forty thousand five hundred six) is written in Roman numerals as follows: DCCCXLDVI