Let's divide 794023 by 18
The aim is to understand the frequency of 18 in 794023.

Advancing to step 1:
When dividing 7 by 18, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 18

On to step 2:
If we divide 79 by 18, we get 4 and a remainder of 7.
The next digit of our result is 4. 
Result so far: 4.0
If we take 72 away from 79, we end up with 7.
Bring next digit (4) of the dividend behind the 7 and repeat the process: 74 / 18

Advancing to step 3:
When dividing 74 by 18, we get 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 44.0
If we take 72 away from 74, we end up with 2.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 18

Let's proceed to step 4:
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: 441.0
Deduct 18 from 20 and we're left with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 18

Moving on to step 5:
18 can be fit into 22 1 times, resulting in a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 4411.0
Deduct 18 from 22 and we're left with 4.
Include the next digit (3) from the dividend after 4, then repeat: 43 / 18

Step 6:
When dividing 43 by 18, we get 2 with a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 44112.0
Subtract 36 from 43 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
18 goes into 70 3 times with a remainder of 16.
Put 3 as the next digit of the answer. 
Result so far: 44112.3
Subtracting 54 from 70 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 8:
18 can be fit into 160 8 times, resulting in a remainder of 16.
The next digit of our result is 8. 
Result so far: 44112.38
The remainder is 16 after subtracting 144 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 9:
160 divided by 18 is 8 with a remainder of 16.
The next digit of our result is 8. 
Result so far: 44112.388
If we subtract 144 from 160, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The quotient of the division is 44112.388, and the remainder is 0.0016.