The number 842164 (eight hundred forty-two thousand one hundred sixty-four) is written in Roman numerals as follows: DCCCXLIICLXIV