We divide 874137 by 8
The aim is to understand the frequency of 8 in 874137.

Step 1:
When dividing 8 by 8, we get 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 8 from 8 leaves us with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 8

Step 2:
When dividing 7 by 8, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 7 after subtracting 0 from 7.
Append the next digit (4) from the dividend to 7 and continue with: 74 / 8

Going ahead to step 3:
8 goes into 74 9 times with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 109.0
Deduct 72 from 74 and we're left with 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 8

Going ahead to step 4:
When dividing 21 by 8, we get 2 with a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 1092.0
If we take 16 away from 21, we end up with 5.
Append the next digit (3) from the dividend to 5 and continue with: 53 / 8

Step 5:
If we divide 53 by 8, we get 6 and a remainder of 5.
Record the quotient 6 as the next digit in the result. 
Result so far: 10926.0
If we subtract 48 from 53, we get 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 8

On to step 6:
8 goes into 57 7 times with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 109267.0
Subtract 56 from 57 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
10 divided by 8 is 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 109267.1
If we subtract 8 from 10, we 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.

On to step 8:
20 divided by 8 is 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 109267.12
Subtract 16 from 20 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.

On to step 9:
8 goes into 40 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 109267.125
The remainder is 0 after subtracting 40 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 10:
8 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 109267.125
Deduct 0 from 0 and we're left 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.

On to step 11:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 109267.125
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 109267.125 with a balance of 0.0.