Let's divide 866137 by 6
The aim is to understand the frequency of 6 in 866137.

Step 1:
The number 6 fits into 8 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 6 away from 8, we end up with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 6

Step 2:
If we divide 26 by 6, we get 4 and a remainder of 2.
The next digit of our result is 4. 
Result so far: 14.0
Deduct 24 from 26 and we're left with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 6

Step 3:
26 divided by 6 is 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 144.0
The remainder is 2 after subtracting 24 from 26.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 6

On to step 4:
The number 6 fits into 21 3 times, leaving a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 1443.0
Subtract 18 from 21 to get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 6

Moving on to step 5:
When dividing 33 by 6, we get 5 with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 14435.0
Subtract 30 from 33 to get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 6

Step 6:
The number 6 fits into 37 6 times, leaving a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 144356.0
The remainder is 1 after subtracting 36 from 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
6 goes into 10 1 times with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 144356.1
Subtract 6 from 10 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 144356.16
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.

On to step 9:
6 goes into 40 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 144356.166
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.

Our division results in 144356.166 with a remaining 0.0004.