The number 165842 (one hundred sixty-five thousand eight hundred forty-two) is written in Roman numerals as follows: CLXVDCCCXLII