The number 165031 (one hundred sixty-five thousand thirty-one) is written in Roman numerals as follows: CLXVXXXI