We look at the division of 47877 by 18 
The aim is to understand the frequency of 18 in 47877.

Moving on to step 1:
4 divided by 18 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 18

Step 2:
18 goes into 47 2 times with a remainder of 11.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 36 away from 47, we end up with 11.
Append the next digit (8) from the dividend to 11 and continue with: 118 / 18

Going ahead to step 3:
18 goes into 118 6 times with a remainder of 10.
The next digit of our result is 6. 
Result so far: 26.0
If we subtract 108 from 118, we get 10.
Include the next digit (7) from the dividend after 10, then repeat: 107 / 18

Let's proceed to step 4:
The number 18 fits into 107 5 times, leaving a remainder of 17.
Put 5 as the next digit of the answer. 
Result so far: 265.0
The remainder is 17 after subtracting 90 from 107.
Fetch the next digit (7) from the dividend, attach it to 17 and continue: 177 / 18

Going ahead to step 5:
The number 18 fits into 177 9 times, leaving a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 2659.0
If we take 162 away from 177, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 6:
The number 18 fits into 150 8 times, leaving a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 2659.8
Subtracting 144 from 150 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
18 goes into 60 3 times with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 2659.83
Subtracting 54 from 60 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 8:
When dividing 60 by 18, we get 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 2659.833
Subtract 54 from 60 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 2659.833 with a remainder of 0.0006.