We're dividing 9871707 by 394 
We're looking to find how many times 394 goes into 9871707.

Advancing to step 1:
394 goes into 9 0 times with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 394

Going ahead to step 2:
98 divided by 394 is 0 with a remainder of 98.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 98 leaves us with 98.
Grab the next digit (7) from the dividend, add it to 98, then carry on: 987 / 394

On to step 3:
394 can be fit into 987 2 times, resulting in a remainder of 199.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 199 after subtracting 788 from 987.
Bring next digit (1) of the dividend behind the 199 and repeat the process: 1991 / 394

On to step 4:
The number 394 fits into 1991 5 times, leaving a remainder of 21.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
Deduct 1970 from 1991 and we're left with 21.
Include the next digit (7) from the dividend after 21, then repeat: 217 / 394

On to step 5:
217 divided by 394 is 0 with a remainder of 217.
The next digit of our result is 0. 
Result so far: 250.0
Subtract 0 from 217 to get 217.
Take the next digit (0) from the dividend and append it to 217, then repeat: 2170 / 394

Advancing to step 6:
394 goes into 2170 5 times with a remainder of 200.
Use 5 as the next digit of our solution. 
Result so far: 2505.0
Subtract 1970 from 2170 to get 200.
Bring next digit (7) of the dividend behind the 200 and repeat the process: 2007 / 394

Step 7:
2007 divided by 394 is 5 with a remainder of 37.
The next digit of our result is 5. 
Result so far: 25055.0
If we take 1970 away from 2007, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 8:
When dividing 370 by 394, we get 0 with a remainder of 370.
Put 0 as the next digit of the answer. 
Result so far: 25055.0
Deduct 0 from 370 and we're left with 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

On to step 9:
When dividing 3700 by 394, we get 9 with a remainder of 154.
The next digit of our result is 9. 
Result so far: 25055.09
The remainder is 154 after subtracting 3546 from 3700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Going ahead to step 10:
1540 divided by 394 is 3 with a remainder of 358.
Put 3 as the next digit of the answer. 
Result so far: 25055.093
The remainder is 358 after subtracting 1182 from 1540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Let's proceed to step 11:
When dividing 3580 by 394, we get 9 with a remainder of 34.
Put 9 as the next digit of the answer. 
Result so far: 25055.0939
Subtracting 3546 from 3580 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 12:
If we divide 340 by 394, we get 0 and a remainder of 340.
Record the quotient 0 as the next digit in the result. 
Result so far: 25055.0939
Deduct 0 from 340 and we're left with 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Step 13:
394 goes into 3400 8 times with a remainder of 248.
Use 8 as the next digit of our solution. 
Result so far: 25055.093908
If we take 3152 away from 3400, we end up with 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Advancing to step 14:
394 goes into 2480 6 times with a remainder of 116.
Put 6 as the next digit of the answer. 
Result so far: 25055.0939086
If we take 2364 away from 2480, we end up with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Advancing to step 15:
1160 divided by 394 is 2 with a remainder of 372.
The next digit of our result is 2. 
Result so far: 25055.09390862
If we subtract 788 from 1160, we get 372.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3720, and continue the process.

The final outcome is 25055.09390862, with a leftover of 3.72e-07.