We're dividing 142877 by 18 
The aim is to understand the frequency of 18 in 142877.

Going ahead to step 1:
18 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 18

Moving on to step 2:
14 divided by 18 is 0 with a remainder of 14.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 14 to get 14.
Grab the next digit (2) from the dividend, add it to 14, then carry on: 142 / 18

Step 3:
When dividing 142 by 18, we get 7 with a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we subtract 126 from 142, we get 16.
Bring next digit (8) of the dividend behind the 16 and repeat the process: 168 / 18

On to step 4:
If we divide 168 by 18, we get 9 and a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 79.0
The remainder is 6 after subtracting 162 from 168.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 18

Step 5:
18 can be fit into 67 3 times, resulting in a remainder of 13.
Put 3 as the next digit of the answer. 
Result so far: 793.0
If we take 54 away from 67, we end up with 13.
Append the next digit (7) from the dividend to 13 and continue with: 137 / 18

Moving on to step 6:
When dividing 137 by 18, we get 7 with a remainder of 11.
The next digit of our result is 7. 
Result so far: 7937.0
Subtract 126 from 137 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 7:
110 divided by 18 is 6 with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 7937.6
If we take 108 away from 110, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
18 can be fit into 20 1 times, resulting in a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 7937.61
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 9:
The number 18 fits into 20 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 7937.611
Deduct 18 from 20 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 7937.611 and a remainder of 0.0002.