Let's divide 887239 by 8
The aim is to understand the frequency of 8 in 887239.

Let's proceed to step 1:
The number 8 fits into 8 1 times, leaving a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 8 from 8, we get 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 8

Step 2:
8 divided by 8 is 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 11.0
Subtracting 8 from 8 leaves us with 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 8

Going ahead to step 3:
The number 8 fits into 7 0 times, leaving a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 110.0
Subtracting 0 from 7 leaves us with 7.
Append the next digit (2) from the dividend to 7 and continue with: 72 / 8

Moving on to step 4:
72 divided by 8 is 9 with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 1109.0
If we subtract 72 from 72, we get 0.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 8

Advancing to step 5:
If we divide 3 by 8, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 11090.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 8

Step 6:
If we divide 39 by 8, we get 4 and a remainder of 7.
Use 4 as the next digit of our solution. 
Result so far: 110904.0
Deduct 32 from 39 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
When dividing 70 by 8, we get 8 with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 110904.8
The remainder is 6 after subtracting 64 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
The number 8 fits into 60 7 times, leaving a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 110904.87
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.

Step 9:
40 divided by 8 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 110904.875
Subtract 40 from 40 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.

Advancing to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 110904.875
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.

Moving on to step 11:
If we divide 0 by 8, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 110904.875
Subtracting 0 from 0 leaves us 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.

The final outcome is 110904.875, with a leftover of 0.0.