We divide 668012 by 4
The aim is to understand the frequency of 4 in 668012.

Going ahead to step 1:
The number 4 fits into 6 1 times, leaving a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 4 from 6, we get 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 4

Going ahead to step 2:
4 goes into 26 6 times with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 16.0
The remainder is 2 after subtracting 24 from 26.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 4

Moving on to step 3:
The number 4 fits into 28 7 times, leaving a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 167.0
Subtracting 28 from 28 leaves us with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 4

On to step 4:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1670.0
Deduct 0 from 0 and we're left with 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 4

On to step 5:
If we divide 1 by 4, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 16700.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 4

Going ahead to step 6:
If we divide 12 by 4, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 167003.0
Subtract 12 from 12 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.

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

Going ahead to step 8:
When dividing 0 by 4, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 167003.0
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.

The final result is 167003.0 with a remainder of 0.0.