Let's divide 580319 by 6
The aim is to understand the frequency of 6 in 580319.

On to step 1:
The number 6 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 6

On to step 2:
When dividing 58 by 6, we get 9 with a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Deduct 54 from 58 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 6

On to step 3:
The number 6 fits into 40 6 times, leaving a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 96.0
The remainder is 4 after subtracting 36 from 40.
Bring next digit (3) of the dividend behind the 4 and repeat the process: 43 / 6

On to step 4:
6 can be fit into 43 7 times, resulting in a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 967.0
Subtract 42 from 43 to get 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 6

On to step 5:
6 can be fit into 11 1 times, resulting in a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 9671.0
If we take 6 away from 11, we end up with 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 6

Step 6:
6 can be fit into 59 9 times, resulting in a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 96719.0
Deduct 54 from 59 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
The number 6 fits into 50 8 times, leaving a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 96719.8
Deduct 48 from 50 and we're left 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.

On to step 8:
The number 6 fits into 20 3 times, leaving a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 96719.83
Subtracting 18 from 20 leaves us 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.

Let's proceed to step 9:
6 goes into 20 3 times with a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 96719.833
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 96719.833 with a remainder of 0.0002.