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

Moving on to step 1:
18 can be fit into 8 0 times, resulting in a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Fetch the next digit (8) from the dividend, attach it to 8 and continue: 88 / 18

Moving on to step 2:
If we divide 88 by 18, we get 4 and a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 72 from 88 leaves us with 16.
Bring next digit (7) of the dividend behind the 16 and repeat the process: 167 / 18

Let's proceed to step 3:
When dividing 167 by 18, we get 9 with a remainder of 5.
Write down 9 as next digit of the result. 
Result so far: 49.0
If we take 162 away from 167, we end up with 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 18

Advancing to step 4:
18 goes into 52 2 times with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 492.0
Deduct 36 from 52 and we're left with 16.
Grab the next digit (2) from the dividend, add it to 16, then carry on: 162 / 18

Moving on to step 5:
18 can be fit into 162 9 times, resulting in a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 4929.0
Subtract 162 from 162 to get 0.
Take the next digit (9) from the dividend and append it to 0, then repeat: 9 / 18

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

Moving on to step 7:
When dividing 90 by 18, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 49290.5
Subtract 90 from 90 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
If we divide 0 by 18, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 49290.5
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
0 divided by 18 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 49290.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 49290.5 with a remaining 0.0.