We divide 40047 by 80
We want to divide 40047 by 80.

Going ahead to step 1:
When dividing 4 by 80, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 80

Let's proceed to step 2:
40 divided by 80 is 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Take the next digit (0) from the dividend and append it to 40, then repeat: 400 / 80

Step 3:
If we divide 400 by 80, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 400 from 400, we get 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 80

Let's proceed to step 4:
80 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 50.0
If we subtract 0 from 4, we get 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 80

Advancing to step 5:
47 divided by 80 is 0 with a remainder of 47.
Use 0 as the next digit of our solution. 
Result so far: 500.0
The remainder is 47 after subtracting 0 from 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

On to step 6:
470 divided by 80 is 5 with a remainder of 70.
The number 5 becomes the next digit in our result. 
Result so far: 500.5
If we take 400 away from 470, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 7:
If we divide 700 by 80, we get 8 and a remainder of 60.
The next digit of our result is 8. 
Result so far: 500.58
The remainder is 60 after subtracting 640 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 8:
80 can be fit into 600 7 times, resulting in a remainder of 40.
Use 7 as the next digit of our solution. 
Result so far: 500.587
Deduct 560 from 600 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 9:
The number 80 fits into 400 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 500.5875
Subtracting 400 from 400 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
The number 80 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 500.5875
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 11:
80 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 500.5875
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 500.5875 and a remainder of 0.0.