508381 ÷ 18 
The aim is to understand the frequency of 18 in 508381.

Step 1:
The number 18 fits into 5 0 times, leaving 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.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 18

Moving on to step 2:
When dividing 50 by 18, we get 2 with a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 36 from 50 leaves us with 14.
Grab the next digit (8) from the dividend, add it to 14, then carry on: 148 / 18

Going ahead to step 3:
When dividing 148 by 18, we get 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
Subtract 144 from 148 to get 4.
Append the next digit (3) from the dividend to 4 and continue with: 43 / 18

Let's proceed to step 4:
18 can be fit into 43 2 times, resulting in a remainder of 7.
The next digit of our result is 2. 
Result so far: 282.0
Subtract 36 from 43 to get 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 18

Advancing to step 5:
78 divided by 18 is 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 2824.0
Deduct 72 from 78 and we're left with 6.
Bring next digit (1) of the dividend behind the 6 and repeat the process: 61 / 18

Advancing to step 6:
18 goes into 61 3 times with a remainder of 7.
The next digit of our result is 3. 
Result so far: 28243.0
If we take 54 away from 61, we end up with 7.
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:
18 can be fit into 70 3 times, resulting in a remainder of 16.
The next digit of our result is 3. 
Result so far: 28243.3
The remainder is 16 after subtracting 54 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 8:
When dividing 160 by 18, we get 8 with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 28243.38
Deduct 144 from 160 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
If we divide 160 by 18, we get 8 and a remainder of 16.
The next digit of our result is 8. 
Result so far: 28243.388
Subtract 144 from 160 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

In conclusion, the division gives 28243.388 with a balance of 0.0016.