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

Let's proceed to step 1:
167 can be fit into 6 0 times, resulting in a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Take the next digit (3) from the dividend and append it to 6, then repeat: 63 / 167

Let's proceed to step 2:
167 can be fit into 63 0 times, resulting in a remainder of 63.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 63 leaves us with 63.
Include the next digit (1) from the dividend after 63, then repeat: 631 / 167

On to step 3:
When dividing 631 by 167, we get 3 with a remainder of 130.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 501 from 631 leaves us with 130.
Grab the next digit (6) from the dividend, add it to 130, then carry on: 1306 / 167

Advancing to step 4:
167 goes into 1306 7 times with a remainder of 137.
Use 7 as the next digit of our solution. 
Result so far: 37.0
Subtracting 1169 from 1306 leaves us with 137.
Fetch the next digit (7) from the dividend, attach it to 137 and continue: 1377 / 167

On to step 5:
1377 divided by 167 is 8 with a remainder of 41.
The next digit of our result is 8. 
Result so far: 378.0
The remainder is 41 after subtracting 1336 from 1377.
Bring next digit (1) of the dividend behind the 41 and repeat the process: 411 / 167

Moving on to step 6:
The number 167 fits into 411 2 times, leaving a remainder of 77.
The next digit of our result is 2. 
Result so far: 3782.0
Subtract 334 from 411 to get 77.
Append the next digit (9) from the dividend to 77 and continue with: 779 / 167

On to step 7:
The number 167 fits into 779 4 times, leaving a remainder of 111.
The next digit of our result is 4. 
Result so far: 37824.0
If we subtract 668 from 779, we get 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1110, and continue the process.

Advancing to step 8:
167 can be fit into 1110 6 times, resulting in a remainder of 108.
Use 6 as the next digit of our solution. 
Result so far: 37824.6
Subtract 1002 from 1110 to get 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Moving on to step 9:
167 can be fit into 1080 6 times, resulting in a remainder of 78.
Use 6 as the next digit of our solution. 
Result so far: 37824.66
If we take 1002 away from 1080, we end up 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.

The quotient of the division is 37824.66, and the remainder is 0.078.