13017 in words is written as :

Thirteen Thousand Seventeen