565791 divided by 39 
Let's see how many times 39 fits into 565791.

On to step 1:
39 can be fit into 5 0 times, resulting in 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.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 39

Going ahead to step 2:
39 can be fit into 56 1 times, resulting in a remainder of 17.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 39 from 56 leaves us with 17.
Grab the next digit (5) from the dividend, add it to 17, then carry on: 175 / 39

Step 3:
The number 39 fits into 175 4 times, leaving a remainder of 19.
The next digit of our result is 4. 
Result so far: 14.0
If we take 156 away from 175, we end up with 19.
Grab the next digit (7) from the dividend, add it to 19, then carry on: 197 / 39

On to step 4:
If we divide 197 by 39, we get 5 and a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 145.0
If we subtract 195 from 197, we get 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 39

Let's proceed to step 5:
When dividing 29 by 39, we get 0 with a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 1450.0
Subtract 0 from 29 to get 29.
Fetch the next digit (1) from the dividend, attach it to 29 and continue: 291 / 39

Let's proceed to step 6:
When dividing 291 by 39, we get 7 with a remainder of 18.
Write down 7 as next digit of the result. 
Result so far: 14507.0
If we take 273 away from 291, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 7:
39 can be fit into 180 4 times, resulting in a remainder of 24.
The number 4 becomes the next digit in our result. 
Result so far: 14507.4
If we subtract 156 from 180, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 8:
If we divide 240 by 39, we get 6 and a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 14507.46
Subtracting 234 from 240 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 9:
39 goes into 60 1 times with a remainder of 21.
The number 1 becomes the next digit in our result. 
Result so far: 14507.461
The remainder is 21 after subtracting 39 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 10:
39 goes into 210 5 times with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 14507.4615
Deduct 195 from 210 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 11:
150 divided by 39 is 3 with a remainder of 33.
Write down 3 as next digit of the result. 
Result so far: 14507.46153
If we take 117 away from 150, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 12:
If we divide 330 by 39, we get 8 and a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 14507.461538
If we take 312 away from 330, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 13:
When dividing 180 by 39, we get 4 with a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 14507.4615384
Deduct 156 from 180 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 14:
If we divide 240 by 39, we get 6 and a remainder of 6.
Record the quotient 6 as the next digit in the result. 
Result so far: 14507.46153846
If we subtract 234 from 240, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 14507.46153846 with a remaining 6e-09.