The number 164040 (one hundred sixty-four thousand forty) is written in Roman numerals as follows: CLXIVXL