We look at the division of 52598 by 18 
The aim is to understand the frequency of 18 in 52598.

On to step 1:
18 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 18

Let's proceed to step 2:
18 can be fit into 52 2 times, resulting in a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 36 away from 52, we end up with 16.
Bring next digit (5) of the dividend behind the 16 and repeat the process: 165 / 18

Going ahead to step 3:
18 goes into 165 9 times with a remainder of 3.
The next digit of our result is 9. 
Result so far: 29.0
Subtracting 162 from 165 leaves us with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 18

On to step 4:
If we divide 39 by 18, we get 2 and a remainder of 3.
The next digit of our result is 2. 
Result so far: 292.0
If we take 36 away from 39, we end up with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 18

Advancing to step 5:
18 can be fit into 38 2 times, resulting in a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 2922.0
If we take 36 away from 38, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 6:
18 can be fit into 20 1 times, resulting in a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 2922.1
If we take 18 away from 20, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
18 can be fit into 20 1 times, resulting in a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 2922.11
Subtracting 18 from 20 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The quotient of the division is 2922.11, and the remainder is 0.002.