We look at the division of 542898 by 6 
Let's see how many times 6 fits into 542898.

Step 1:
If we divide 5 by 6, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 6

On to step 2:
6 goes into 54 9 times with a remainder of 0.
The next digit of our result is 9. 
Result so far: 9.0
Subtract 54 from 54 to get 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 6

Going ahead to step 3:
6 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 90.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 6

Step 4:
When dividing 28 by 6, we get 4 with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 904.0
Subtracting 24 from 28 leaves us with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 6

Advancing to step 5:
The number 6 fits into 49 8 times, leaving a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 9048.0
If we subtract 48 from 49, we get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 6

Advancing to step 6:
6 can be fit into 18 3 times, resulting in a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 90483.0
Subtract 18 from 18 to get 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 7:
6 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 90483.0
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.

Step 8:
When dividing 0 by 6, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 90483.0
Subtracting 0 from 0 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.

The final outcome is 90483.0, with a leftover of 0.0.