Let's divide 78167 by 4
The aim is to understand the frequency of 4 in 78167.

Advancing to step 1:
The number 4 fits into 7 1 times, leaving a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 4 from 7 leaves us with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 4

On to step 2:
4 goes into 38 9 times with a remainder of 2.
The next digit of our result is 9. 
Result so far: 19.0
If we subtract 36 from 38, we get 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 4

Going ahead to step 3:
4 goes into 21 5 times with a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 195.0
If we subtract 20 from 21, we get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 4

Advancing to step 4:
The number 4 fits into 16 4 times, leaving a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 1954.0
Subtract 16 from 16 to get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 4

Moving on to step 5:
4 can be fit into 7 1 times, resulting in a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 19541.0
If we subtract 4 from 7, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 6:
4 goes into 30 7 times with a remainder of 2.
The next digit of our result is 7. 
Result so far: 19541.7
Deduct 28 from 30 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
The number 4 fits into 20 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 19541.75
The remainder is 0 after subtracting 20 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19541.75
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 19541.75
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 19541.75 with a remaining 0.0.