The number 3945 (three thousand nine hundred forty-five) is written in Roman numerals as follows: MMMCMXLV