We look at the division of 767018 by 18 
The aim is to understand the frequency of 18 in 767018.

Let's proceed to step 1:
18 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Bring next digit (6) of the dividend behind the 7 and repeat the process: 76 / 18

Step 2:
18 can be fit into 76 4 times, resulting in a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 4.0
The remainder is 4 after subtracting 72 from 76.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 18

Going ahead to step 3:
The number 18 fits into 47 2 times, leaving a remainder of 11.
Put 2 as the next digit of the answer. 
Result so far: 42.0
Deduct 36 from 47 and we're left with 11.
Append the next digit (0) from the dividend to 11 and continue with: 110 / 18

Going ahead to step 4:
18 can be fit into 110 6 times, resulting in a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 426.0
Subtract 108 from 110 to get 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 18

On to step 5:
The number 18 fits into 21 1 times, leaving a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 4261.0
Subtract 18 from 21 to get 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 18

Advancing to step 6:
38 divided by 18 is 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 42612.0
The remainder is 2 after subtracting 36 from 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
If we divide 20 by 18, we get 1 and a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 42612.1
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
18 can be fit into 20 1 times, resulting in a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 42612.11
Subtract 18 from 20 to get 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 quotient of the division is 42612.11, and the remainder is 0.002.