580042 ÷ 39 
We want to divide 580042 by 39.

Let's proceed to step 1:
When dividing 5 by 39, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 39

Going ahead to step 2:
The number 39 fits into 58 1 times, leaving a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 39 from 58, we get 19.
Grab the next digit (0) from the dividend, add it to 19, then carry on: 190 / 39

Moving on to step 3:
If we divide 190 by 39, we get 4 and a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Subtracting 156 from 190 leaves us with 34.
Include the next digit (0) from the dividend after 34, then repeat: 340 / 39

Advancing to step 4:
340 divided by 39 is 8 with a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 148.0
The remainder is 28 after subtracting 312 from 340.
Append the next digit (4) from the dividend to 28 and continue with: 284 / 39

Going ahead to step 5:
39 can be fit into 284 7 times, resulting in a remainder of 11.
The next digit of our result is 7. 
Result so far: 1487.0
Subtracting 273 from 284 leaves us with 11.
Take the next digit (2) from the dividend and append it to 11, then repeat: 112 / 39

Advancing to step 6:
If we divide 112 by 39, we get 2 and a remainder of 34.
The number 2 becomes the next digit in our result. 
Result so far: 14872.0
The remainder is 34 after subtracting 78 from 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 7:
The number 39 fits into 340 8 times, leaving a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 14872.8
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.

Advancing to step 8:
39 goes into 280 7 times with a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 14872.87
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.

Moving on to step 9:
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: 14872.871
Subtracting 39 from 70 leaves us 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.

Going ahead to step 10:
If we divide 310 by 39, we get 7 and a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 14872.8717
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.

Moving on to step 11:
If we divide 370 by 39, we get 9 and a remainder of 19.
Use 9 as the next digit of our solution. 
Result so far: 14872.87179
Deduct 351 from 370 and we're left 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.

Moving on to step 12:
39 can be fit into 190 4 times, resulting in a remainder of 34.
Put 4 as the next digit of the answer. 
Result so far: 14872.871794
Subtracting 156 from 190 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 13:
If we divide 340 by 39, we get 8 and a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 14872.8717948
If we subtract 312 from 340, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 14:
39 can be fit into 280 7 times, resulting in a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 14872.87179487
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.

In conclusion, the division gives 14872.87179487 with a balance of 7e-09.