We're dividing 85877666 by 397 
We want to figure out the number of times 85877666 can be divided by 397.

Going ahead to step 1:
If we divide 8 by 397, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Grab the next digit (5) from the dividend, add it to 8, then carry on: 85 / 397

Step 2:
397 can be fit into 85 0 times, resulting in a remainder of 85.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 85 to get 85.
Include the next digit (8) from the dividend after 85, then repeat: 858 / 397

Going ahead to step 3:
When dividing 858 by 397, we get 2 with a remainder of 64.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 794 from 858, we get 64.
Include the next digit (7) from the dividend after 64, then repeat: 647 / 397

Going ahead to step 4:
If we divide 647 by 397, we get 1 and a remainder of 250.
The next digit of our result is 1. 
Result so far: 21.0
If we take 397 away from 647, we end up with 250.
Take the next digit (7) from the dividend and append it to 250, then repeat: 2507 / 397

Let's proceed to step 5:
2507 divided by 397 is 6 with a remainder of 125.
The next digit of our result is 6. 
Result so far: 216.0
Subtract 2382 from 2507 to get 125.
Grab the next digit (6) from the dividend, add it to 125, then carry on: 1256 / 397

Let's proceed to step 6:
The number 397 fits into 1256 3 times, leaving a remainder of 65.
Write down 3 as next digit of the result. 
Result so far: 2163.0
Deduct 1191 from 1256 and we're left with 65.
Append the next digit (6) from the dividend to 65 and continue with: 656 / 397

On to step 7:
The number 397 fits into 656 1 times, leaving a remainder of 259.
The number 1 becomes the next digit in our result. 
Result so far: 21631.0
Subtracting 397 from 656 leaves us with 259.
Fetch the next digit (6) from the dividend, attach it to 259 and continue: 2596 / 397

Going ahead to step 8:
If we divide 2596 by 397, we get 6 and a remainder of 214.
Record the quotient 6 as the next digit in the result. 
Result so far: 216316.0
If we take 2382 away from 2596, we end up with 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Moving on to step 9:
When dividing 2140 by 397, we get 5 with a remainder of 155.
The next digit of our result is 5. 
Result so far: 216316.5
Deduct 1985 from 2140 and we're left with 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Let's proceed to step 10:
397 goes into 1550 3 times with a remainder of 359.
Record the quotient 3 as the next digit in the result. 
Result so far: 216316.53
Deduct 1191 from 1550 and we're left with 359.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3590, and continue the process.

Going ahead to step 11:
When dividing 3590 by 397, we get 9 with a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 216316.539
Deduct 3573 from 3590 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 12:
If we divide 170 by 397, we get 0 and a remainder of 170.
The next digit of our result is 0. 
Result so far: 216316.539
Subtract 0 from 170 to get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

On to step 13:
The number 397 fits into 1700 4 times, leaving a remainder of 112.
Put 4 as the next digit of the answer. 
Result so far: 216316.53904
The remainder is 112 after subtracting 1588 from 1700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Step 14:
When dividing 1120 by 397, we get 2 with a remainder of 326.
Use 2 as the next digit of our solution. 
Result so far: 216316.539042
If we take 794 away from 1120, we end up with 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

Moving on to step 15:
3260 divided by 397 is 8 with a remainder of 84.
The number 8 becomes the next digit in our result. 
Result so far: 216316.5390428
Deduct 3176 from 3260 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Advancing to step 16:
397 can be fit into 840 2 times, resulting in a remainder of 46.
Write down 2 as next digit of the result. 
Result so far: 216316.53904282
If we take 794 away from 840, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

The final outcome is 216316.53904282, with a leftover of 4.6e-08.