1006584 in words is written as :

One Million Six Thousand Five Hundred and Eighty Four