We look at the division of 10167786 by 665 
We want to divide 10167786 by 665.

Advancing to step 1:
If we divide 1 by 665, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 665

On to step 2:
When dividing 10 by 665, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 10 to get 10.
Bring next digit (1) of the dividend behind the 10 and repeat the process: 101 / 665

On to step 3:
665 can be fit into 101 0 times, resulting in a remainder of 101.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 101 leaves us with 101.
Include the next digit (6) from the dividend after 101, then repeat: 1016 / 665

Step 4:
1016 divided by 665 is 1 with a remainder of 351.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 351 after subtracting 665 from 1016.
Grab the next digit (7) from the dividend, add it to 351, then carry on: 3517 / 665

Advancing to step 5:
When dividing 3517 by 665, we get 5 with a remainder of 192.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Subtracting 3325 from 3517 leaves us with 192.
Include the next digit (7) from the dividend after 192, then repeat: 1927 / 665

Step 6:
When dividing 1927 by 665, we get 2 with a remainder of 597.
Put 2 as the next digit of the answer. 
Result so far: 152.0
Subtracting 1330 from 1927 leaves us with 597.
Grab the next digit (8) from the dividend, add it to 597, then carry on: 5978 / 665

Step 7:
When dividing 5978 by 665, we get 8 with a remainder of 658.
Record the quotient 8 as the next digit in the result. 
Result so far: 1528.0
If we take 5320 away from 5978, we end up with 658.
Fetch the next digit (6) from the dividend, attach it to 658 and continue: 6586 / 665

On to step 8:
665 can be fit into 6586 9 times, resulting in a remainder of 601.
Use 9 as the next digit of our solution. 
Result so far: 15289.0
The remainder is 601 after subtracting 5985 from 6586.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6010, and continue the process.

Moving on to step 9:
665 can be fit into 6010 9 times, resulting in a remainder of 25.
The number 9 becomes the next digit in our result. 
Result so far: 15289.9
Deduct 5985 from 6010 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 10:
The number 665 fits into 250 0 times, leaving a remainder of 250.
The next digit of our result is 0. 
Result so far: 15289.9
Subtract 0 from 250 to get 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Let's proceed to step 11:
If we divide 2500 by 665, we get 3 and a remainder of 505.
Use 3 as the next digit of our solution. 
Result so far: 15289.903
If we subtract 1995 from 2500, we get 505.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5050, and continue the process.

Step 12:
665 can be fit into 5050 7 times, resulting in a remainder of 395.
Put 7 as the next digit of the answer. 
Result so far: 15289.9037
Subtracting 4655 from 5050 leaves us with 395.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3950, and continue the process.

Going ahead to step 13:
If we divide 3950 by 665, we get 5 and a remainder of 625.
The next digit of our result is 5. 
Result so far: 15289.90375
If we subtract 3325 from 3950, we get 625.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6250, and continue the process.

On to step 14:
When dividing 6250 by 665, we get 9 with a remainder of 265.
The number 9 becomes the next digit in our result. 
Result so far: 15289.903759
Subtracting 5985 from 6250 leaves us with 265.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2650, and continue the process.

Going ahead to step 15:
When dividing 2650 by 665, we get 3 with a remainder of 655.
Use 3 as the next digit of our solution. 
Result so far: 15289.9037593
Subtract 1995 from 2650 to get 655.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6550, and continue the process.

On to step 16:
6550 divided by 665 is 9 with a remainder of 565.
Put 9 as the next digit of the answer. 
Result so far: 15289.90375939
The remainder is 565 after subtracting 5985 from 6550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5650, and continue the process.

The final result is 15289.90375939 with a remainder of 5.65e-07.