We look at the division of 540054 by 6 
We want to figure out the number of times 540054 can be divided by 6.

On to step 1:
5 divided by 6 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 6

On to step 2:
6 goes into 54 9 times with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtracting 54 from 54 leaves us with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 6

Moving on to step 3:
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: 90.0
The remainder is 0 after subtracting 0 from 0.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 6

Step 4:
If we divide 0 by 6, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 900.0
If we subtract 0 from 0, we get 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 6

On to step 5:
6 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 9000.0
Subtract 0 from 5 to get 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 6

Advancing to step 6:
54 divided by 6 is 9 with a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 90009.0
Deduct 54 from 54 and we're left 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.

Step 7:
When dividing 0 by 6, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 90009.0
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 8:
6 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 90009.0
Deduct 0 from 0 and we're left 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 quotient of the division is 90009.0, and the remainder is 0.0.