107731 ÷ 18 
The aim is to understand the frequency of 18 in 107731.

Going ahead to step 1:
1 divided by 18 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 18

Moving on to step 2:
When dividing 10 by 18, we get 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 10 after subtracting 0 from 10.
Bring next digit (7) of the dividend behind the 10 and repeat the process: 107 / 18

Advancing to step 3:
18 goes into 107 5 times with a remainder of 17.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtract 90 from 107 to get 17.
Fetch the next digit (7) from the dividend, attach it to 17 and continue: 177 / 18

Going ahead to step 4:
18 goes into 177 9 times with a remainder of 15.
The next digit of our result is 9. 
Result so far: 59.0
Subtracting 162 from 177 leaves us with 15.
Grab the next digit (3) from the dividend, add it to 15, then carry on: 153 / 18

Going ahead to step 5:
153 divided by 18 is 8 with a remainder of 9.
Record the quotient 8 as the next digit in the result. 
Result so far: 598.0
Deduct 144 from 153 and we're left with 9.
Fetch the next digit (1) from the dividend, attach it to 9 and continue: 91 / 18

Step 6:
The number 18 fits into 91 5 times, leaving a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 5985.0
Subtract 90 from 91 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
If we divide 10 by 18, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5985.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
When dividing 100 by 18, we get 5 with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 5985.05
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 9:
18 can be fit into 100 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 5985.055
The remainder is 10 after subtracting 90 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 5985.055 with a remaining 0.001.