We're dividing 313786 by 39 
We're looking to find how many times 39 goes into 313786.

Going ahead to step 1:
39 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 39

Going ahead to step 2:
31 divided by 39 is 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Take the next digit (3) from the dividend and append it to 31, then repeat: 313 / 39

Let's proceed to step 3:
313 divided by 39 is 8 with a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtract 312 from 313 to get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 39

Step 4:
39 goes into 17 0 times with a remainder of 17.
Put 0 as the next digit of the answer. 
Result so far: 80.0
Subtract 0 from 17 to get 17.
Append the next digit (8) from the dividend to 17 and continue with: 178 / 39

Advancing to step 5:
39 can be fit into 178 4 times, resulting in a remainder of 22.
The next digit of our result is 4. 
Result so far: 804.0
The remainder is 22 after subtracting 156 from 178.
Fetch the next digit (6) from the dividend, attach it to 22 and continue: 226 / 39

Step 6:
The number 39 fits into 226 5 times, leaving a remainder of 31.
Use 5 as the next digit of our solution. 
Result so far: 8045.0
Subtract 195 from 226 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 7:
The number 39 fits into 310 7 times, leaving a remainder of 37.
Use 7 as the next digit of our solution. 
Result so far: 8045.7
If we take 273 away from 310, 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.

Going ahead to step 8:
When dividing 370 by 39, we get 9 with a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 8045.79
Subtracting 351 from 370 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 9:
190 divided by 39 is 4 with a remainder of 34.
The next digit of our result is 4. 
Result so far: 8045.794
If we subtract 156 from 190, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 10:
340 divided by 39 is 8 with a remainder of 28.
The next digit of our result is 8. 
Result so far: 8045.7948
Subtracting 312 from 340 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 11:
39 can be fit into 280 7 times, resulting in a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 8045.79487
Subtracting 273 from 280 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 12:
39 can be fit into 70 1 times, resulting in a remainder of 31.
Write down 1 as next digit of the result. 
Result so far: 8045.794871
If we subtract 39 from 70, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 13:
39 goes into 310 7 times with a remainder of 37.
Put 7 as the next digit of the answer. 
Result so far: 8045.7948717
If we take 273 away from 310, 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.

Let's proceed to step 14:
39 can be fit into 370 9 times, resulting in a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 8045.79487179
Subtracting 351 from 370 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final result is 8045.79487179 with a remainder of 1.9e-08.