We divide 812018 by 40
Our goal is to divide 812018 by 40.

On to step 1:
The number 40 fits into 8 0 times, leaving a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 40

Moving on to step 2:
40 goes into 81 2 times with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 80 away from 81, we end up with 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 40

Step 3:
The number 40 fits into 12 0 times, leaving a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 20.0
Deduct 0 from 12 and we're left with 12.
Bring next digit (0) of the dividend behind the 12 and repeat the process: 120 / 40

Advancing to step 4:
120 divided by 40 is 3 with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 203.0
Deduct 120 from 120 and we're left with 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 40

On to step 5:
The number 40 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 2030.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 40

On to step 6:
40 can be fit into 18 0 times, resulting in a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 20300.0
If we take 0 away from 18, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 7:
40 can be fit into 180 4 times, resulting in a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 20300.4
If we take 160 away from 180, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 20300.45
If we subtract 200 from 200, 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.

Advancing to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 20300.45
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.

On to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 20300.45
If we take 0 away from 0, we end up 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.

Our division results in 20300.45 with a remaining 0.0.