We're dividing 998632 by 6 
The aim is to understand the frequency of 6 in 998632.

Advancing to step 1:
9 divided by 6 is 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 6 away from 9, we end up with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 6

Step 2:
If we divide 39 by 6, we get 6 and a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 16.0
If we subtract 36 from 39, we get 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 6

Moving on to step 3:
6 can be fit into 38 6 times, resulting in a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 166.0
If we take 36 away from 38, we end up with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 6

Moving on to step 4:
If we divide 26 by 6, we get 4 and a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 1664.0
Deduct 24 from 26 and we're left with 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 6

On to step 5:
23 divided by 6 is 3 with a remainder of 5.
The next digit of our result is 3. 
Result so far: 16643.0
If we subtract 18 from 23, we get 5.
Fetch the next digit (2) from the dividend, attach it to 5 and continue: 52 / 6

Advancing to step 6:
When dividing 52 by 6, we get 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 166438.0
If we take 48 away from 52, 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.

Advancing to step 7:
If we divide 40 by 6, we get 6 and a remainder of 4.
The next digit of our result is 6. 
Result so far: 166438.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:
6 goes into 40 6 times with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 166438.66
Deduct 36 from 40 and we're left 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.

After the division, we end up with 166438.66 and a remainder of 0.004.