We look at the division of 542857 by 38 
We're looking to find how many times 38 goes into 542857.

Going ahead to step 1:
If we divide 5 by 38, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 38

Going ahead to step 2:
54 divided by 38 is 1 with a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 38 away from 54, we end up with 16.
Fetch the next digit (2) from the dividend, attach it to 16 and continue: 162 / 38

Step 3:
The number 38 fits into 162 4 times, leaving a remainder of 10.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we take 152 away from 162, we end up with 10.
Include the next digit (8) from the dividend after 10, then repeat: 108 / 38

Moving on to step 4:
When dividing 108 by 38, we get 2 with a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 142.0
If we subtract 76 from 108, we get 32.
Fetch the next digit (5) from the dividend, attach it to 32 and continue: 325 / 38

Let's proceed to step 5:
When dividing 325 by 38, we get 8 with a remainder of 21.
Put 8 as the next digit of the answer. 
Result so far: 1428.0
Subtracting 304 from 325 leaves us with 21.
Fetch the next digit (7) from the dividend, attach it to 21 and continue: 217 / 38

On to step 6:
When dividing 217 by 38, we get 5 with a remainder of 27.
Record the quotient 5 as the next digit in the result. 
Result so far: 14285.0
Subtract 190 from 217 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 7:
270 divided by 38 is 7 with a remainder of 4.
The next digit of our result is 7. 
Result so far: 14285.7
Deduct 266 from 270 and we're left with 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 8:
40 divided by 38 is 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 14285.71
If we take 38 away from 40, 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.

Going ahead to step 9:
The number 38 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 14285.71
Subtract 0 from 20 to 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.

Step 10:
The number 38 fits into 200 5 times, leaving a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 14285.7105
Deduct 190 from 200 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.

Advancing to step 11:
If we divide 100 by 38, we get 2 and a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 14285.71052
If we subtract 76 from 100, 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.

Going ahead to step 12:
If we divide 240 by 38, we get 6 and a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 14285.710526
Deduct 228 from 240 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 13:
When dividing 120 by 38, we get 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 14285.7105263
The remainder is 6 after subtracting 114 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 14:
38 can be fit into 60 1 times, resulting in a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 14285.71052631
Subtract 38 from 60 to 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.

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