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

Step 1:
If we divide 1 by 18, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 18

Advancing to step 2:
The number 18 fits into 15 0 times, leaving a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Fetch the next digit (9) from the dividend, attach it to 15 and continue: 159 / 18

Step 3:
159 divided by 18 is 8 with a remainder of 15.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtract 144 from 159 to get 15.
Include the next digit (6) from the dividend after 15, then repeat: 156 / 18

Step 4:
If we divide 156 by 18, we get 8 and a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 88.0
Subtracting 144 from 156 leaves us with 12.
Fetch the next digit (7) from the dividend, attach it to 12 and continue: 127 / 18

Step 5:
18 can be fit into 127 7 times, resulting in a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 887.0
The remainder is 1 after subtracting 126 from 127.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 18

Advancing to step 6:
When dividing 14 by 18, we get 0 with a remainder of 14.
Put 0 as the next digit of the answer. 
Result so far: 8870.0
Subtracting 0 from 14 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
18 goes into 140 7 times with a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 8870.7
Deduct 126 from 140 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 8:
When dividing 140 by 18, we get 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 8870.77
If we subtract 126 from 140, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 8870.77, with a leftover of 0.014.