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

Going ahead to step 1:
If we divide 8 by 6, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 6 from 8 to get 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 6

Advancing to step 2:
When dividing 27 by 6, we get 4 with a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we subtract 24 from 27, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 6

Step 3:
If we divide 31 by 6, we get 5 and a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 145.0
Subtract 30 from 31 to get 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 6

Moving on to step 4:
6 goes into 14 2 times with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 1452.0
Subtracting 12 from 14 leaves us with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 6

Let's proceed to step 5:
When dividing 25 by 6, we get 4 with a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 14524.0
Deduct 24 from 25 and we're left with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 6

Moving on to step 6:
6 goes into 16 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 145242.0
Deduct 12 from 16 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.

Going ahead to step 7:
40 divided by 6 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 145242.6
If we take 36 away from 40, 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.

Let's proceed to step 8:
When dividing 40 by 6, we get 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 145242.66
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 145242.66, and the remainder is 0.004.