331167 ÷ 4 
The aim is to understand the frequency of 4 in 331167.

Moving on to step 1:
If we divide 3 by 4, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 4

Advancing to step 2:
4 goes into 33 8 times with a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 32 from 33, we get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 4

Step 3:
When dividing 11 by 4, we get 2 with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 82.0
Subtract 8 from 11 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 4

On to step 4:
4 goes into 31 7 times with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 827.0
If we subtract 28 from 31, we get 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 4

Advancing to step 5:
If we divide 36 by 4, we get 9 and a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 8279.0
If we subtract 36 from 36, we get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 4

On to step 6:
7 divided by 4 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 82791.0
The remainder is 3 after subtracting 4 from 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
30 divided by 4 is 7 with a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 82791.7
If we subtract 28 from 30, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 8:
The number 4 fits into 20 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 82791.75
Subtracting 20 from 20 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.

Advancing to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 82791.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.

Let's proceed to step 10:
4 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 82791.75
Deduct 0 from 0 and we're left 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 82791.75 with a remaining 0.0.