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

Moving on to step 1:
If we divide 5 by 6, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 6

Step 2:
The number 6 fits into 56 9 times, leaving a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Deduct 54 from 56 and we're left with 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 6

Advancing to step 3:
If we divide 26 by 6, we get 4 and a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 94.0
If we subtract 24 from 26, we get 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 6

Let's proceed to step 4:
The number 6 fits into 23 3 times, leaving a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 943.0
If we subtract 18 from 23, we get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 6

Going ahead to step 5:
When dividing 51 by 6, we get 8 with a remainder of 3.
Record the quotient 8 as the next digit in the result. 
Result so far: 9438.0
Subtract 48 from 51 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 6

Moving on to step 6:
When dividing 31 by 6, we get 5 with a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 94385.0
The remainder is 1 after subtracting 30 from 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
6 can be fit into 10 1 times, resulting in a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 94385.1
If we take 6 away from 10, 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.

Moving on to step 8:
40 divided by 6 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 94385.16
If we subtract 36 from 40, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
When dividing 40 by 6, we get 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 94385.166
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 94385.166, with a leftover of 0.0004.