We divide 542887 by 30
Our goal is to divide 542887 by 30.

On to step 1:
5 divided by 30 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 30

Step 2:
The number 30 fits into 54 1 times, leaving a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 30 from 54 and we're left with 24.
Append the next digit (2) from the dividend to 24 and continue with: 242 / 30

Advancing to step 3:
30 can be fit into 242 8 times, resulting in a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtract 240 from 242 to get 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 30

Let's proceed to step 4:
30 goes into 28 0 times with a remainder of 28.
Put 0 as the next digit of the answer. 
Result so far: 180.0
The remainder is 28 after subtracting 0 from 28.
Grab the next digit (8) from the dividend, add it to 28, then carry on: 288 / 30

Moving on to step 5:
When dividing 288 by 30, we get 9 with a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 1809.0
Subtract 270 from 288 to get 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 30

Going ahead to step 6:
If we divide 187 by 30, we get 6 and a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 18096.0
The remainder is 7 after subtracting 180 from 187.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
30 goes into 70 2 times with a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 18096.2
If we subtract 60 from 70, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
If we divide 100 by 30, we get 3 and a remainder of 10.
Put 3 as the next digit of the answer. 
Result so far: 18096.23
Subtracting 90 from 100 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.

Step 9:
100 divided by 30 is 3 with a remainder of 10.
Record the quotient 3 as the next digit in the result. 
Result so far: 18096.233
Subtract 90 from 100 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 18096.233 with a remaining 0.001.