1006517 in words is written as :

One Million Six Thousand Five Hundred and Seventeen