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

Going ahead to step 1:
The number 97 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 97

Going ahead to step 2:
97 can be fit into 39 0 times, resulting in a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Include the next digit (8) from the dividend after 39, then repeat: 398 / 97

Advancing to step 3:
97 goes into 398 4 times with a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 10 after subtracting 388 from 398.
Include the next digit (8) from the dividend after 10, then repeat: 108 / 97

Let's proceed to step 4:
The number 97 fits into 108 1 times, leaving a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 41.0
If we subtract 97 from 108, we get 11.
Append the next digit (5) from the dividend to 11 and continue with: 115 / 97

Advancing to step 5:
The number 97 fits into 115 1 times, leaving a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 411.0
If we take 97 away from 115, we end up with 18.
Append the next digit (1) from the dividend to 18 and continue with: 181 / 97

Going ahead to step 6:
97 goes into 181 1 times with a remainder of 84.
The next digit of our result is 1. 
Result so far: 4111.0
If we subtract 97 from 181, we get 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 7:
840 divided by 97 is 8 with a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 4111.8
Deduct 776 from 840 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 8:
If we divide 640 by 97, we get 6 and a remainder of 58.
Record the quotient 6 as the next digit in the result. 
Result so far: 4111.86
Subtract 582 from 640 to get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Step 9:
97 can be fit into 580 5 times, resulting in a remainder of 95.
The next digit of our result is 5. 
Result so far: 4111.865
If we subtract 485 from 580, we get 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Let's proceed to step 10:
97 goes into 950 9 times with a remainder of 77.
Write down 9 as next digit of the result. 
Result so far: 4111.8659
Subtract 873 from 950 to get 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Going ahead to step 11:
97 can be fit into 770 7 times, resulting in a remainder of 91.
The next digit of our result is 7. 
Result so far: 4111.86597
Subtracting 679 from 770 leaves us with 91.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

On to step 12:
If we divide 910 by 97, we get 9 and a remainder of 37.
The next digit of our result is 9. 
Result so far: 4111.865979
The remainder is 37 after subtracting 873 from 910.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 13:
370 divided by 97 is 3 with a remainder of 79.
The number 3 becomes the next digit in our result. 
Result so far: 4111.8659793
The remainder is 79 after subtracting 291 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

On to step 14:
97 can be fit into 790 8 times, resulting in a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 4111.86597938
If we subtract 776 from 790, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

In conclusion, the division gives 4111.86597938 with a balance of 1.4e-08.