Let's divide 966667 by 3
The aim is to understand the frequency of 3 in 966667.

Going ahead to step 1:
When dividing 9 by 3, we get 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 9 away from 9, we end up with 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 3

On to step 2:
3 goes into 6 2 times with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 32.0
Deduct 6 from 6 and we're left with 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 3

Step 3:
If we divide 6 by 3, we get 2 and a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 322.0
Subtracting 6 from 6 leaves us with 0.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 3

Advancing to step 4:
3 goes into 6 2 times with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 3222.0
Deduct 6 from 6 and we're left with 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 3

On to step 5:
When dividing 6 by 3, we get 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 32222.0
Subtract 6 from 6 to get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 3

Advancing to step 6:
The number 3 fits into 7 2 times, leaving a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 322222.0
Subtract 6 from 7 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
When dividing 10 by 3, we get 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 322222.3
If we take 9 away from 10, we end up 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.

On to step 8:
The number 3 fits into 10 3 times, leaving a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 322222.33
Subtract 9 from 10 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

After the division, we end up with 322222.33 and a remainder of 0.001.