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

Advancing to step 1:
5 divided by 39 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 39

Let's proceed to step 2:
When dividing 56 by 39, we get 1 with a remainder of 17.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 39 from 56 to get 17.
Append the next digit (5) from the dividend to 17 and continue with: 175 / 39

On to step 3:
If we divide 175 by 39, we get 4 and a remainder of 19.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
The remainder is 19 after subtracting 156 from 175.
Append the next digit (0) from the dividend to 19 and continue with: 190 / 39

On to step 4:
If we divide 190 by 39, we get 4 and a remainder of 34.
The next digit of our result is 4. 
Result so far: 144.0
If we take 156 away from 190, we end up with 34.
Append the next digit (4) from the dividend to 34 and continue with: 344 / 39

On to step 5:
If we divide 344 by 39, we get 8 and a remainder of 32.
Write down 8 as next digit of the result. 
Result so far: 1448.0
Subtracting 312 from 344 leaves us with 32.
Append the next digit (0) from the dividend to 32 and continue with: 320 / 39

Going ahead to step 6:
If we divide 320 by 39, we get 8 and a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 14488.0
If we take 312 away from 320, we end up with 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 7:
39 can be fit into 80 2 times, resulting in a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 14488.2
The remainder is 2 after subtracting 78 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
20 divided by 39 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 14488.2
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
When dividing 200 by 39, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 14488.205
If we take 195 away from 200, we end up 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.

On to step 10:
If we divide 50 by 39, we get 1 and a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 14488.2051
Deduct 39 from 50 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 11:
110 divided by 39 is 2 with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 14488.20512
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.

Advancing to step 12:
The number 39 fits into 320 8 times, leaving a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 14488.205128
Subtract 312 from 320 to 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 13:
When dividing 80 by 39, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 14488.2051282
If we take 78 away from 80, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 14:
20 divided by 39 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 14488.2051282
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.

After the division, we end up with 14488.2051282 and a remainder of 2e-08.