We're dividing 137877 by 9 
The aim is to understand the frequency of 9 in 137877.

Going ahead to step 1:
1 divided by 9 is 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 9

Going ahead to step 2:
9 can be fit into 13 1 times, resulting in a remainder of 4.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 4 after subtracting 9 from 13.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 9

Moving on to step 3:
If we divide 47 by 9, we get 5 and a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 15.0
Deduct 45 from 47 and we're left with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 9

Let's proceed to step 4:
When dividing 28 by 9, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 153.0
Deduct 27 from 28 and we're left with 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 9

Going ahead to step 5:
9 can be fit into 17 1 times, resulting in a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 1531.0
If we take 9 away from 17, we end up with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 9

Advancing to step 6:
9 can be fit into 87 9 times, resulting in a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 15319.0
Deduct 81 from 87 and we're left 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 7:
9 can be fit into 60 6 times, resulting in a remainder of 6.
Record the quotient 6 as the next digit in the result. 
Result so far: 15319.6
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.

Moving on to step 8:
9 can be fit into 60 6 times, resulting in a remainder of 6.
The next digit of our result is 6. 
Result so far: 15319.66
If we subtract 54 from 60, we 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.

Our division results in 15319.66 with a remaining 0.006.