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

On to step 1:
7 divided by 18 is 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 18

Advancing to step 2:
The number 18 fits into 78 4 times, leaving a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 72 from 78 leaves us with 6.
Append the next digit (8) from the dividend to 6 and continue with: 68 / 18

Let's proceed to step 3:
When dividing 68 by 18, we get 3 with a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 43.0
The remainder is 14 after subtracting 54 from 68.
Fetch the next digit (1) from the dividend, attach it to 14 and continue: 141 / 18

Going ahead to step 4:
When dividing 141 by 18, we get 7 with a remainder of 15.
Use 7 as the next digit of our solution. 
Result so far: 437.0
If we subtract 126 from 141, we get 15.
Bring next digit (0) of the dividend behind the 15 and repeat the process: 150 / 18

Moving on to step 5:
When dividing 150 by 18, we get 8 with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 4378.0
Deduct 144 from 150 and we're left with 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 18

Moving on to step 6:
The number 18 fits into 67 3 times, leaving a remainder of 13.
Record the quotient 3 as the next digit in the result. 
Result so far: 43783.0
If we take 54 away from 67, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 7:
18 goes into 130 7 times with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 43783.7
Subtracting 126 from 130 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
When dividing 40 by 18, we get 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 43783.72
If we subtract 36 from 40, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
The number 18 fits into 40 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 43783.722
Subtracting 36 from 40 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 43783.722, with a leftover of 0.0004.