We divide 581765 by 39
We're looking to find how many times 39 goes into 581765.

Step 1:
If we divide 5 by 39, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 39

On to step 2:
When dividing 58 by 39, we get 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 19 after subtracting 39 from 58.
Fetch the next digit (1) from the dividend, attach it to 19 and continue: 191 / 39

Let's proceed to step 3:
39 goes into 191 4 times with a remainder of 35.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
Subtracting 156 from 191 leaves us with 35.
Fetch the next digit (7) from the dividend, attach it to 35 and continue: 357 / 39

Going ahead to step 4:
If we divide 357 by 39, we get 9 and a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 149.0
The remainder is 6 after subtracting 351 from 357.
Include the next digit (6) from the dividend after 6, then repeat: 66 / 39

Moving on to step 5:
39 goes into 66 1 times with a remainder of 27.
Put 1 as the next digit of the answer. 
Result so far: 1491.0
The remainder is 27 after subtracting 39 from 66.
Take the next digit (5) from the dividend and append it to 27, then repeat: 275 / 39

Let's proceed to step 6:
39 can be fit into 275 7 times, resulting in a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 14917.0
Subtract 273 from 275 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
When dividing 20 by 39, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 14917.0
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
200 divided by 39 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 14917.05
Deduct 195 from 200 and we're left 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.

Advancing to step 9:
50 divided by 39 is 1 with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 14917.051
If we subtract 39 from 50, we 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.

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

Let's proceed to step 11:
320 divided by 39 is 8 with a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 14917.05128
If we subtract 312 from 320, we get 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 12:
80 divided by 39 is 2 with a remainder of 2.
The next digit of our result is 2. 
Result so far: 14917.051282
If we subtract 78 from 80, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 13:
If we divide 20 by 39, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 14917.051282
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 14:
200 divided by 39 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 14917.05128205
Subtract 195 from 200 to 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.

The final result is 14917.05128205 with a remainder of 5e-09.