We're dividing 77862063 by 167 
The aim is to understand the frequency of 167 in 77862063.

Step 1:
The number 167 fits into 7 0 times, leaving a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 167

Let's proceed to step 2:
When dividing 77 by 167, we get 0 with a remainder of 77.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 77 and we're left with 77.
Include the next digit (8) from the dividend after 77, then repeat: 778 / 167

Moving on to step 3:
If we divide 778 by 167, we get 4 and a remainder of 110.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 668 from 778 leaves us with 110.
Append the next digit (6) from the dividend to 110 and continue with: 1106 / 167

Let's proceed to step 4:
If we divide 1106 by 167, we get 6 and a remainder of 104.
Use 6 as the next digit of our solution. 
Result so far: 46.0
Subtracting 1002 from 1106 leaves us with 104.
Take the next digit (2) from the dividend and append it to 104, then repeat: 1042 / 167

Going ahead to step 5:
When dividing 1042 by 167, we get 6 with a remainder of 40.
Write down 6 as next digit of the result. 
Result so far: 466.0
If we take 1002 away from 1042, we end up with 40.
Bring next digit (0) of the dividend behind the 40 and repeat the process: 400 / 167

On to step 6:
400 divided by 167 is 2 with a remainder of 66.
Put 2 as the next digit of the answer. 
Result so far: 4662.0
Deduct 334 from 400 and we're left with 66.
Bring next digit (6) of the dividend behind the 66 and repeat the process: 666 / 167

Going ahead to step 7:
666 divided by 167 is 3 with a remainder of 165.
Use 3 as the next digit of our solution. 
Result so far: 46623.0
If we take 501 away from 666, we end up with 165.
Bring next digit (3) of the dividend behind the 165 and repeat the process: 1653 / 167

Advancing to step 8:
1653 divided by 167 is 9 with a remainder of 150.
Record the quotient 9 as the next digit in the result. 
Result so far: 466239.0
Subtracting 1503 from 1653 leaves us with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Let's proceed to step 9:
The number 167 fits into 1500 8 times, leaving a remainder of 164.
Record the quotient 8 as the next digit in the result. 
Result so far: 466239.8
If we take 1336 away from 1500, we end up with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

On to step 10:
1640 divided by 167 is 9 with a remainder of 137.
Use 9 as the next digit of our solution. 
Result so far: 466239.89
Subtracting 1503 from 1640 leaves us with 137.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1370, and continue the process.

Step 11:
When dividing 1370 by 167, we get 8 with a remainder of 34.
The number 8 becomes the next digit in our result. 
Result so far: 466239.898
If we take 1336 away from 1370, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 12:
340 divided by 167 is 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 466239.8982
Subtracting 334 from 340 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 13:
When dividing 60 by 167, we get 0 with a remainder of 60.
The number 0 becomes the next digit in our result. 
Result so far: 466239.8982
Deduct 0 from 60 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 14:
600 divided by 167 is 3 with a remainder of 99.
Record the quotient 3 as the next digit in the result. 
Result so far: 466239.898203
If we take 501 away from 600, we end up with 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

Advancing to step 15:
The number 167 fits into 990 5 times, leaving a remainder of 155.
Use 5 as the next digit of our solution. 
Result so far: 466239.8982035
The remainder is 155 after subtracting 835 from 990.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Let's proceed to step 16:
167 can be fit into 1550 9 times, resulting in a remainder of 47.
The number 9 becomes the next digit in our result. 
Result so far: 466239.89820359
If we take 1503 away from 1550, we end up with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

The final result is 466239.89820359 with a remainder of 4.7e-08.