The number 965871 (nine hundred sixty-five thousand eight hundred seventy-one) is written in Roman numerals as follows: CMLXVDCCCLXXI