10166 in words is written as :

Ten Thousand One Hundred and Sixty Six