Let's divide 867586 by 39
Let's see how many times 39 fits into 867586.

On to step 1:
If we divide 8 by 39, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 39

Advancing to step 2:
39 can be fit into 86 2 times, resulting in a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 78 from 86 leaves us with 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 39

Let's proceed to step 3:
39 goes into 87 2 times with a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 22.0
Deduct 78 from 87 and we're left with 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 39

Advancing to step 4:
When dividing 95 by 39, we get 2 with a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 222.0
Subtracting 78 from 95 leaves us with 17.
Grab the next digit (8) from the dividend, add it to 17, then carry on: 178 / 39

Moving on to step 5:
178 divided by 39 is 4 with a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 2224.0
The remainder is 22 after subtracting 156 from 178.
Bring next digit (6) of the dividend behind the 22 and repeat the process: 226 / 39

Step 6:
39 goes into 226 5 times with a remainder of 31.
The next digit of our result is 5. 
Result so far: 22245.0
The remainder is 31 after subtracting 195 from 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 7:
310 divided by 39 is 7 with a remainder of 37.
Write down 7 as next digit of the result. 
Result so far: 22245.7
Subtract 273 from 310 to get 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:
The number 39 fits into 370 9 times, leaving a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 22245.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.

Step 9:
If we divide 190 by 39, we get 4 and a remainder of 34.
The next digit of our result is 4. 
Result so far: 22245.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.

Going ahead to step 10:
340 divided by 39 is 8 with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 22245.7948
Deduct 312 from 340 and we're left 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.

Let's proceed to step 11:
39 goes into 280 7 times with a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 22245.79487
Deduct 273 from 280 and we're left 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.

Advancing to step 12:
If we divide 70 by 39, we get 1 and a remainder of 31.
The number 1 becomes the next digit in our result. 
Result so far: 22245.794871
Deduct 39 from 70 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 13:
310 divided by 39 is 7 with a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 22245.7948717
Subtracting 273 from 310 leaves us 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.

Step 14:
39 can be fit into 370 9 times, resulting in a remainder of 19.
Put 9 as the next digit of the answer. 
Result so far: 22245.79487179
If we take 351 away from 370, we end up 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 22245.79487179 with a remainder of 1.9e-08.