We look at the division of 40167100 by 817 
We want to divide 40167100 by 817.

Moving on to step 1:
817 can be fit into 4 0 times, resulting in a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 817

Let's proceed to step 2:
When dividing 40 by 817, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 817

Going ahead to step 3:
The number 817 fits into 401 0 times, leaving a remainder of 401.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 401 and we're left with 401.
Take the next digit (6) from the dividend and append it to 401, then repeat: 4016 / 817

Going ahead to step 4:
The number 817 fits into 4016 4 times, leaving a remainder of 748.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 3268 from 4016 leaves us with 748.
Append the next digit (7) from the dividend to 748 and continue with: 7487 / 817

On to step 5:
If we divide 7487 by 817, we get 9 and a remainder of 134.
Use 9 as the next digit of our solution. 
Result so far: 49.0
Subtract 7353 from 7487 to get 134.
Grab the next digit (1) from the dividend, add it to 134, then carry on: 1341 / 817

Step 6:
The number 817 fits into 1341 1 times, leaving a remainder of 524.
Put 1 as the next digit of the answer. 
Result so far: 491.0
The remainder is 524 after subtracting 817 from 1341.
Bring next digit (0) of the dividend behind the 524 and repeat the process: 5240 / 817

Let's proceed to step 7:
5240 divided by 817 is 6 with a remainder of 338.
The next digit of our result is 6. 
Result so far: 4916.0
If we take 4902 away from 5240, we end up with 338.
Bring next digit (0) of the dividend behind the 338 and repeat the process: 3380 / 817

Advancing to step 8:
If we divide 3380 by 817, we get 4 and a remainder of 112.
Record the quotient 4 as the next digit in the result. 
Result so far: 49164.0
The remainder is 112 after subtracting 3268 from 3380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Going ahead to step 9:
817 can be fit into 1120 1 times, resulting in a remainder of 303.
The number 1 becomes the next digit in our result. 
Result so far: 49164.1
The remainder is 303 after subtracting 817 from 1120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

Step 10:
817 goes into 3030 3 times with a remainder of 579.
Use 3 as the next digit of our solution. 
Result so far: 49164.13
Subtracting 2451 from 3030 leaves us with 579.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5790, and continue the process.

Moving on to step 11:
The number 817 fits into 5790 7 times, leaving a remainder of 71.
Write down 7 as next digit of the result. 
Result so far: 49164.137
Subtract 5719 from 5790 to get 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Advancing to step 12:
If we divide 710 by 817, we get 0 and a remainder of 710.
The number 0 becomes the next digit in our result. 
Result so far: 49164.137
If we take 0 away from 710, we end up with 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

Let's proceed to step 13:
817 goes into 7100 8 times with a remainder of 564.
Use 8 as the next digit of our solution. 
Result so far: 49164.13708
Subtracting 6536 from 7100 leaves us with 564.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5640, and continue the process.

Moving on to step 14:
817 goes into 5640 6 times with a remainder of 738.
Use 6 as the next digit of our solution. 
Result so far: 49164.137086
Subtract 4902 from 5640 to get 738.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7380, and continue the process.

On to step 15:
817 can be fit into 7380 9 times, resulting in a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 49164.1370869
Deduct 7353 from 7380 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 16:
If we divide 270 by 817, we get 0 and a remainder of 270.
Write down 0 as next digit of the result. 
Result so far: 49164.1370869
Subtract 0 from 270 to get 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Our division results in 49164.1370869 with a remaining 2.7e-07.