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

Step 1:
6 goes into 8 1 times with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 6 from 8, we get 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 6

Going ahead to step 2:
When dividing 27 by 6, we get 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 14.0
The remainder is 3 after subtracting 24 from 27.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 6

On to step 3:
If we divide 30 by 6, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 145.0
Deduct 30 from 30 and we're left with 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 6

Advancing to step 4:
4 divided by 6 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 1450.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 6

Step 5:
If we divide 49 by 6, we get 8 and a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 14508.0
Subtract 48 from 49 to get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 6

Step 6:
6 can be fit into 11 1 times, resulting in a remainder of 5.
The next digit of our result is 1. 
Result so far: 145081.0
If we take 6 away from 11, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
50 divided by 6 is 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 145081.8
The remainder is 2 after subtracting 48 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
When dividing 20 by 6, we get 3 with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 145081.83
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 9:
6 goes into 20 3 times with a remainder of 2.
The next digit of our result is 3. 
Result so far: 145081.833
The remainder is 2 after subtracting 18 from 20.
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 145081.833 with a remaining 0.0002.