Let's divide 8788986 by 877
The aim is to understand the frequency of 877 in 8788986.

Advancing to step 1:
877 can be fit into 8 0 times, resulting in a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 877

Let's proceed to step 2:
87 divided by 877 is 0 with a remainder of 87.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 87 and we're left with 87.
Take the next digit (8) from the dividend and append it to 87, then repeat: 878 / 877

Step 3:
If we divide 878 by 877, we get 1 and a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 877 from 878 leaves us with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 877

Step 4:
877 goes into 18 0 times with a remainder of 18.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Deduct 0 from 18 and we're left with 18.
Take the next digit (9) from the dividend and append it to 18, then repeat: 189 / 877

On to step 5:
The number 877 fits into 189 0 times, leaving a remainder of 189.
The number 0 becomes the next digit in our result. 
Result so far: 100.0
If we take 0 away from 189, we end up with 189.
Append the next digit (8) from the dividend to 189 and continue with: 1898 / 877

Advancing to step 6:
877 goes into 1898 2 times with a remainder of 144.
Put 2 as the next digit of the answer. 
Result so far: 1002.0
Subtract 1754 from 1898 to get 144.
Include the next digit (6) from the dividend after 144, then repeat: 1446 / 877

Let's proceed to step 7:
1446 divided by 877 is 1 with a remainder of 569.
The next digit of our result is 1. 
Result so far: 10021.0
If we subtract 877 from 1446, we get 569.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5690, and continue the process.

Moving on to step 8:
When dividing 5690 by 877, we get 6 with a remainder of 428.
The next digit of our result is 6. 
Result so far: 10021.6
If we subtract 5262 from 5690, we get 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Moving on to step 9:
The number 877 fits into 4280 4 times, leaving a remainder of 772.
Write down 4 as next digit of the result. 
Result so far: 10021.64
Subtract 3508 from 4280 to get 772.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7720, and continue the process.

Going ahead to step 10:
7720 divided by 877 is 8 with a remainder of 704.
The number 8 becomes the next digit in our result. 
Result so far: 10021.648
Subtracting 7016 from 7720 leaves us with 704.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7040, and continue the process.

Step 11:
877 goes into 7040 8 times with a remainder of 24.
The next digit of our result is 8. 
Result so far: 10021.6488
Subtracting 7016 from 7040 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final result is 10021.6488 with a remainder of 0.00024.