173641 divided by 18 
The aim is to understand the frequency of 18 in 173641.

Going ahead to step 1:
18 goes into 1 0 times with 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.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 18

Step 2:
If we divide 17 by 18, we get 0 and a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 17 leaves us with 17.
Fetch the next digit (3) from the dividend, attach it to 17 and continue: 173 / 18

Step 3:
18 can be fit into 173 9 times, resulting in a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 9.0
Subtract 162 from 173 to get 11.
Fetch the next digit (6) from the dividend, attach it to 11 and continue: 116 / 18

Moving on to step 4:
The number 18 fits into 116 6 times, leaving a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 96.0
Subtract 108 from 116 to get 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 18

Let's proceed to step 5:
18 can be fit into 84 4 times, resulting in a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 964.0
If we subtract 72 from 84, we get 12.
Append the next digit (1) from the dividend to 12 and continue with: 121 / 18

Advancing to step 6:
18 goes into 121 6 times with a remainder of 13.
Record the quotient 6 as the next digit in the result. 
Result so far: 9646.0
Subtract 108 from 121 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 7:
If we divide 130 by 18, we get 7 and a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 9646.7
If we subtract 126 from 130, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
The number 18 fits into 40 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 9646.72
Subtracting 36 from 40 leaves us 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.

Step 9:
The number 18 fits into 40 2 times, leaving a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 9646.722
Subtracting 36 from 40 leaves us 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.

After the division, we end up with 9646.722 and a remainder of 0.0004.