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

Advancing to step 1:
When dividing 2 by 3, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 3

Moving on to step 2:
3 can be fit into 20 6 times, resulting in a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 2 after subtracting 18 from 20.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 3

Let's proceed to step 3:
When dividing 24 by 3, we get 8 with a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 68.0
If we take 24 away from 24, we end up with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 3

Let's proceed to step 4:
3 goes into 7 2 times with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 682.0
The remainder is 1 after subtracting 6 from 7.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 3

Let's proceed to step 5:
If we divide 17 by 3, we get 5 and a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 6825.0
Subtracting 15 from 17 leaves us 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.

Advancing to step 6:
When dividing 20 by 3, we get 6 with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 6825.6
If we subtract 18 from 20, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to 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: 6825.66
Subtracting 18 from 20 leaves us 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.

Our division results in 6825.66 with a remaining 0.002.