We're dividing 167666 by 3 
The aim is to understand the frequency of 3 in 167666.

Advancing to step 1:
3 goes into 1 0 times with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 3

Let's proceed to step 2:
16 divided by 3 is 5 with a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 15 from 16 and we're left with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 3

Let's proceed to step 3:
3 goes into 17 5 times with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 55.0
Deduct 15 from 17 and we're left with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 3

Advancing to step 4:
3 goes into 26 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 558.0
If we subtract 24 from 26, we get 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 3

Advancing to step 5:
If we divide 26 by 3, we get 8 and a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 5588.0
If we take 24 away from 26, we end up with 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 3

Advancing to step 6:
If we divide 26 by 3, we get 8 and a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 55888.0
If we take 24 away from 26, we end up 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 7:
When dividing 20 by 3, we get 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 55888.6
If we take 18 away from 20, we end up 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.

On to step 8:
3 goes into 20 6 times with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 55888.66
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 55888.66, with a leftover of 0.002.