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

On to step 1:
8 divided by 3 is 2 with a remainder of 2.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 6 from 8, we get 2.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 3

Moving on to step 2:
26 divided by 3 is 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 28.0
If we take 24 away from 26, we end up with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 3

Going ahead to step 3:
When dividing 26 by 3, we get 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 288.0
Subtracting 24 from 26 leaves us with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 3

Advancing to step 4:
3 goes into 28 9 times with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 2889.0
Subtracting 27 from 28 leaves us with 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 3

Going ahead to step 5:
The number 3 fits into 13 4 times, leaving a remainder of 1.
The next digit of our result is 4. 
Result so far: 28894.0
Subtracting 12 from 13 leaves us with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 3

Let's proceed to step 6:
3 goes into 15 5 times with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 288945.0
The remainder is 0 after subtracting 15 from 15.
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 7:
The number 3 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 288945.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.

Moving on to step 8:
When dividing 0 by 3, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 288945.0
If we subtract 0 from 0, we 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.

After the division, we end up with 288945.0 and a remainder of 0.0.