The devil made a proposition to Daniel Webster.
The devil proposed paying Daniel for services in the following way:
"On the first day, I will pay you $1,000 early in the morning.
At the end of the day, you must pay me a commission of $100.
At the end of the day, we will both determine your next day's salary and my commission in the following way:
I will double what you have at the end of the day (your net pay), but you must double the amount that you pay me.
Will you work for me for a month?"
How long should Daniel work for the devil?
What is Daniel's net pay (salary minus commission) after five days?
What are Daniel's total earnings (the sum of his net pays) after eight days?