Let's divide 801868 by 40
Our goal is to divide 801868 by 40.

Going ahead to step 1:
40 can be fit into 8 0 times, resulting in a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (0) from the dividend to 8 and continue with: 80 / 40

Let's proceed to step 2:
80 divided by 40 is 2 with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 80 from 80 leaves us with 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 40

Advancing to step 3:
When dividing 1 by 40, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 20.0
Deduct 0 from 1 and we're left with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 40

Advancing to step 4:
40 goes into 18 0 times with a remainder of 18.
Put 0 as the next digit of the answer. 
Result so far: 200.0
Deduct 0 from 18 and we're left with 18.
Fetch the next digit (6) from the dividend, attach it to 18 and continue: 186 / 40

Moving on to step 5:
40 goes into 186 4 times with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 2004.0
Deduct 160 from 186 and we're left with 26.
Bring next digit (8) of the dividend behind the 26 and repeat the process: 268 / 40

Moving on to step 6:
If we divide 268 by 40, we get 6 and a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 20046.0
If we take 240 away from 268, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 7:
40 can be fit into 280 7 times, resulting in a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 20046.7
Subtracting 280 from 280 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.

On to step 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 20046.7
The remainder is 0 after subtracting 0 from 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 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 20046.7
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.

The final outcome is 20046.7, with a leftover of 0.0.