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

Advancing to step 1:
When dividing 5 by 4, we get 1 with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 4 from 5 leaves us with 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 4

On to step 2:
14 divided by 4 is 3 with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Subtracting 12 from 14 leaves us with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 4

Step 3:
The number 4 fits into 22 5 times, leaving a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 135.0
The remainder is 2 after subtracting 20 from 22.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 4

Let's proceed to step 4:
If we divide 28 by 4, we get 7 and a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 1357.0
The remainder is 0 after subtracting 28 from 28.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 4

Advancing to step 5:
When dividing 3 by 4, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 13570.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 4

Going ahead to step 6:
4 goes into 38 9 times with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 135709.0
Deduct 36 from 38 and we're left 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.

Let's proceed to step 7:
4 goes into 20 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 135709.5
Subtracting 20 from 20 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
4 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 135709.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 135709.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 135709.5 with a remaining 0.0.