Let's divide 935982 by 3
The aim is to understand the frequency of 3 in 935982.

On to step 1:
When dividing 9 by 3, we get 3 with a remainder of 0.
The next digit of our result is 3. 
Result so far: 3.0
The remainder is 0 after subtracting 9 from 9.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 3

Going ahead to step 2:
When dividing 3 by 3, we get 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Deduct 3 from 3 and we're left with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 3

Let's proceed to step 3:
The number 3 fits into 5 1 times, leaving a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 311.0
Subtracting 3 from 5 leaves us with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 3

Going ahead to step 4:
3 goes into 29 9 times with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 3119.0
If we subtract 27 from 29, we get 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 3

Advancing to step 5:
If we divide 28 by 3, we get 9 and a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 31199.0
If we subtract 27 from 28, we get 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 3

Let's proceed to step 6:
3 can be fit into 12 4 times, resulting in a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 311994.0
Subtract 12 from 12 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
0 divided by 3 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 311994.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.

Going ahead to step 8:
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: 311994.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.

The quotient of the division is 311994.0, and the remainder is 0.0.