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

Advancing to step 1:
When dividing 6 by 4, we get 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 4 from 6 to get 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 4

On to step 2:
If we divide 26 by 4, we get 6 and a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 16.0
If we take 24 away from 26, we end up with 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 4

Going ahead to step 3:
The number 4 fits into 27 6 times, leaving a remainder of 3.
The next digit of our result is 6. 
Result so far: 166.0
If we subtract 24 from 27, we get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 4

Step 4:
The number 4 fits into 39 9 times, leaving a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 1669.0
If we take 36 away from 39, we end up with 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 4

On to step 5:
When dividing 34 by 4, we get 8 with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 16698.0
Subtract 32 from 34 to get 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 4

On to step 6:
The number 4 fits into 21 5 times, leaving a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 166985.0
Subtracting 20 from 21 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
When dividing 10 by 4, we get 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 166985.2
Deduct 8 from 10 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.

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: 166985.25
Subtract 20 from 20 to 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.

Going ahead to step 9:
0 divided by 4 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 166985.25
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.

Going ahead to step 10:
0 divided by 4 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 166985.25
If we take 0 away from 0, we end up 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.

After the division, we end up with 166985.25 and a remainder of 0.0.