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

Step 1:
18 can be fit into 8 0 times, resulting in a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 18

Going ahead to step 2:
84 divided by 18 is 4 with a remainder of 12.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 72 from 84 to get 12.
Take the next digit (7) from the dividend and append it to 12, then repeat: 127 / 18

On to step 3:
When dividing 127 by 18, we get 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 47.0
If we take 126 away from 127, we end up with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 18

Going ahead to step 4:
The number 18 fits into 17 0 times, leaving a remainder of 17.
Put 0 as the next digit of the answer. 
Result so far: 470.0
The remainder is 17 after subtracting 0 from 17.
Bring next digit (9) of the dividend behind the 17 and repeat the process: 179 / 18

Let's proceed to step 5:
The number 18 fits into 179 9 times, leaving a remainder of 17.
Record the quotient 9 as the next digit in the result. 
Result so far: 4709.0
Deduct 162 from 179 and we're left with 17.
Take the next digit (8) from the dividend and append it to 17, then repeat: 178 / 18

Step 6:
If we divide 178 by 18, we get 9 and a remainder of 16.
Write down 9 as next digit of the result. 
Result so far: 47099.0
If we subtract 162 from 178, 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.

Advancing to step 7:
When dividing 160 by 18, we get 8 with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 47099.8
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.

On to step 8:
When dividing 160 by 18, we get 8 with a remainder of 16.
The next digit of our result is 8. 
Result so far: 47099.88
Deduct 144 from 160 and we're left 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.

The final outcome is 47099.88, with a leftover of 0.016.