We look at the division of 39986839 by 585 
We're looking to find how many times 585 goes into 39986839.

Advancing to step 1:
The number 585 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 585

Step 2:
585 goes into 39 0 times with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Grab the next digit (9) from the dividend, add it to 39, then carry on: 399 / 585

Advancing to step 3:
585 goes into 399 0 times with a remainder of 399.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 399 to get 399.
Include the next digit (8) from the dividend after 399, then repeat: 3998 / 585

Going ahead to step 4:
585 goes into 3998 6 times with a remainder of 488.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 3510 away from 3998, we end up with 488.
Fetch the next digit (6) from the dividend, attach it to 488 and continue: 4886 / 585

Step 5:
585 goes into 4886 8 times with a remainder of 206.
The next digit of our result is 8. 
Result so far: 68.0
The remainder is 206 after subtracting 4680 from 4886.
Bring next digit (8) of the dividend behind the 206 and repeat the process: 2068 / 585

Moving on to step 6:
585 can be fit into 2068 3 times, resulting in a remainder of 313.
Record the quotient 3 as the next digit in the result. 
Result so far: 683.0
Deduct 1755 from 2068 and we're left with 313.
Take the next digit (3) from the dividend and append it to 313, then repeat: 3133 / 585

Advancing to step 7:
If we divide 3133 by 585, we get 5 and a remainder of 208.
Write down 5 as next digit of the result. 
Result so far: 6835.0
Deduct 2925 from 3133 and we're left with 208.
Append the next digit (9) from the dividend to 208 and continue with: 2089 / 585

Let's proceed to step 8:
585 goes into 2089 3 times with a remainder of 334.
Use 3 as the next digit of our solution. 
Result so far: 68353.0
The remainder is 334 after subtracting 1755 from 2089.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

Going ahead to step 9:
3340 divided by 585 is 5 with a remainder of 415.
Write down 5 as next digit of the result. 
Result so far: 68353.5
If we subtract 2925 from 3340, we get 415.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4150, and continue the process.

Advancing to step 10:
585 goes into 4150 7 times with a remainder of 55.
Put 7 as the next digit of the answer. 
Result so far: 68353.57
If we subtract 4095 from 4150, we get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

On to step 11:
When dividing 550 by 585, we get 0 with a remainder of 550.
Write down 0 as next digit of the result. 
Result so far: 68353.57
Subtracting 0 from 550 leaves us with 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5500, and continue the process.

Going ahead to step 12:
The number 585 fits into 5500 9 times, leaving a remainder of 235.
Write down 9 as next digit of the result. 
Result so far: 68353.5709
The remainder is 235 after subtracting 5265 from 5500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

Let's proceed to step 13:
2350 divided by 585 is 4 with a remainder of 10.
Put 4 as the next digit of the answer. 
Result so far: 68353.57094
If we subtract 2340 from 2350, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 14:
585 goes into 100 0 times with a remainder of 100.
Put 0 as the next digit of the answer. 
Result so far: 68353.57094
If we subtract 0 from 100, we get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Going ahead to step 15:
585 goes into 1000 1 times with a remainder of 415.
Put 1 as the next digit of the answer. 
Result so far: 68353.5709401
If we subtract 585 from 1000, we get 415.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4150, and continue the process.

Step 16:
585 can be fit into 4150 7 times, resulting in a remainder of 55.
Write down 7 as next digit of the result. 
Result so far: 68353.57094017
Subtracting 4095 from 4150 leaves us with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

The final outcome is 68353.57094017, with a leftover of 5.5e-08.