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

Going ahead to step 1:
3 can be fit into 3 1 times, resulting in a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 3 from 3 to get 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 3

Step 2:
8 divided by 3 is 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 12.0
If we take 6 away from 8, we end up with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 3

Going ahead to step 3:
29 divided by 3 is 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 129.0
If we subtract 27 from 29, we get 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 3

Moving on to step 4:
The number 3 fits into 23 7 times, leaving a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 1297.0
Deduct 21 from 23 and we're left with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 3

On to step 5:
If we divide 21 by 3, we get 7 and a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 12977.0
The remainder is 0 after subtracting 21 from 21.
Fetch the next digit (3) from the dividend, attach it to 0 and continue: 3 / 3

Let's proceed to step 6:
If we divide 3 by 3, we get 1 and a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 129771.0
The remainder is 0 after subtracting 3 from 3.
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:
3 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 129771.0
If we subtract 0 from 0, we 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.

Going ahead to step 8:
3 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 129771.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.

Our division results in 129771.0 with a remaining 0.0.