We look at the division of 40221863 by 667 
We want to divide 40221863 by 667.

On to step 1:
When dividing 4 by 667, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 667

Moving on to step 2:
40 divided by 667 is 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Include the next digit (2) from the dividend after 40, then repeat: 402 / 667

Step 3:
If we divide 402 by 667, we get 0 and a remainder of 402.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 402, we end up with 402.
Take the next digit (2) from the dividend and append it to 402, then repeat: 4022 / 667

Let's proceed to step 4:
When dividing 4022 by 667, we get 6 with a remainder of 20.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtracting 4002 from 4022 leaves us with 20.
Append the next digit (1) from the dividend to 20 and continue with: 201 / 667

On to step 5:
The number 667 fits into 201 0 times, leaving a remainder of 201.
The next digit of our result is 0. 
Result so far: 60.0
Deduct 0 from 201 and we're left with 201.
Include the next digit (8) from the dividend after 201, then repeat: 2018 / 667

Let's proceed to step 6:
2018 divided by 667 is 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 603.0
The remainder is 17 after subtracting 2001 from 2018.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 667

Let's proceed to step 7:
667 goes into 176 0 times with a remainder of 176.
Put 0 as the next digit of the answer. 
Result so far: 6030.0
Deduct 0 from 176 and we're left with 176.
Include the next digit (3) from the dividend after 176, then repeat: 1763 / 667

Moving on to step 8:
1763 divided by 667 is 2 with a remainder of 429.
Use 2 as the next digit of our solution. 
Result so far: 60302.0
Deduct 1334 from 1763 and we're left with 429.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4290, and continue the process.

Step 9:
If we divide 4290 by 667, we get 6 and a remainder of 288.
The next digit of our result is 6. 
Result so far: 60302.6
The remainder is 288 after subtracting 4002 from 4290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Let's proceed to step 10:
2880 divided by 667 is 4 with a remainder of 212.
Record the quotient 4 as the next digit in the result. 
Result so far: 60302.64
Subtracting 2668 from 2880 leaves us with 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Going ahead to step 11:
667 goes into 2120 3 times with a remainder of 119.
Record the quotient 3 as the next digit in the result. 
Result so far: 60302.643
If we subtract 2001 from 2120, we get 119.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

Going ahead to step 12:
667 can be fit into 1190 1 times, resulting in a remainder of 523.
Use 1 as the next digit of our solution. 
Result so far: 60302.6431
The remainder is 523 after subtracting 667 from 1190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5230, and continue the process.

On to step 13:
When dividing 5230 by 667, we get 7 with a remainder of 561.
Use 7 as the next digit of our solution. 
Result so far: 60302.64317
Subtract 4669 from 5230 to get 561.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5610, and continue the process.

Moving on to step 14:
The number 667 fits into 5610 8 times, leaving a remainder of 274.
Record the quotient 8 as the next digit in the result. 
Result so far: 60302.643178
Deduct 5336 from 5610 and we're left with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Let's proceed to step 15:
When dividing 2740 by 667, we get 4 with a remainder of 72.
Use 4 as the next digit of our solution. 
Result so far: 60302.6431784
The remainder is 72 after subtracting 2668 from 2740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 16:
When dividing 720 by 667, we get 1 with a remainder of 53.
Use 1 as the next digit of our solution. 
Result so far: 60302.64317841
If we subtract 667 from 720, we get 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

The quotient of the division is 60302.64317841, and the remainder is 5.3e-08.