Let's divide 418220 by 40
We're looking to find how many times 40 goes into 418220.

Step 1:
If we divide 4 by 40, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (1) from the dividend to 4 and continue with: 41 / 40

Moving on to step 2:
If we divide 41 by 40, we get 1 and a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 40 from 41, we get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 40

Step 3:
40 goes into 18 0 times with a remainder of 18.
The next digit of our result is 0. 
Result so far: 10.0
If we subtract 0 from 18, we get 18.
Bring next digit (2) of the dividend behind the 18 and repeat the process: 182 / 40

Going ahead to step 4:
40 can be fit into 182 4 times, resulting in a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 104.0
Subtracting 160 from 182 leaves us with 22.
Fetch the next digit (2) from the dividend, attach it to 22 and continue: 222 / 40

On to step 5:
If we divide 222 by 40, we get 5 and a remainder of 22.
The next digit of our result is 5. 
Result so far: 1045.0
The remainder is 22 after subtracting 200 from 222.
Take the next digit (0) from the dividend and append it to 22, then repeat: 220 / 40

Advancing to step 6:
When dividing 220 by 40, we get 5 with a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 10455.0
If we take 200 away from 220, 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.

On to step 7:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 10455.5
Subtracting 200 from 200 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 8:
0 divided by 40 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 10455.5
Deduct 0 from 0 and we're left 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.

Step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 10455.5
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.

Our division results in 10455.5 with a remaining 0.0.