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

Step 1:
When dividing 3 by 3, we get 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 3 from 3 leaves us with 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 3

Step 2:
3 can be fit into 6 2 times, resulting in a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we take 6 away from 6, we end up with 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 3

Advancing to step 3:
3 goes into 6 2 times with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 122.0
Deduct 6 from 6 and we're left with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 3

Let's proceed to step 4:
If we divide 8 by 3, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 1222.0
The remainder is 2 after subtracting 6 from 8.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 3

Let's proceed to step 5:
If we divide 25 by 3, we get 8 and a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 12228.0
The remainder is 1 after subtracting 24 from 25.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 3

Going ahead to step 6:
19 divided by 3 is 6 with a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 122286.0
Deduct 18 from 19 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 7:
10 divided by 3 is 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 122286.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.

Moving on to step 8:
The number 3 fits into 10 3 times, leaving a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 122286.33
If we subtract 9 from 10, we 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.

After the division, we end up with 122286.33 and a remainder of 0.001.