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

On to step 1:
3 goes into 5 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 3 from 5 leaves us with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 3

Step 2:
21 divided by 3 is 7 with a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Subtracting 21 from 21 leaves us with 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 3

Advancing to step 3:
3 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 170.0
If we subtract 0 from 2, we get 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 3

Step 4:
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: 1706.0
Subtracting 18 from 20 leaves us with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 3

Let's proceed to step 5:
The number 3 fits into 28 9 times, leaving a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 17069.0
If we subtract 27 from 28, we get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 3

Going ahead to step 6:
When dividing 11 by 3, we get 3 with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 170693.0
The remainder is 2 after subtracting 9 from 11.
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:
The number 3 fits into 20 6 times, leaving a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 170693.6
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.

Going ahead to step 8:
The number 3 fits into 20 6 times, leaving a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 170693.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.

In conclusion, the division gives 170693.66 with a balance of 0.002.