We're dividing 85771581 by 397 
Let's see how many times 397 fits into 85771581.

Moving on to step 1:
8 divided by 397 is 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Grab the next digit (5) from the dividend, add it to 8, then carry on: 85 / 397

Advancing to step 2:
The number 397 fits into 85 0 times, leaving a remainder of 85.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 85 and we're left with 85.
Append the next digit (7) from the dividend to 85 and continue with: 857 / 397

Moving on to step 3:
When dividing 857 by 397, we get 2 with a remainder of 63.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 794 from 857 leaves us with 63.
Bring next digit (7) of the dividend behind the 63 and repeat the process: 637 / 397

Step 4:
637 divided by 397 is 1 with a remainder of 240.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
Deduct 397 from 637 and we're left with 240.
Include the next digit (1) from the dividend after 240, then repeat: 2401 / 397

On to step 5:
2401 divided by 397 is 6 with a remainder of 19.
The number 6 becomes the next digit in our result. 
Result so far: 216.0
Subtracting 2382 from 2401 leaves us with 19.
Take the next digit (5) from the dividend and append it to 19, then repeat: 195 / 397

Moving on to step 6:
The number 397 fits into 195 0 times, leaving a remainder of 195.
Record the quotient 0 as the next digit in the result. 
Result so far: 2160.0
If we subtract 0 from 195, we get 195.
Include the next digit (8) from the dividend after 195, then repeat: 1958 / 397

Step 7:
397 can be fit into 1958 4 times, resulting in a remainder of 370.
Record the quotient 4 as the next digit in the result. 
Result so far: 21604.0
The remainder is 370 after subtracting 1588 from 1958.
Grab the next digit (1) from the dividend, add it to 370, then carry on: 3701 / 397

Advancing to step 8:
If we divide 3701 by 397, we get 9 and a remainder of 128.
Record the quotient 9 as the next digit in the result. 
Result so far: 216049.0
If we subtract 3573 from 3701, we get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Going ahead to step 9:
397 can be fit into 1280 3 times, resulting in a remainder of 89.
Write down 3 as next digit of the result. 
Result so far: 216049.3
Subtracting 1191 from 1280 leaves us with 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 890, and continue the process.

Advancing to step 10:
If we divide 890 by 397, we get 2 and a remainder of 96.
Put 2 as the next digit of the answer. 
Result so far: 216049.32
If we subtract 794 from 890, we get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 11:
397 can be fit into 960 2 times, resulting in a remainder of 166.
Record the quotient 2 as the next digit in the result. 
Result so far: 216049.322
If we take 794 away from 960, we end up with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Our division results in 216049.322 with a remaining 0.0166.