1006589 in words is written as :

One Million Six Thousand Five Hundred and Eighty Nine