Let's divide 540243 by 18
The aim is to understand the frequency of 18 in 540243.

On to step 1:
18 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 18

Let's proceed to step 2:
If we divide 54 by 18, we get 3 and a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 54 from 54 and we're left with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 18

On to step 3:
18 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 30.0
If we take 0 away from 0, we end up with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 18

Step 4:
When dividing 2 by 18, we get 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 300.0
Deduct 0 from 2 and we're left with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 18

Going ahead to step 5:
18 can be fit into 24 1 times, resulting in a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 3001.0
If we take 18 away from 24, we end up with 6.
Append the next digit (3) from the dividend to 6 and continue with: 63 / 18

Going ahead to step 6:
The number 18 fits into 63 3 times, leaving a remainder of 9.
Write down 3 as next digit of the result. 
Result so far: 30013.0
If we subtract 54 from 63, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
18 goes into 90 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 30013.5
Subtract 90 from 90 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.

On to step 8:
When dividing 0 by 18, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 30013.5
Subtract 0 from 0 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.

Advancing to step 9:
If we divide 0 by 18, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 30013.5
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.

In conclusion, the division gives 30013.5 with a balance of 0.0.