We divide 542257 by 39
Our goal is to divide 542257 by 39.

Going ahead 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
If we take 0 away from 5, we end up with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 39

Advancing to step 2:
The number 39 fits into 54 1 times, leaving a remainder of 15.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 39 from 54 leaves us with 15.
Fetch the next digit (2) from the dividend, attach it to 15 and continue: 152 / 39

Let's proceed to step 3:
39 goes into 152 3 times with a remainder of 35.
The next digit of our result is 3. 
Result so far: 13.0
Subtract 117 from 152 to get 35.
Grab the next digit (2) from the dividend, add it to 35, then carry on: 352 / 39

On to step 4:
352 divided by 39 is 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 139.0
If we subtract 351 from 352, we get 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 39

Let's proceed to step 5:
39 can be fit into 15 0 times, resulting in a remainder of 15.
Use 0 as the next digit of our solution. 
Result so far: 1390.0
Subtracting 0 from 15 leaves us with 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 39

Going ahead to step 6:
157 divided by 39 is 4 with a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 13904.0
Subtract 156 from 157 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
10 divided by 39 is 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 13904.0
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
100 divided by 39 is 2 with a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 13904.02
If we subtract 78 from 100, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 9:
39 goes into 220 5 times with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 13904.025
If we take 195 away from 220, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 10:
If we divide 250 by 39, we get 6 and a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 13904.0256
If we subtract 234 from 250, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 11:
39 goes into 160 4 times with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 13904.02564
If we subtract 156 from 160, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
When dividing 40 by 39, we get 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 13904.025641
If we take 39 away from 40, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 13:
39 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 13904.025641
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 14:
39 goes into 100 2 times with a remainder of 22.
The number 2 becomes the next digit in our result. 
Result so far: 13904.02564102
If we take 78 away from 100, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final outcome is 13904.02564102, with a leftover of 2.2e-08.