We look at the division of 289917 by 6 
The aim is to understand the frequency of 6 in 289917.

Going ahead to step 1:
The number 6 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 6

Advancing to step 2:
6 goes into 28 4 times with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we take 24 away from 28, we end up with 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 6

Step 3:
The number 6 fits into 49 8 times, leaving a remainder of 1.
The next digit of our result is 8. 
Result so far: 48.0
Subtract 48 from 49 to get 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 6

Let's proceed to step 4:
The number 6 fits into 19 3 times, leaving a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 483.0
If we take 18 away from 19, we end up with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 6

On to step 5:
If we divide 11 by 6, we get 1 and a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 4831.0
If we subtract 6 from 11, we get 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 6

Step 6:
6 can be fit into 57 9 times, resulting in a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 48319.0
Subtracting 54 from 57 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
When dividing 30 by 6, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 48319.5
The remainder is 0 after subtracting 30 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
6 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 48319.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
6 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 48319.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 48319.5, with a leftover of 0.0.