We look at the division of 321778 by 6 
The aim is to understand the frequency of 6 in 321778.

Step 1:
6 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 6

Moving on to step 2:
6 goes into 32 5 times with a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtracting 30 from 32 leaves us with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 6

On to step 3:
6 can be fit into 21 3 times, resulting in a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 53.0
The remainder is 3 after subtracting 18 from 21.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 6

Step 4:
37 divided by 6 is 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 536.0
The remainder is 1 after subtracting 36 from 37.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 6

Moving on to step 5:
The number 6 fits into 17 2 times, leaving a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 5362.0
The remainder is 5 after subtracting 12 from 17.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 6

Step 6:
When dividing 58 by 6, we get 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 53629.0
The remainder is 4 after subtracting 54 from 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
6 goes into 40 6 times with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 53629.6
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 8:
6 goes into 40 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 53629.66
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

In conclusion, the division gives 53629.66 with a balance of 0.004.