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

Let's proceed to step 1:
3 divided by 6 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 6

Advancing to step 2:
6 goes into 31 5 times with a remainder of 1.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 30 from 31 leaves us with 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 6

On to step 3:
The number 6 fits into 19 3 times, leaving a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 53.0
Subtracting 18 from 19 leaves us with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 6

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

Let's proceed to step 5:
6 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 5330.0
If we subtract 0 from 5, we get 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 6

Advancing to step 6:
6 goes into 58 9 times with a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 53309.0
Subtract 54 from 58 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.

Let's proceed to step 7:
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: 53309.6
Subtracting 36 from 40 leaves us 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.

Going ahead to step 8:
40 divided by 6 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 53309.66
Subtracting 36 from 40 leaves us 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.

The quotient of the division is 53309.66, and the remainder is 0.004.