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

Advancing to step 1:
6 divided by 4 is 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 4 away from 6, we end up with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 4

Moving on to step 2:
If we divide 26 by 4, we get 6 and a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 16.0
If we subtract 24 from 26, we get 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 4

Let's proceed to step 3:
4 can be fit into 24 6 times, resulting in a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 166.0
If we take 24 away from 24, we end up with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 4

Let's proceed to step 4:
The number 4 fits into 8 2 times, leaving a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 1662.0
Subtract 8 from 8 to get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 4

Step 5:
4 can be fit into 7 1 times, resulting in a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 16621.0
Subtract 4 from 7 to get 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 4

Advancing to step 6:
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: 166219.0
If we take 36 away from 36, 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.

On to step 7:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 166219.0
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.

Let's proceed to step 8:
The number 4 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 166219.0
The remainder is 0 after subtracting 0 from 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 166219.0 and a remainder of 0.0.