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

On to step 1:
3 can be fit into 9 3 times, resulting in a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 9 from 9, we get 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 3

Going ahead to step 2:
3 goes into 9 3 times with a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 33.0
If we subtract 9 from 9, we get 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 3

Let's proceed to step 3:
When dividing 8 by 3, we get 2 with a remainder of 2.
The next digit of our result is 2. 
Result so far: 332.0
Deduct 6 from 8 and we're left with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 3

Step 4:
3 can be fit into 29 9 times, resulting in a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 3329.0
If we take 27 away from 29, we end up with 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 3

Moving on to step 5:
3 goes into 23 7 times with a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 33297.0
Deduct 21 from 23 and we're left with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 3

Step 6:
3 goes into 21 7 times with a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 332977.0
Subtracting 21 from 21 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.

Going ahead to step 7:
When dividing 0 by 3, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 332977.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
3 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 332977.0
Deduct 0 from 0 and we're left 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 332977.0 with a remaining 0.0.