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

Moving on to step 1:
If we divide 9 by 3, we get 3 and a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 9 away from 9, we end up with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 3

Advancing to step 2:
When dividing 9 by 3, we get 3 with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 33.0
Deduct 9 from 9 and we're left with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 3

Advancing to step 3:
3 can be fit into 7 2 times, resulting in a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 332.0
If we subtract 6 from 7, we get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 3

Let's proceed to step 4:
If we divide 18 by 3, we get 6 and a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 3326.0
The remainder is 0 after subtracting 18 from 18.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 3

Step 5:
If we divide 8 by 3, we get 2 and a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 33262.0
Subtract 6 from 8 to get 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 3

Step 6:
If we divide 25 by 3, we get 8 and a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 332628.0
Deduct 24 from 25 and we're left 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 7:
3 goes into 10 3 times with a remainder of 1.
The next digit of our result is 3. 
Result so far: 332628.3
Deduct 9 from 10 and we're left 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.

Going ahead to step 8:
3 can be fit into 10 3 times, resulting in a remainder of 1.
The next digit of our result is 3. 
Result so far: 332628.33
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.

Our division results in 332628.33 with a remaining 0.001.