We divide 516682 by 3
The aim is to understand the frequency of 3 in 516682.

Step 1:
3 can be fit into 5 1 times, resulting in a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 3 from 5, we get 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 3

On to step 2:
If we divide 21 by 3, we get 7 and a remainder of 0.
The next digit of our result is 7. 
Result so far: 17.0
The remainder is 0 after subtracting 21 from 21.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 3

Advancing to step 3:
6 divided by 3 is 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 172.0
Subtract 6 from 6 to get 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 3

Advancing to step 4:
If we divide 6 by 3, we get 2 and a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 1722.0
Subtracting 6 from 6 leaves us with 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 3

On to step 5:
3 can be fit into 8 2 times, resulting in a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 17222.0
If we subtract 6 from 8, we get 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 3

Step 6:
If we divide 22 by 3, we get 7 and a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 172227.0
If we take 21 away from 22, 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.

Advancing to step 7:
3 can be fit into 10 3 times, resulting in a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 172227.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.

Going ahead to step 8:
The number 3 fits into 10 3 times, leaving a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 172227.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 172227.33 and a remainder of 0.001.