339479 divided by 6 
The aim is to understand the frequency of 6 in 339479.

On to step 1:
The number 6 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (3) of the dividend behind the 3 and repeat the process: 33 / 6

Going ahead to step 2:
When dividing 33 by 6, we get 5 with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 30 away from 33, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 6

Step 3:
When dividing 39 by 6, we get 6 with a remainder of 3.
The next digit of our result is 6. 
Result so far: 56.0
If we subtract 36 from 39, we get 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 6

Step 4:
The number 6 fits into 34 5 times, leaving a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 565.0
The remainder is 4 after subtracting 30 from 34.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 6

On to step 5:
If we divide 47 by 6, we get 7 and a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 5657.0
Deduct 42 from 47 and we're left with 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 6

On to step 6:
6 can be fit into 59 9 times, resulting in a remainder of 5.
The next digit of our result is 9. 
Result so far: 56579.0
If we subtract 54 from 59, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
If we divide 50 by 6, we get 8 and a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 56579.8
If we take 48 away from 50, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
20 divided by 6 is 3 with a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 56579.83
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 9:
When dividing 20 by 6, we get 3 with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 56579.833
If we take 18 away from 20, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Our division results in 56579.833 with a remaining 0.0002.