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

Let's proceed to step 1:
If we divide 9 by 3, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Deduct 9 from 9 and we're left with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 3

Moving on to step 2:
When dividing 9 by 3, we get 3 with a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 33.0
If we subtract 9 from 9, we get 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 3

Step 3:
If we divide 6 by 3, we get 2 and a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 332.0
Subtracting 6 from 6 leaves us with 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 3

Going ahead to step 4:
The number 3 fits into 5 1 times, leaving a remainder of 2.
The next digit of our result is 1. 
Result so far: 3321.0
Deduct 3 from 5 and we're left with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 3

Advancing to step 5:
When dividing 21 by 3, we get 7 with a remainder of 0.
The next digit of our result is 7. 
Result so far: 33217.0
Deduct 21 from 21 and we're left with 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 3

Step 6:
The number 3 fits into 4 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 332171.0
If we take 3 away from 4, 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.

Advancing to step 7:
The number 3 fits into 10 3 times, leaving a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 332171.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.

Going ahead to step 8:
If we divide 10 by 3, we get 3 and a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 332171.33
Subtract 9 from 10 to 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.

The quotient of the division is 332171.33, and the remainder is 0.001.