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

Let's proceed to step 1:
The number 3 fits into 3 1 times, leaving 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.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 3

Moving on to step 2:
3 goes into 3 1 times with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we take 3 away from 3, we end up with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 3

Step 3:
3 goes into 5 1 times with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 111.0
If we take 3 away from 5, we end up with 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 3

Advancing to step 4:
3 goes into 22 7 times with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 1117.0
Subtract 21 from 22 to get 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 3

Let's proceed to step 5:
3 can be fit into 11 3 times, resulting in a remainder of 2.
The next digit of our result is 3. 
Result so far: 11173.0
Deduct 9 from 11 and we're left with 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 3

Let's proceed to step 6:
3 can be fit into 27 9 times, resulting in a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 111739.0
If we subtract 27 from 27, 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.

On to step 7:
3 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 111739.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.

On to step 8:
If we divide 0 by 3, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 111739.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.

In conclusion, the division gives 111739.0 with a balance of 0.0.