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

Going ahead to step 1:
When dividing 8 by 8, we get 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 8 from 8 and we're left with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 8

Going ahead to step 2:
8 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtract 0 from 7 to get 7.
Fetch the next digit (4) from the dividend, attach it to 7 and continue: 74 / 8

Step 3:
74 divided by 8 is 9 with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 109.0
If we subtract 72 from 74, we get 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 8

Step 4:
If we divide 26 by 8, we get 3 and a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 1093.0
If we take 24 away from 26, we end up with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 8

Going ahead to step 5:
When dividing 26 by 8, we get 3 with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 10933.0
The remainder is 2 after subtracting 24 from 26.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 8

Let's proceed to step 6:
The number 8 fits into 27 3 times, leaving a remainder of 3.
The next digit of our result is 3. 
Result so far: 109333.0
Deduct 24 from 27 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
8 goes into 30 3 times with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 109333.3
If we take 24 away from 30, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
8 goes into 60 7 times with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 109333.37
If we subtract 56 from 60, we 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.

Moving 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: 109333.375
Deduct 40 from 40 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.

Going ahead to step 10:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 109333.375
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 11:
If we divide 0 by 8, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 109333.375
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.

Our division results in 109333.375 with a remaining 0.0.