We divide 578899 by 18
The aim is to understand the frequency of 18 in 578899.

Going ahead to step 1:
When dividing 5 by 18, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 18

Advancing to step 2:
57 divided by 18 is 3 with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 54 from 57 and we're left with 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 18

Step 3:
38 divided by 18 is 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 32.0
If we take 36 away from 38, we end up with 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 18

Going ahead to step 4:
18 goes into 28 1 times with a remainder of 10.
Put 1 as the next digit of the answer. 
Result so far: 321.0
If we take 18 away from 28, we end up with 10.
Fetch the next digit (9) from the dividend, attach it to 10 and continue: 109 / 18

Let's proceed to step 5:
When dividing 109 by 18, we get 6 with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 3216.0
Deduct 108 from 109 and we're left with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 18

Step 6:
The number 18 fits into 19 1 times, leaving a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 32161.0
Subtracting 18 from 19 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
When dividing 10 by 18, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 32161.0
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
100 divided by 18 is 5 with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 32161.05
Subtract 90 from 100 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 9:
When dividing 100 by 18, we get 5 with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 32161.055
Deduct 90 from 100 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 32161.055 with a remaining 0.001.