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

Let's proceed to step 1:
18 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 18

On to step 2:
18 can be fit into 51 2 times, resulting in a remainder of 15.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 36 from 51 and we're left with 15.
Append the next digit (4) from the dividend to 15 and continue with: 154 / 18

Let's proceed to step 3:
If we divide 154 by 18, we get 8 and a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 28.0
Deduct 144 from 154 and we're left with 10.
Include the next digit (3) from the dividend after 10, then repeat: 103 / 18

Advancing to step 4:
103 divided by 18 is 5 with a remainder of 13.
The next digit of our result is 5. 
Result so far: 285.0
Subtracting 90 from 103 leaves us with 13.
Include the next digit (7) from the dividend after 13, then repeat: 137 / 18

Step 5:
137 divided by 18 is 7 with a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 2857.0
Deduct 126 from 137 and we're left with 11.
Bring next digit (4) of the dividend behind the 11 and repeat the process: 114 / 18

Step 6:
18 can be fit into 114 6 times, resulting in a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 28576.0
Subtracting 108 from 114 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
18 can be fit into 60 3 times, resulting in a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 28576.3
Subtracting 54 from 60 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
18 can be fit into 60 3 times, resulting in a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 28576.33
Deduct 54 from 60 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

After the division, we end up with 28576.33 and a remainder of 0.006.