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

Step 1:
9 divided by 18 is 0 with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Take the next digit (0) from the dividend and append it to 9, then repeat: 90 / 18

On to step 2:
If we divide 90 by 18, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 90 from 90 and we're left with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 18

Going ahead to step 3:
If we divide 2 by 18, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 50.0
If we subtract 0 from 2, we get 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 18

Going ahead to step 4:
If we divide 25 by 18, we get 1 and a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 501.0
Subtracting 18 from 25 leaves us with 7.
Grab the next digit (6) from the dividend, add it to 7, then carry on: 76 / 18

Moving on to step 5:
18 goes into 76 4 times with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 5014.0
Subtract 72 from 76 to get 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 18

Going ahead to step 6:
The number 18 fits into 47 2 times, leaving a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 50142.0
Deduct 36 from 47 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

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

On to step 8:
20 divided by 18 is 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 50142.61
Deduct 18 from 20 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
18 can be fit into 20 1 times, resulting in a remainder of 2.
The next digit of our result is 1. 
Result so far: 50142.611
Subtracting 18 from 20 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 50142.611, with a leftover of 0.0002.