We're dividing 519772 by 18 
The aim is to understand the frequency of 18 in 519772.

Advancing to step 1:
If we divide 5 by 18, we get 0 and 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 (1) from the dividend, add it to 5, then carry on: 51 / 18

On to step 2:
51 divided by 18 is 2 with a remainder of 15.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 36 from 51 leaves us with 15.
Bring next digit (9) of the dividend behind the 15 and repeat the process: 159 / 18

Step 3:
The number 18 fits into 159 8 times, leaving a remainder of 15.
The next digit of our result is 8. 
Result so far: 28.0
If we subtract 144 from 159, we get 15.
Append the next digit (7) from the dividend to 15 and continue with: 157 / 18

Advancing to step 4:
18 can be fit into 157 8 times, resulting in a remainder of 13.
Put 8 as the next digit of the answer. 
Result so far: 288.0
If we take 144 away from 157, we end up with 13.
Bring next digit (7) of the dividend behind the 13 and repeat the process: 137 / 18

Step 5:
18 goes into 137 7 times with a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 2887.0
If we subtract 126 from 137, we get 11.
Append the next digit (2) from the dividend to 11 and continue with: 112 / 18

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

On to step 7:
40 divided by 18 is 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 28876.2
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
When dividing 40 by 18, we get 2 with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 28876.22
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 28876.22 with a remaining 0.004.