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

Let's proceed to step 1:
8 divided by 3 is 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 6 from 8, we get 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 3

Let's proceed to step 2:
When dividing 29 by 3, we get 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 29.0
Subtract 27 from 29 to get 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 3

On to step 3:
When dividing 28 by 3, we get 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 299.0
Deduct 27 from 28 and we're left with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 3

Going ahead to step 4:
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: 2993.0
Subtract 9 from 10 to get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 3

On to step 5:
3 can be fit into 11 3 times, resulting in a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 29933.0
If we take 9 away from 11, we end up with 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 3

Going ahead to 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: 299337.0
If we subtract 21 from 22, we 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.

Step 7:
3 can be fit into 10 3 times, resulting in a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 299337.3
Subtracting 9 from 10 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.

On to step 8:
When dividing 10 by 3, we get 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 299337.33
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.

The final outcome is 299337.33, with a leftover of 0.001.