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

Moving on to step 1:
6 divided by 18 is 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 18

Let's proceed to step 2:
If we divide 65 by 18, we get 3 and a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 54 from 65, we get 11.
Fetch the next digit (1) from the dividend, attach it to 11 and continue: 111 / 18

Moving on to step 3:
111 divided by 18 is 6 with a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 36.0
The remainder is 3 after subtracting 108 from 111.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 18

Let's proceed to step 4:
When dividing 36 by 18, we get 2 with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 362.0
If we take 36 away from 36, we end up with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 18

Let's proceed to step 5:
When dividing 5 by 18, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 3620.0
Subtract 0 from 5 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 6:
The number 18 fits into 50 2 times, leaving a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 3620.2
Deduct 36 from 50 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.

On to step 7:
When dividing 140 by 18, we get 7 with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 3620.27
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.

Step 8:
When dividing 140 by 18, we get 7 with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 3620.277
Subtracting 126 from 140 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.

After the division, we end up with 3620.277 and a remainder of 0.0014.