87107165 divided by 386 
We want to figure out the number of times 87107165 can be divided by 386.

Step 1:
When dividing 8 by 386, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 386

Let's proceed to step 2:
When dividing 87 by 386, we get 0 with a remainder of 87.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 87 after subtracting 0 from 87.
Bring next digit (1) of the dividend behind the 87 and repeat the process: 871 / 386

Going ahead to step 3:
If we divide 871 by 386, we get 2 and a remainder of 99.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 99 after subtracting 772 from 871.
Append the next digit (0) from the dividend to 99 and continue with: 990 / 386

Going ahead to step 4:
990 divided by 386 is 2 with a remainder of 218.
The next digit of our result is 2. 
Result so far: 22.0
If we subtract 772 from 990, we get 218.
Fetch the next digit (7) from the dividend, attach it to 218 and continue: 2187 / 386

Let's proceed to step 5:
If we divide 2187 by 386, we get 5 and a remainder of 257.
Put 5 as the next digit of the answer. 
Result so far: 225.0
If we subtract 1930 from 2187, we get 257.
Fetch the next digit (1) from the dividend, attach it to 257 and continue: 2571 / 386

Step 6:
The number 386 fits into 2571 6 times, leaving a remainder of 255.
Put 6 as the next digit of the answer. 
Result so far: 2256.0
If we subtract 2316 from 2571, we get 255.
Take the next digit (6) from the dividend and append it to 255, then repeat: 2556 / 386

Going ahead to step 7:
If we divide 2556 by 386, we get 6 and a remainder of 240.
Put 6 as the next digit of the answer. 
Result so far: 22566.0
The remainder is 240 after subtracting 2316 from 2556.
Grab the next digit (5) from the dividend, add it to 240, then carry on: 2405 / 386

Let's proceed to step 8:
386 goes into 2405 6 times with a remainder of 89.
Write down 6 as next digit of the result. 
Result so far: 225666.0
If we subtract 2316 from 2405, we get 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 890, and continue the process.

Going ahead to step 9:
386 can be fit into 890 2 times, resulting in a remainder of 118.
Write down 2 as next digit of the result. 
Result so far: 225666.2
If we subtract 772 from 890, we get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Going ahead to step 10:
386 can be fit into 1180 3 times, resulting in a remainder of 22.
The number 3 becomes the next digit in our result. 
Result so far: 225666.23
If we take 1158 away from 1180, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 11:
386 can be fit into 220 0 times, resulting in a remainder of 220.
Record the quotient 0 as the next digit in the result. 
Result so far: 225666.23
Subtract 0 from 220 to get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Let's proceed to step 12:
If we divide 2200 by 386, we get 5 and a remainder of 270.
Write down 5 as next digit of the result. 
Result so far: 225666.2305
The remainder is 270 after subtracting 1930 from 2200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

On to step 13:
When dividing 2700 by 386, we get 6 with a remainder of 384.
The next digit of our result is 6. 
Result so far: 225666.23056
Subtracting 2316 from 2700 leaves us with 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Step 14:
If we divide 3840 by 386, we get 9 and a remainder of 366.
Use 9 as the next digit of our solution. 
Result so far: 225666.230569
Deduct 3474 from 3840 and we're left with 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Step 15:
When dividing 3660 by 386, we get 9 with a remainder of 186.
Use 9 as the next digit of our solution. 
Result so far: 225666.2305699
Deduct 3474 from 3660 and we're left with 186.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

After the division, we end up with 225666.2305699 and a remainder of 1.86e-06.