A father in his will left all his money to his children in the following manner
$1000 to the first born 1/10 of what remains
$2000 to the second born and 1/10 of what remains, then
$3000 to the third born and 1/10 of what remians, and so on.
how many children were there