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

On to step 1:
39 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 39

Advancing to step 2:
39 can be fit into 31 0 times, resulting in a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Bring next digit (8) of the dividend behind the 31 and repeat the process: 318 / 39

Let's proceed to step 3:
When dividing 318 by 39, we get 8 with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Deduct 312 from 318 and we're left with 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 39

Moving on to step 4:
39 goes into 62 1 times with a remainder of 23.
The next digit of our result is 1. 
Result so far: 81.0
The remainder is 23 after subtracting 39 from 62.
Bring next digit (2) of the dividend behind the 23 and repeat the process: 232 / 39

Going ahead to step 5:
39 can be fit into 232 5 times, resulting in a remainder of 37.
Use 5 as the next digit of our solution. 
Result so far: 815.0
Subtracting 195 from 232 leaves us with 37.
Bring next digit (1) of the dividend behind the 37 and repeat the process: 371 / 39

Step 6:
39 goes into 371 9 times with a remainder of 20.
Put 9 as the next digit of the answer. 
Result so far: 8159.0
The remainder is 20 after subtracting 351 from 371.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 7:
200 divided by 39 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 8159.5
If we take 195 away from 200, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 8:
The number 39 fits into 50 1 times, leaving a remainder of 11.
The next digit of our result is 1. 
Result so far: 8159.51
Subtract 39 from 50 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 9:
When dividing 110 by 39, we get 2 with a remainder of 32.
The next digit of our result is 2. 
Result so far: 8159.512
The remainder is 32 after subtracting 78 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 10:
When dividing 320 by 39, we get 8 with a remainder of 8.
The next digit of our result is 8. 
Result so far: 8159.5128
If we take 312 away from 320, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
The number 39 fits into 80 2 times, leaving a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 8159.51282
If we take 78 away from 80, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 12:
If we divide 20 by 39, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 8159.51282
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 13:
When dividing 200 by 39, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 8159.5128205
If we subtract 195 from 200, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 14:
39 can be fit into 50 1 times, resulting in a remainder of 11.
The next digit of our result is 1. 
Result so far: 8159.51282051
The remainder is 11 after subtracting 39 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

The final result is 8159.51282051 with a remainder of 1.1e-08.