987628 ÷ 6 
The aim is to understand the frequency of 6 in 987628.

Advancing to step 1:
9 divided by 6 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 6 away from 9, we end up with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 6

Let's proceed to step 2:
The number 6 fits into 38 6 times, leaving a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 16.0
Deduct 36 from 38 and we're left with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 6

Step 3:
The number 6 fits into 27 4 times, leaving a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 164.0
Deduct 24 from 27 and we're left with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 6

Step 4:
When dividing 36 by 6, we get 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 1646.0
Subtracting 36 from 36 leaves us with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 6

On to step 5:
The number 6 fits into 2 0 times, leaving a remainder of 2.
The next digit of our result is 0. 
Result so far: 16460.0
The remainder is 2 after subtracting 0 from 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 6

Moving on to step 6:
If we divide 28 by 6, we get 4 and a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 164604.0
Subtract 24 from 28 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.

Step 7:
6 can be fit into 40 6 times, resulting in a remainder of 4.
The next digit of our result is 6. 
Result so far: 164604.6
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.

Moving on to step 8:
6 goes into 40 6 times with a remainder of 4.
The next digit of our result is 6. 
Result so far: 164604.66
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 final outcome is 164604.66, with a leftover of 0.004.