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

Step 1:
The number 167 fits into 7 0 times, leaving a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 167

Moving on to step 2:
The number 167 fits into 77 0 times, leaving a remainder of 77.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 77 and we're left with 77.
Include the next digit (1) from the dividend after 77, then repeat: 771 / 167

Advancing to step 3:
When dividing 771 by 167, we get 4 with a remainder of 103.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we take 668 away from 771, we end up with 103.
Bring next digit (6) of the dividend behind the 103 and repeat the process: 1036 / 167

On to step 4:
167 goes into 1036 6 times with a remainder of 34.
Use 6 as the next digit of our solution. 
Result so far: 46.0
Subtract 1002 from 1036 to get 34.
Append the next digit (0) from the dividend to 34 and continue with: 340 / 167

Advancing to step 5:
167 goes into 340 2 times with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 462.0
Subtract 334 from 340 to get 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 167

On to step 6:
When dividing 63 by 167, we get 0 with a remainder of 63.
Use 0 as the next digit of our solution. 
Result so far: 4620.0
Subtract 0 from 63 to get 63.
Take the next digit (7) from the dividend and append it to 63, then repeat: 637 / 167

Going ahead to step 7:
167 can be fit into 637 3 times, resulting in a remainder of 136.
Put 3 as the next digit of the answer. 
Result so far: 46203.0
Subtracting 501 from 637 leaves us with 136.
Take the next digit (4) from the dividend and append it to 136, then repeat: 1364 / 167

Let's proceed to step 8:
The number 167 fits into 1364 8 times, leaving a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 462038.0
Subtract 1336 from 1364 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 9:
167 can be fit into 280 1 times, resulting in a remainder of 113.
Put 1 as the next digit of the answer. 
Result so far: 462038.1
If we subtract 167 from 280, we get 113.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1130, and continue the process.

Going ahead to step 10:
When dividing 1130 by 167, we get 6 with a remainder of 128.
The next digit of our result is 6. 
Result so far: 462038.16
Subtract 1002 from 1130 to get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

On to step 11:
167 can be fit into 1280 7 times, resulting in a remainder of 111.
Record the quotient 7 as the next digit in the result. 
Result so far: 462038.167
Subtracting 1169 from 1280 leaves us with 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1110, and continue the process.

Let's proceed to step 12:
If we divide 1110 by 167, we get 6 and a remainder of 108.
Put 6 as the next digit of the answer. 
Result so far: 462038.1676
If we take 1002 away from 1110, we end up with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Let's proceed to step 13:
1080 divided by 167 is 6 with a remainder of 78.
The number 6 becomes the next digit in our result. 
Result so far: 462038.16766
Subtracting 1002 from 1080 leaves us with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Our division results in 462038.16766 with a remaining 7.8e-05.