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

Let's proceed to step 1:
If we divide 4 by 18, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 18

On to step 2:
When dividing 41 by 18, we get 2 with a remainder of 5.
The next digit of our result is 2. 
Result so far: 2.0
If we take 36 away from 41, we end up with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 18

On to step 3:
58 divided by 18 is 3 with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 23.0
The remainder is 4 after subtracting 54 from 58.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 18

Advancing to step 4:
18 can be fit into 42 2 times, resulting in a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 232.0
Deduct 36 from 42 and we're left with 6.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 18

Step 5:
If we divide 68 by 18, we get 3 and a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 2323.0
Subtract 54 from 68 to get 14.
Append the next digit (7) from the dividend to 14 and continue with: 147 / 18

Moving on to step 6:
If we divide 147 by 18, we get 8 and a remainder of 3.
The next digit of our result is 8. 
Result so far: 23238.0
Subtracting 144 from 147 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

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

Going ahead to step 8:
The number 18 fits into 120 6 times, leaving a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 23238.16
If we take 108 away from 120, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 9:
18 goes into 120 6 times with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 23238.166
If we subtract 108 from 120, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 23238.166 with a remaining 0.0012.