1010004 in words is written as :

One Million Ten Thousand Four