We look at the division of 462589 by 3 
The aim is to understand the frequency of 3 in 462589.

On to step 1:
The number 3 fits into 4 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
If we take 3 away from 4, we end up with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 3

Let's proceed to step 2:
16 divided by 3 is 5 with a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
If we take 15 away from 16, we end up with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 3

Step 3:
3 goes into 12 4 times with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 154.0
If we subtract 12 from 12, we get 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 3

Advancing to step 4:
5 divided by 3 is 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1541.0
The remainder is 2 after subtracting 3 from 5.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 3

Advancing to step 5:
28 divided by 3 is 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 15419.0
If we subtract 27 from 28, we get 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 3

Advancing to step 6:
3 goes into 19 6 times with a remainder of 1.
The number 6 becomes the next digit in our result. 
Result so far: 154196.0
Subtracting 18 from 19 leaves us 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 7:
10 divided by 3 is 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 154196.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:
3 can be fit into 10 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 154196.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.

The quotient of the division is 154196.33, and the remainder is 0.001.