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

Moving on to step 1:
8 divided by 8 is 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 8 from 8 to get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 8

Let's proceed 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
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 8

Let's proceed to step 3:
79 divided by 8 is 9 with a remainder of 7.
The number 9 becomes the next digit in our result. 
Result so far: 109.0
The remainder is 7 after subtracting 72 from 79.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 8

Step 4:
The number 8 fits into 78 9 times, leaving a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 1099.0
Subtracting 72 from 78 leaves us with 6.
Take the next digit (9) from the dividend and append it to 6, then repeat: 69 / 8

Let's proceed to step 5:
8 can be fit into 69 8 times, resulting in a remainder of 5.
Write down 8 as next digit of the result. 
Result so far: 10998.0
If we subtract 64 from 69, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 6:
8 can be fit into 50 6 times, resulting in a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 10998.6
Subtracting 48 from 50 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
When dividing 20 by 8, we get 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 10998.62
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.

Let's proceed to step 8:
When dividing 40 by 8, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 10998.625
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 9:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 10998.625
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.

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

The final result is 10998.625 with a remainder of 0.0.