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

On to step 1:
8 goes into 8 1 times with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 0 after subtracting 8 from 8.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 8

Moving on to 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
Subtracting 0 from 7 leaves us with 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 8

Step 3:
When dividing 78 by 8, we get 9 with a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 109.0
The remainder is 6 after subtracting 72 from 78.
Grab the next digit (5) from the dividend, add it to 6, then carry on: 65 / 8

Let's proceed to step 4:
8 goes into 65 8 times with a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 1098.0
If we take 64 away from 65, we end up with 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 8

On to step 5:
When dividing 14 by 8, we get 1 with a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 10981.0
Subtract 8 from 14 to get 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 8

Going ahead to step 6:
68 divided by 8 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 109818.0
If we take 64 away from 68, 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.

Advancing to step 7:
When dividing 40 by 8, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 109818.5
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.

Advancing to step 8:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 109818.5
If we subtract 0 from 0, we 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.

Let's proceed to step 9:
If we divide 0 by 8, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 109818.5
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.

Our division results in 109818.5 with a remaining 0.0.