3117 in words is written as :

Three Thousand One Hundred and Seventeen