Let's divide 39989722 by 586
We want to figure out the number of times 39989722 can be divided by 586.

Let's proceed to step 1:
3 divided by 586 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 586

Moving on to step 2:
586 can be fit into 39 0 times, resulting in a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Take the next digit (9) from the dividend and append it to 39, then repeat: 399 / 586

Let's proceed to step 3:
The number 586 fits into 399 0 times, leaving a remainder of 399.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 399 leaves us with 399.
Grab the next digit (8) from the dividend, add it to 399, then carry on: 3998 / 586

Moving on to step 4:
3998 divided by 586 is 6 with a remainder of 482.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 3516 from 3998 and we're left with 482.
Include the next digit (9) from the dividend after 482, then repeat: 4829 / 586

Moving on to step 5:
If we divide 4829 by 586, we get 8 and a remainder of 141.
The number 8 becomes the next digit in our result. 
Result so far: 68.0
Deduct 4688 from 4829 and we're left with 141.
Take the next digit (7) from the dividend and append it to 141, then repeat: 1417 / 586

Moving on to step 6:
586 goes into 1417 2 times with a remainder of 245.
The next digit of our result is 2. 
Result so far: 682.0
If we take 1172 away from 1417, we end up with 245.
Take the next digit (2) from the dividend and append it to 245, then repeat: 2452 / 586

Going ahead to step 7:
The number 586 fits into 2452 4 times, leaving a remainder of 108.
Use 4 as the next digit of our solution. 
Result so far: 6824.0
Subtracting 2344 from 2452 leaves us with 108.
Include the next digit (2) from the dividend after 108, then repeat: 1082 / 586

On to step 8:
When dividing 1082 by 586, we get 1 with a remainder of 496.
Record the quotient 1 as the next digit in the result. 
Result so far: 68241.0
Subtracting 586 from 1082 leaves us with 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

Let's proceed to step 9:
4960 divided by 586 is 8 with a remainder of 272.
The next digit of our result is 8. 
Result so far: 68241.8
If we take 4688 away from 4960, we end up with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Moving on to step 10:
If we divide 2720 by 586, we get 4 and a remainder of 376.
Use 4 as the next digit of our solution. 
Result so far: 68241.84
The remainder is 376 after subtracting 2344 from 2720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Moving on to step 11:
586 goes into 3760 6 times with a remainder of 244.
Use 6 as the next digit of our solution. 
Result so far: 68241.846
The remainder is 244 after subtracting 3516 from 3760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

On to step 12:
2440 divided by 586 is 4 with a remainder of 96.
The number 4 becomes the next digit in our result. 
Result so far: 68241.8464
Subtract 2344 from 2440 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

On to step 13:
586 can be fit into 960 1 times, resulting in a remainder of 374.
The number 1 becomes the next digit in our result. 
Result so far: 68241.84641
The remainder is 374 after subtracting 586 from 960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Going ahead to step 14:
The number 586 fits into 3740 6 times, leaving a remainder of 224.
The next digit of our result is 6. 
Result so far: 68241.846416
Subtracting 3516 from 3740 leaves us with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

On to step 15:
586 goes into 2240 3 times with a remainder of 482.
The number 3 becomes the next digit in our result. 
Result so far: 68241.8464163
Subtracting 1758 from 2240 leaves us with 482.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4820, and continue the process.

Moving on to step 16:
When dividing 4820 by 586, we get 8 with a remainder of 132.
Use 8 as the next digit of our solution. 
Result so far: 68241.84641638
If we take 4688 away from 4820, we end up with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

In conclusion, the division gives 68241.84641638 with a balance of 1.32e-07.