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

On to step 1:
18 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (1) from the dividend to 4 and continue with: 41 / 18

Step 2:
If we divide 41 by 18, we get 2 and a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 36 from 41 and we're left with 5.
Include the next digit (3) from the dividend after 5, then repeat: 53 / 18

Advancing to step 3:
53 divided by 18 is 2 with a remainder of 17.
Use 2 as the next digit of our solution. 
Result so far: 22.0
The remainder is 17 after subtracting 36 from 53.
Include the next digit (7) from the dividend after 17, then repeat: 177 / 18

Step 4:
If we divide 177 by 18, we get 9 and a remainder of 15.
Write down 9 as next digit of the result. 
Result so far: 229.0
If we take 162 away from 177, we end up with 15.
Fetch the next digit (2) from the dividend, attach it to 15 and continue: 152 / 18

Advancing to step 5:
The number 18 fits into 152 8 times, leaving a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 2298.0
Deduct 144 from 152 and we're left with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 18

Advancing to step 6:
If we divide 87 by 18, we get 4 and a remainder of 15.
Put 4 as the next digit of the answer. 
Result so far: 22984.0
Deduct 72 from 87 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 7:
When dividing 150 by 18, we get 8 with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 22984.8
Subtract 144 from 150 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
When dividing 60 by 18, we get 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 22984.83
If we subtract 54 from 60, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 9:
If we divide 60 by 18, we get 3 and a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 22984.833
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.

Our division results in 22984.833 with a remaining 0.0006.