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

Let's proceed to step 1:
6 goes into 8 1 times with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 6 from 8 and we're left with 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 6

Let's proceed to step 2:
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: 14.0
The remainder is 3 after subtracting 24 from 27.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 6

Advancing to step 3:
6 can be fit into 34 5 times, resulting in a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 145.0
The remainder is 4 after subtracting 30 from 34.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 6

Advancing 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: 1457.0
The remainder is 5 after subtracting 42 from 47.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 6

Going ahead to step 5:
6 goes into 50 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 14578.0
Subtract 48 from 50 to get 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 6

On to step 6:
29 divided by 6 is 4 with a remainder of 5.
Use 4 as the next digit of our solution. 
Result so far: 145784.0
If we subtract 24 from 29, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
50 divided by 6 is 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 145784.8
Deduct 48 from 50 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
The number 6 fits into 20 3 times, leaving a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 145784.83
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
If we divide 20 by 6, we get 3 and a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 145784.833
Subtracting 18 from 20 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Our division results in 145784.833 with a remaining 0.0002.