We divide 988717 by 6
The aim is to understand the frequency of 6 in 988717.

Advancing to step 1:
If we divide 9 by 6, we get 1 and a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 6 from 9 leaves us with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 6

Moving on to step 2:
If we divide 38 by 6, we get 6 and a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 16.0
Subtracting 36 from 38 leaves us with 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 6

Advancing to step 3:
28 divided by 6 is 4 with a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 164.0
If we subtract 24 from 28, we get 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 6

Going ahead to step 4:
47 divided by 6 is 7 with a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 1647.0
If we take 42 away from 47, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 6

Let's proceed to step 5:
When dividing 51 by 6, we get 8 with a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 16478.0
Subtract 48 from 51 to get 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 6

Let's proceed to step 6:
If we divide 37 by 6, we get 6 and a remainder of 1.
The number 6 becomes the next digit in our result. 
Result so far: 164786.0
If we take 36 away from 37, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
The number 6 fits into 10 1 times, leaving a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 164786.1
Subtracting 6 from 10 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.

Advancing to step 8:
40 divided by 6 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 164786.16
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 9:
The number 6 fits into 40 6 times, leaving a remainder of 4.
The next digit of our result is 6. 
Result so far: 164786.166
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.

The quotient of the division is 164786.166, and the remainder is 0.0004.